Changeset 8d9984 for molecuilder/src/Menu/TextMenu.hpp
- Timestamp:
- Mar 25, 2010, 12:01:27 PM (16 years ago)
- Children:
- c3294f, fe3540
- Parents:
- 521e29
- git-author:
- Tillmann Crueger <crueger@…> (03/25/10 11:59:56)
- git-committer:
- Tillmann Crueger <crueger@…> (03/25/10 12:01:27)
- File:
-
- 1 edited
-
molecuilder/src/Menu/TextMenu.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Menu/TextMenu.hpp
r521e29 r8d9984 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.
