summaryrefslogtreecommitdiff
path: root/util/epist/actions.hh
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-08-06 22:37:06 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-08-06 22:37:06 +0000
commit6d40002093a5d8e665d4f310ea028d22e93e88cb (patch)
tree6a537e4ee4625df1b57a651357e913b8ff71a996 /util/epist/actions.hh
parent00391787e32111fa5c9de606b5edf595846e7513 (diff)
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.
Diffstat (limited to 'util/epist/actions.hh')
-rw-r--r--util/epist/actions.hh8
1 files changed, 3 insertions, 5 deletions
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<Action> ActionList;