From 843f9726ab6fd99fe3a2f285e6c85bd2880a275f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 16:26:37 +0000 Subject: add execute command. add string to action class. --- util/epist/actions.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'util/epist/actions.cc') 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) { } -- cgit v1.2.3