aboutsummaryrefslogtreecommitdiff
path: root/src/WindowCmd.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
commit9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch)
tree4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/WindowCmd.hh
parent1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff)
downloadfluxbox-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.hh2
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
53template <typename ReturnType=void> 53template <typename ReturnType=void>
54class WindowCmd: public WindowCmd_base, public FbTk::Command { 54class WindowCmd: public WindowCmd_base, public FbTk::Command<void> {
55public: 55public:
56 typedef ReturnType (FluxboxWindow::* Action)(); 56 typedef ReturnType (FluxboxWindow::* Action)();
57 WindowCmd(Action a):m_action(a) {} 57 WindowCmd(Action a):m_action(a) {}