Changes in src/Menu/TextMenu.hpp [8f113e:d56640]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Menu/TextMenu.hpp
r8f113e rd56640 14 14 15 15 #include "Menu/Menu.hpp" 16 #include "Actions/Action.hpp" 16 17 #include "defs.hpp" 17 18 … … 26 27 { 27 28 public: 29 class LeaveAction : public Action { 30 public: 31 LeaveAction(TextMenu*); 32 virtual ~LeaveAction(); 33 34 bool canUndo(); 35 bool shouldUndo(); 36 37 private: 38 virtual Action::state_ptr performCall(); 39 virtual Action::state_ptr performUndo(Action::state_ptr); 40 virtual Action::state_ptr performRedo(Action::state_ptr); 41 42 TextMenu* menu; 43 44 static const string nameBase; 45 }; 46 28 47 TextMenu(ostream& _outputter, string _title, char _spacer=STD_MENU_TITLE_SPACER,int _length=STD_MENU_LENGTH); 29 48 virtual ~TextMenu(); … … 32 51 virtual void removeItem(MenuItem*); 33 52 virtual void display(); 53 virtual string getTitle(); 34 54 35 55 /**
Note:
See TracChangeset
for help on using the changeset viewer.