Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Menu/TextMenu.hpp

    rd56640 r8f113e  
    1414
    1515#include "Menu/Menu.hpp"
    16 #include "Actions/Action.hpp"
    1716#include "defs.hpp"
    1817
     
    2726{
    2827public:
    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 
    4728  TextMenu(ostream& _outputter, string _title, char _spacer=STD_MENU_TITLE_SPACER,int _length=STD_MENU_LENGTH);
    4829  virtual ~TextMenu();
     
    5132  virtual void removeItem(MenuItem*);
    5233  virtual void display();
    53   virtual string getTitle();
    5434
    5535  /**
Note: See TracChangeset for help on using the changeset viewer.