Changes in src/Menu/TextMenu.hpp [d56640:8f113e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Menu/TextMenu.hpp
rd56640 r8f113e 14 14 15 15 #include "Menu/Menu.hpp" 16 #include "Actions/Action.hpp"17 16 #include "defs.hpp" 18 17 … … 27 26 { 28 27 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 47 28 TextMenu(ostream& _outputter, string _title, char _spacer=STD_MENU_TITLE_SPACER,int _length=STD_MENU_LENGTH); 48 29 virtual ~TextMenu(); … … 51 32 virtual void removeItem(MenuItem*); 52 33 virtual void display(); 53 virtual string getTitle();54 34 55 35 /**
Note:
See TracChangeset
for help on using the changeset viewer.