source: molecuilder/src/Menu/SubMenuItem.hpp@ 62e23d

Last change on this file since 62e23d was 62e23d, checked in by Frederik Heber <heber@…>, 16 years ago

Rebuilt SubMenuItem to use inclusion (Strategy pattern) instead of inheritance. Signed-off-by: Tillmann Crueger <crueger@…>

  • Property mode set to 100644
File size: 313 bytes
Line 
1#ifndef SUBMENUITEM_H_
2#define SUBMENUITEM_H_
3
4#include "MenuItem.hpp"
5#include "TextMenu.hpp"
6
7class Menu;
8
9class SubMenuItem : public MenuItem
10{
11public:
12 SubMenuItem(char,const char*,Menu*,Menu*);
13 virtual ~SubMenuItem();
14
15 virtual void doTrigger();
16private:
17 Menu* theMenu;
18};
19
20#endif /* SUBMENUITEM_H_ */
Note: See TracBrowser for help on using the repository browser.