diff options
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 6e17566..0ef7eca 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -96,6 +96,34 @@ private: | |||
96 | const int m_workspace_num; | 96 | const int m_workspace_num; |
97 | }; | 97 | }; |
98 | 98 | ||
99 | class TakeToWorkspaceCmd : public WindowHelperCmd { | ||
100 | public: | ||
101 | explicit TakeToWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
102 | protected: | ||
103 | void real_execute(); | ||
104 | private: | ||
105 | const int m_workspace_num; | ||
106 | }; | ||
107 | |||
108 | class TakeToNextWorkspaceCmd : public WindowHelperCmd { | ||
109 | public: | ||
110 | explicit TakeToNextWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
111 | protected: | ||
112 | void real_execute(); | ||
113 | private: | ||
114 | const int m_workspace_num; | ||
115 | }; | ||
116 | |||
117 | class TakeToPrevWorkspaceCmd : public WindowHelperCmd { | ||
118 | public: | ||
119 | explicit TakeToPrevWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
120 | protected: | ||
121 | void real_execute(); | ||
122 | private: | ||
123 | const int m_workspace_num; | ||
124 | }; | ||
125 | |||
126 | |||
99 | // goto tab | 127 | // goto tab |
100 | class GoToTabCmd: public WindowHelperCmd { | 128 | class GoToTabCmd: public WindowHelperCmd { |
101 | public: | 129 | public: |