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/FbCommands.hh | |
parent | 41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff) | |
download | fluxbox_pavel-a59428d67a95a9df16554962f0a6257d6378328a.zip fluxbox_pavel-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2 |
merged changes from pre-devel
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r-- | src/FbCommands.hh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh index 314d339..a049a7c 100644 --- a/src/FbCommands.hh +++ b/src/FbCommands.hh | |||
@@ -29,8 +29,10 @@ | |||
29 | #include "Command.hh" | 29 | #include "Command.hh" |
30 | 30 | ||
31 | #include "FbTk/RefCount.hh" | 31 | #include "FbTk/RefCount.hh" |
32 | #include "FbTk/Menu.hh" | 32 | #include "ClientMenu.hh" |
33 | #include "ClientPattern.hh" | ||
33 | 34 | ||
35 | #include <list> | ||
34 | #include <string> | 36 | #include <string> |
35 | 37 | ||
36 | namespace FbCommands { | 38 | namespace FbCommands { |
@@ -121,6 +123,18 @@ public: | |||
121 | void execute(); | 123 | void execute(); |
122 | }; | 124 | }; |
123 | 125 | ||
126 | class ShowClientMenuCmd: public FbTk::Command { | ||
127 | public: | ||
128 | ShowClientMenuCmd(int option, std::string &pat): | ||
129 | m_option(option), m_pat(pat.c_str()) { } | ||
130 | void execute(); | ||
131 | private: | ||
132 | const int m_option; | ||
133 | const ClientPattern m_pat; | ||
134 | std::list<FluxboxWindow *> m_list; | ||
135 | FbTk::RefCount<ClientMenu> m_menu; | ||
136 | }; | ||
137 | |||
124 | class ShowCustomMenuCmd: public FbTk::Command { | 138 | class ShowCustomMenuCmd: public FbTk::Command { |
125 | public: | 139 | public: |
126 | explicit ShowCustomMenuCmd(const std::string &arguments); | 140 | explicit ShowCustomMenuCmd(const std::string &arguments); |