diff options
Diffstat (limited to 'util/epist/actions.hh')
| -rw-r--r-- | util/epist/actions.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 6ae4e7ff..81b3920c 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -28,6 +28,7 @@ extern "C" { } #include <list> +#include <string> class Action { public: @@ -81,14 +82,18 @@ private: const unsigned int _modifierMask; const int _numberParam; + const std::string _stringParam; public: inline enum ActionType type() const { return _type;} inline const KeyCode keycode() const { return _keycode; } inline const unsigned int modifierMask() const { return _modifierMask; } inline const int number() const { return _numberParam; } + inline const std::string &string() const { return _stringParam; } Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, int number = 0); + Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, + const std::string &str); }; typedef std::list<Action> ActionList; |
