diff options
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r-- | src/WorkspaceCmd.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh index 7687175..e1727f5 100644 --- a/src/WorkspaceCmd.hh +++ b/src/WorkspaceCmd.hh | |||
@@ -46,6 +46,14 @@ private: | |||
46 | ClientPattern m_pat; | 46 | ClientPattern m_pat; |
47 | }; | 47 | }; |
48 | 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 | }; | ||
56 | |||
49 | class NextWindowCmd: public FbTk::Command { | 57 | class NextWindowCmd: public FbTk::Command { |
50 | public: | 58 | public: |
51 | explicit NextWindowCmd(int option, std::string &pat): | 59 | explicit NextWindowCmd(int option, std::string &pat): |