diff options
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r-- | src/WorkspaceCmd.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh index ae0b577..b118d02 100644 --- a/src/WorkspaceCmd.hh +++ b/src/WorkspaceCmd.hh | |||
@@ -217,4 +217,15 @@ public: | |||
217 | void execute(); | 217 | void execute(); |
218 | }; | 218 | }; |
219 | 219 | ||
220 | class RelabelButtonCmd: public FbTk::Command<void> { | ||
221 | public: | ||
222 | explicit RelabelButtonCmd(std::string button, std::string label): | ||
223 | m_button(button), m_label(label) {} | ||
224 | void execute(); | ||
225 | static FbTk::Command<void> *parse(const std::string &command, | ||
226 | const std::string &args, bool trusted); | ||
227 | private: | ||
228 | std::string m_button, m_label; | ||
229 | }; | ||
230 | |||
220 | #endif // WORKSPACECMD_HH | 231 | #endif // WORKSPACECMD_HH |