Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MenuCommand.h

00001 00030 #include <string> 00031 #include <ostream> 00032 00033 class MenuCommand 00034 { 00035 public: 00036 MenuCommand(const std::string&); 00037 MenuCommand(const MenuCommand&); 00038 virtual ~MenuCommand(); 00039 00040 const std::string& title() const; 00041 std::ostream& operator<<(std::ostream&); 00042 00043 virtual bool execute() = 0; 00044 00045 private: 00046 const std::string _title; 00047 00048 }; 00049