aboutsummaryrefslogtreecommitdiff
path: root/src/FocusModelMenuItem.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/FocusModelMenuItem.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/FocusModelMenuItem.hh')
-rw-r--r--src/FocusModelMenuItem.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FocusModelMenuItem.hh b/src/FocusModelMenuItem.hh
index db023f5..d75e8a0 100644
--- a/src/FocusModelMenuItem.hh
+++ b/src/FocusModelMenuItem.hh
@@ -28,7 +28,7 @@
28#include "FbTk/RefCount.hh" 28#include "FbTk/RefCount.hh"
29 29
30namespace FbTk { 30namespace FbTk {
31class Command; 31template <class T> class Command;
32} 32}
33 33
34#include "FocusControl.hh" 34#include "FocusControl.hh"
@@ -37,7 +37,7 @@ class FocusModelMenuItem : public FbTk::MenuItem {
37public: 37public:
38 FocusModelMenuItem(const FbTk::FbString &label, FocusControl &focus_control, 38 FocusModelMenuItem(const FbTk::FbString &label, FocusControl &focus_control,
39 FocusControl::FocusModel model, 39 FocusControl::FocusModel model,
40 FbTk::RefCount<FbTk::Command> &cmd): 40 FbTk::RefCount<FbTk::Command<void> > &cmd):
41 FbTk::MenuItem(label, cmd), 41 FbTk::MenuItem(label, cmd),
42 m_focus_control(focus_control), 42 m_focus_control(focus_control),
43 m_focusmodel(model) { 43 m_focusmodel(model) {
@@ -61,7 +61,7 @@ public:
61 TabFocusModelMenuItem(const FbTk::FbString &label, 61 TabFocusModelMenuItem(const FbTk::FbString &label,
62 FocusControl &focus_control, 62 FocusControl &focus_control,
63 FocusControl::TabFocusModel model, 63 FocusControl::TabFocusModel model,
64 FbTk::RefCount<FbTk::Command> &cmd): 64 FbTk::RefCount<FbTk::Command<void> > &cmd):
65 FbTk::MenuItem(label, cmd), 65 FbTk::MenuItem(label, cmd),
66 m_focus_control(focus_control), 66 m_focus_control(focus_control),
67 m_tabfocusmodel(model) { 67 m_tabfocusmodel(model) {