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.cc | |
| parent | f32096dcd2c5a4e44763def56c290ce37aa548ba (diff) | |
add execute command. add string to action class.
Diffstat (limited to 'util/epist/actions.cc')
| -rw-r--r-- | util/epist/actions.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util/epist/actions.cc b/util/epist/actions.cc index 493d0215..35ddbb80 100644 --- a/util/epist/actions.cc +++ b/util/epist/actions.cc @@ -23,6 +23,13 @@ #include "actions.hh" Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, - int num): _type(type), _keycode(keycode), - _modifierMask(modifierMask), _numberParam(num) + int num) + : _type(type), _keycode(keycode), + _modifierMask(modifierMask), _numberParam(num) +{ } + +Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, + const std::string &str) + : _type(type), _keycode(keycode), + _modifierMask(modifierMask), _stringParam(str) { } |
