diff options
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r-- | src/WorkspaceCmd.hh | 18 |
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 | ||
55 | class LeftWorkspaceCmd: public FbTk::Command { | ||
56 | public: | ||
57 | explicit LeftWorkspaceCmd(int num=1):m_param(num == 0 ? 1 : num) { } | ||
58 | void execute(); | ||
59 | private: | ||
60 | const int m_param; | ||
61 | }; | ||
62 | |||
63 | class RightWorkspaceCmd: public FbTk::Command { | ||
64 | public: | ||
65 | explicit RightWorkspaceCmd(int num=1):m_param(num == 0 ? 1 : num) { } | ||
66 | void execute(); | ||
67 | private: | ||
68 | const int m_param; | ||
69 | }; | ||
70 | |||
55 | class JumpToWorkspaceCmd: public FbTk::Command { | 71 | class JumpToWorkspaceCmd: public FbTk::Command { |
56 | public: | 72 | public: |
57 | explicit JumpToWorkspaceCmd(int workspace_num); | 73 | explicit JumpToWorkspaceCmd(int workspace_num); |