aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh
index f65869e..bc67610 100644
--- a/src/FbCommands.hh
+++ b/src/FbCommands.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbCommands.hh,v 1.18 2004/03/16 18:44:40 fluxgen Exp $ 22// $Id: FbCommands.hh,v 1.19 2004/04/22 21:12:33 fluxgen Exp $
23 23
24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox 24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox
25 25
@@ -135,4 +135,28 @@ private:
135 const std::string m_keybind; 135 const std::string m_keybind;
136}; 136};
137 137
138/// deiconifies iconified windows
139class DeiconifyCmd: public FbTk::Command {
140public:
141 enum Mode {
142 LAST,
143 LASTWORKSPACE,
144 ALL,
145 ALLWORKSPACE
146 };
147
148 enum Destination {
149 CURRENT, /// deiconification on current workspace
150 ORIGIN, /// deiconification on origin workspace, change to that ws
151 ORIGINQUIET /// deiconification on origin workspace, dont change ws
152 };
153
154 DeiconifyCmd(const Mode mode= LASTWORKSPACE,
155 const Destination dest= CURRENT);
156 void execute();
157private:
158 Mode m_mode;
159 Destination m_dest;
160};
161
138#endif // FBCOMMANDS_HH 162#endif // FBCOMMANDS_HH