diff options
author | markt <markt> | 2007-10-13 21:51:37 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-13 21:51:37 (GMT) |
commit | a59428d67a95a9df16554962f0a6257d6378328a (patch) | |
tree | f856ed9300c34f7a17d499f22d895610cfbc08e5 /src/WorkspaceCmd.hh | |
parent | 41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff) | |
download | fluxbox_pavel-a59428d67a95a9df16554962f0a6257d6378328a.zip fluxbox_pavel-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2 |
merged changes from pre-devel
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r-- | src/WorkspaceCmd.hh | 59 |
1 files changed, 52 insertions, 7 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh index 31a6ea4..8053dc9 100644 --- a/src/WorkspaceCmd.hh +++ b/src/WorkspaceCmd.hh | |||
@@ -26,23 +26,73 @@ | |||
26 | #define WORKSPACECMD_HH | 26 | #define WORKSPACECMD_HH |
27 | #include "Command.hh" | 27 | #include "Command.hh" |
28 | 28 | ||
29 | #include "ClientPattern.hh" | ||
30 | #include "CurrentWindowCmd.hh" | ||
29 | #include "FocusControl.hh" | 31 | #include "FocusControl.hh" |
30 | 32 | ||
33 | #include "FbTk/RefCount.hh" | ||
34 | |||
35 | class WindowHelperCmd; | ||
36 | |||
37 | class WindowListCmd: public FbTk::Command { | ||
38 | public: | ||
39 | WindowListCmd(FbTk::RefCount<WindowHelperCmd> cmd, const std::string &pat): | ||
40 | m_cmd(cmd), m_pat(pat.c_str()) { } | ||
41 | |||
42 | void execute(); | ||
43 | |||
44 | private: | ||
45 | FbTk::RefCount<WindowHelperCmd> m_cmd; | ||
46 | ClientPattern m_pat; | ||
47 | }; | ||
48 | |||
49 | class AttachCmd: public FbTk::Command { | ||
50 | public: | ||
51 | explicit AttachCmd(const std::string &pat): m_pat(pat.c_str()) { } | ||
52 | void execute(); | ||
53 | private: | ||
54 | const ClientPattern m_pat; | ||
55 | }; | ||
31 | 56 | ||
32 | class NextWindowCmd: public FbTk::Command { | 57 | class NextWindowCmd: public FbTk::Command { |
33 | public: | 58 | public: |
34 | explicit NextWindowCmd(int option):m_option(option) { } | 59 | explicit NextWindowCmd(int option, std::string &pat): |
60 | m_option(option), m_pat(pat.c_str()) { } | ||
35 | void execute(); | 61 | void execute(); |
36 | private: | 62 | private: |
37 | const int m_option; | 63 | const int m_option; |
64 | const ClientPattern m_pat; | ||
38 | }; | 65 | }; |
39 | 66 | ||
40 | class PrevWindowCmd: public FbTk::Command { | 67 | class PrevWindowCmd: public FbTk::Command { |
41 | public: | 68 | public: |
42 | explicit PrevWindowCmd(int option):m_option(option) { } | 69 | explicit PrevWindowCmd(int option, std::string &pat): |
70 | m_option(option), m_pat(pat.c_str()) { } | ||
43 | void execute(); | 71 | void execute(); |
44 | private: | 72 | private: |
45 | const int m_option; | 73 | const int m_option; |
74 | const ClientPattern m_pat; | ||
75 | }; | ||
76 | |||
77 | class TypeAheadFocusCmd: public FbTk::Command { | ||
78 | public: | ||
79 | explicit TypeAheadFocusCmd(int option, std::string &pat): | ||
80 | m_option(option), m_pat(pat.c_str()) { } | ||
81 | void execute(); | ||
82 | private: | ||
83 | const int m_option; | ||
84 | const ClientPattern m_pat; | ||
85 | }; | ||
86 | |||
87 | class GoToWindowCmd: public FbTk::Command { | ||
88 | public: | ||
89 | GoToWindowCmd(int num, int option, std::string &pat): | ||
90 | m_num(num), m_option(option), m_pat(pat.c_str()) { } | ||
91 | void execute(); | ||
92 | private: | ||
93 | const int m_num; | ||
94 | const int m_option; | ||
95 | const ClientPattern m_pat; | ||
46 | }; | 96 | }; |
47 | 97 | ||
48 | class DirFocusCmd: public FbTk::Command { | 98 | class DirFocusCmd: public FbTk::Command { |
@@ -114,11 +164,6 @@ public: | |||
114 | void execute(); | 164 | void execute(); |
115 | }; | 165 | }; |
116 | 166 | ||
117 | class MinimizeLayerCmd: public FbTk::Command { | ||
118 | public: | ||
119 | void execute(); | ||
120 | }; | ||
121 | |||
122 | class CloseAllWindowsCmd: public FbTk::Command { | 167 | class CloseAllWindowsCmd: public FbTk::Command { |
123 | public: | 168 | public: |
124 | void execute(); | 169 | void execute(); |