aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.hh
diff options
context:
space:
mode:
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 {