aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-13 21:51:37 (GMT)
committermarkt <markt>2007-10-13 21:51:37 (GMT)
commita59428d67a95a9df16554962f0a6257d6378328a (patch)
treef856ed9300c34f7a17d499f22d895610cfbc08e5 /src/FbCommands.hh
parent41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff)
downloadfluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip
fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2
merged changes from pre-devel
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh16
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
36namespace FbCommands { 38namespace FbCommands {
@@ -121,6 +123,18 @@ public:
121 void execute(); 123 void execute();
122}; 124};
123 125
126class ShowClientMenuCmd: public FbTk::Command {
127public:
128 ShowClientMenuCmd(int option, std::string &pat):
129 m_option(option), m_pat(pat.c_str()) { }
130 void execute();
131private:
132 const int m_option;
133 const ClientPattern m_pat;
134 std::list<FluxboxWindow *> m_list;
135 FbTk::RefCount<ClientMenu> m_menu;
136};
137
124class ShowCustomMenuCmd: public FbTk::Command { 138class ShowCustomMenuCmd: public FbTk::Command {
125public: 139public:
126 explicit ShowCustomMenuCmd(const std::string &arguments); 140 explicit ShowCustomMenuCmd(const std::string &arguments);