X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Factions.hh;h=81b3920c9a6011509ddd8d47ed249e90d7569a75;hb=843f9726ab6fd99fe3a2f285e6c85bd2880a275f;hp=f95f007b3c65cb77ee71d56e9fec49c75ca1b31c;hpb=6a8f5f44e123c9ade7964e2051dd0d6a9858961c;p=chaz%2Fopenbox diff --git a/util/epist/actions.hh b/util/epist/actions.hh index f95f007b..81b3920c 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -28,6 +28,7 @@ extern "C" { } #include +#include class Action { public: @@ -46,7 +47,7 @@ public: moveWindowLeft, moveWindowRight, - sendTo, //done + sendToWorkspace, //done nextWindow, //done for now prevWindow, //done for now @@ -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;