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.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util/epist/actions.hh') 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 +#include 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 ActionList; -- cgit v1.2.3