diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
commit | 9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch) | |
tree | 4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/WindowCmd.hh | |
parent | 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff) | |
download | fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2 |
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/WindowCmd.hh')
-rw-r--r-- | src/WindowCmd.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WindowCmd.hh b/src/WindowCmd.hh index 2272283..f979f2b 100644 --- a/src/WindowCmd.hh +++ b/src/WindowCmd.hh | |||
@@ -51,7 +51,7 @@ protected: | |||
51 | 51 | ||
52 | /// executes action for a dynamic context set in WindowCmd_base | 52 | /// executes action for a dynamic context set in WindowCmd_base |
53 | template <typename ReturnType=void> | 53 | template <typename ReturnType=void> |
54 | class WindowCmd: public WindowCmd_base, public FbTk::Command { | 54 | class WindowCmd: public WindowCmd_base, public FbTk::Command<void> { |
55 | public: | 55 | public: |
56 | typedef ReturnType (FluxboxWindow::* Action)(); | 56 | typedef ReturnType (FluxboxWindow::* Action)(); |
57 | WindowCmd(Action a):m_action(a) {} | 57 | WindowCmd(Action a):m_action(a) {} |