actions: make ActionType enum class

This commit is contained in:
Andrzej Rybczak
2012-10-06 18:35:45 +02:00
parent 3bd02f6abf
commit 97555c4c3d
7 changed files with 433 additions and 433 deletions

View File

@@ -74,7 +74,7 @@ struct Binding
{
typedef std::vector<Actions::BaseAction *> ActionChain;
Binding(ActionType at) : m_is_single(true), m_action(Actions::get(at)) { }
Binding(Actions::Type at) : m_is_single(true), m_action(Actions::get(at)) { }
Binding(const ActionChain &actions) {
assert(actions.size() > 0);
if (actions.size() == 1) {