Go to the documentation of this file.
32 #ifndef TTA_GUI_COMMAND_HH
33 #define TTA_GUI_COMMAND_HH
53 virtual int id()
const = 0;
67 virtual bool Do() = 0;
81 virtual std::string
icon()
const = 0;
87 std::string
name()
const;
void setParentWindow(wxWindow *view)
virtual bool isEnabled()=0
std::string name_
Name of the command.
virtual bool isChecked() const
wxWindow * parent_
Parent window of the command.
GUICommand(std::string name, wxWindow *parent)
virtual std::string icon() const =0
virtual GUICommand * create() const =0
virtual int id() const =0
wxWindow * parentWindow() const
virtual std::string shortName() const