X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Factions.hh;h=81b3920c9a6011509ddd8d47ed249e90d7569a75;hb=843f9726ab6fd99fe3a2f285e6c85bd2880a275f;hp=6506f0e729055586d22b318c8eb6e3f3bbe34cf1;hpb=c6234a4de0263828e89e3b8812cbb93e72d13ffc;p=chaz%2Fopenbox diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 6506f0e7..81b3920c 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -28,6 +28,7 @@ extern "C" { } #include +#include class Action { public: @@ -40,18 +41,23 @@ public: lower, //done close, //done toggleshade, //done + toggleomnipresent, //done moveWindowUp, moveWindowDown, moveWindowLeft, moveWindowRight, + sendToWorkspace, //done + nextWindow, //done for now prevWindow, //done for now - nextWindowOnAllWorkspaces, - prevWindowOnAllWorkspaces, + nextWindowOnAllWorkspaces, //done + prevWindowOnAllWorkspaces, //done - nextWindowOfClass, - prevWindowOfClass, + nextWindowOfClass, //done + prevWindowOfClass, //done + nextWindowOfClassOnAllWorkspaces, //done + prevWindowOfClassOnAllWorkspaces, //done changeWorkspace, //done nextWorkspace, //done @@ -76,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;