diff options
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 157855c..5d381a2 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -247,6 +247,17 @@ private: | |||
247 | int m_relative, m_un_relative; | 247 | int m_relative, m_un_relative; |
248 | }; | 248 | }; |
249 | 249 | ||
250 | class SetLayerCmd: public WindowHelperCmd { | ||
251 | public: | ||
252 | explicit SetLayerCmd(int layer): m_layer(layer) { } | ||
253 | static FbTk::Command<void> *parse(const std::string &command, | ||
254 | const std::string &args, bool trusted); | ||
255 | protected: | ||
256 | void real_execute(); | ||
257 | private: | ||
258 | int m_layer; | ||
259 | }; | ||
260 | |||
250 | class MatchCmd: public WindowHelperBoolCmd { | 261 | class MatchCmd: public WindowHelperBoolCmd { |
251 | public: | 262 | public: |
252 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; | 263 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; |