From 6d40002093a5d8e665d4f310ea028d22e93e88cb Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Tue, 6 Aug 2002 22:37:06 +0000 Subject: Big fat merge for epist. This adds a config parser, chaining, and a tonne of other stuff. Still need to fix up build system for the lex and yacc stuff. --- util/epist/actions.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'util/epist/actions.hh') diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 25f1e968..8a7385e1 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -93,8 +93,8 @@ private: const KeyCode _keycode; const unsigned int _modifierMask; - const int _numberParam; - const std::string _stringParam; + int _numberParam; + std::string _stringParam; public: inline enum ActionType type() const { return _type;} inline const KeyCode keycode() const { return _keycode; } @@ -103,9 +103,7 @@ public: 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); + const std::string &str = ""); }; typedef std::list ActionList; -- cgit v1.2.3