aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-01 09:47:41 (GMT)
committerfluxgen <fluxgen>2003-07-01 09:47:41 (GMT)
commit1e097242f948c424585fc087900c8657695ca1fa (patch)
treeeda672bfe17b2431d467586e71bc7b58751d0cbf /src/WorkspaceCmd.hh
parent6ad9158c4f1e1adf1fbb80b205523aa1bc5fe4b7 (diff)
downloadfluxbox-1e097242f948c424585fc087900c8657695ca1fa.zip
fluxbox-1e097242f948c424585fc087900c8657695ca1fa.tar.bz2
added left and right workspace cmd
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r--src/WorkspaceCmd.hh18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh
index cc5702b..8a23bff 100644
--- a/src/WorkspaceCmd.hh
+++ b/src/WorkspaceCmd.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: WorkspaceCmd.hh,v 1.1 2003/06/30 14:38:42 fluxgen Exp $ 23// $Id: WorkspaceCmd.hh,v 1.2 2003/07/01 09:47:41 fluxgen Exp $
24 24
25#ifndef WORKSPACECMD_HH 25#ifndef WORKSPACECMD_HH
26#define WORKSPACECMD_HH 26#define WORKSPACECMD_HH
@@ -52,6 +52,22 @@ public:
52 void execute(); 52 void execute();
53}; 53};
54 54
55class LeftWorkspaceCmd: public FbTk::Command {
56public:
57 explicit LeftWorkspaceCmd(int num=1):m_param(num == 0 ? 1 : num) { }
58 void execute();
59private:
60 const int m_param;
61};
62
63class RightWorkspaceCmd: public FbTk::Command {
64public:
65 explicit RightWorkspaceCmd(int num=1):m_param(num == 0 ? 1 : num) { }
66 void execute();
67private:
68 const int m_param;
69};
70
55class JumpToWorkspaceCmd: public FbTk::Command { 71class JumpToWorkspaceCmd: public FbTk::Command {
56public: 72public:
57 explicit JumpToWorkspaceCmd(int workspace_num); 73 explicit JumpToWorkspaceCmd(int workspace_num);