help: show defined action chains
This commit is contained in:
@@ -36,8 +36,8 @@ struct Binding
|
||||
typedef std::vector<Actions::BaseAction *> ActionChain;
|
||||
|
||||
template <typename ArgT>
|
||||
Binding(ArgT &&actions)
|
||||
: m_actions(std::forward<ArgT>(actions)) {
|
||||
Binding(ArgT &&actions_)
|
||||
: m_actions(std::forward<ArgT>(actions_)) {
|
||||
assert(!m_actions.empty());
|
||||
}
|
||||
Binding(Actions::Type at)
|
||||
@@ -58,6 +58,10 @@ struct Binding
|
||||
return m_actions[0];
|
||||
}
|
||||
|
||||
const ActionChain &actions() const {
|
||||
return m_actions;
|
||||
}
|
||||
|
||||
private:
|
||||
ActionChain m_actions;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user