aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.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/FbTk/Menu.hh
parent1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff)
downloadfluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip
fluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r--src/FbTk/Menu.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 2f37234..4ebab83 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -38,7 +38,7 @@
38 38
39namespace FbTk { 39namespace FbTk {
40 40
41class Command; 41class Command<class T>;
42class MenuItem; 42class MenuItem;
43class ImageControl; 43class ImageControl;
44class RefCount<class T>; 44class RefCount<class T>;
@@ -63,7 +63,7 @@ public:
63 */ 63 */
64 //@{ 64 //@{
65 /// add a menu item with a label and a command 65 /// add a menu item with a label and a command
66 int insert(const FbString &label, RefCount<Command> &cmd, int pos=-1); 66 int insert(const FbString &label, RefCount<Command<void> > &cmd, int pos=-1);
67 /// add empty menu item 67 /// add empty menu item
68 int insert(const FbString &label, int pos=-1); 68 int insert(const FbString &label, int pos=-1);
69 /// add submenu 69 /// add submenu