aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-20 20:23:56 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-20 20:23:56 (GMT)
commit03dce043b78103a977bd6c48b81bb1b462aaac5f (patch)
tree6cc49956acf8c4049f7d6702058534d29c1c15c2 /src/WorkspaceCmd.hh
parentb90a7e21a9f56f8e9f92c7ec357cbf683e6fd712 (diff)
downloadfluxbox_pavel-03dce043b78103a977bd6c48b81bb1b462aaac5f.zip
fluxbox_pavel-03dce043b78103a977bd6c48b81bb1b462aaac5f.tar.bz2
added ForEach key command
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r--src/WorkspaceCmd.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh
index fa8cb58..13adec3 100644
--- a/src/WorkspaceCmd.hh
+++ b/src/WorkspaceCmd.hh
@@ -36,14 +36,18 @@
36 36
37class WindowListCmd: public FbTk::Command { 37class WindowListCmd: public FbTk::Command {
38public: 38public:
39 WindowListCmd(FbTk::RefCount<FbTk::Command> cmd, const std::string &pat): 39 WindowListCmd(FbTk::RefCount<FbTk::Command> cmd, int opts,
40 m_cmd(cmd), m_pat(pat.c_str()) { } 40 FbTk::RefCount<FbTk::BoolCommand> filter):
41 m_cmd(cmd), m_opts(opts), m_filter(filter) { }
41 42
42 void execute(); 43 void execute();
44 static FbTk::Command *parse(const std::string &command,
45 const std::string &args, bool trusted);
43 46
44private: 47private:
45 FbTk::RefCount<FbTk::Command> m_cmd; 48 FbTk::RefCount<FbTk::Command> m_cmd;
46 ClientPattern m_pat; 49 int m_opts;
50 FbTk::RefCount<FbTk::BoolCommand> m_filter;
47}; 51};
48 52
49class SomeCmd: public FbTk::BoolCommand { 53class SomeCmd: public FbTk::BoolCommand {