diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 16:26:37 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 16:26:37 +0000 |
| commit | 843f9726ab6fd99fe3a2f285e6c85bd2880a275f (patch) | |
| tree | 201a1ece1d918d814ce22e47764b389cf23c025c /util/epist/actions.hh | |
| parent | f32096dcd2c5a4e44763def56c290ce37aa548ba (diff) | |
add execute command. add string to action class.
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; |
