X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Factions.hh;h=8a7385e11b1e5b415174f4c57eb32e8d96add72c;hb=616fa39a1609809cecc628627139b8a96eef2989;hp=25f1e9685d220fd4a43b72148167ad7542646a20;hpb=28594da6de001f1d8b6b975286032302db3a6491;p=chaz%2Fopenbox 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;