Public Types | |
typedef CommandInfoObject < EditorRoom > | RoomCommand |
The type of a CommandInfoObject for this Editor. | |
Public Member Functions | |
void | OnFocus () |
This function is called whenever this editor becomes the editor that has the focus. | |
std::string | name () |
Returns the name of this editor. | |
std::string | prompt () |
Returns the prompt for this editor. | |
std::string | lookup (const std::string &action) |
Returns the full name of a command of the specified action. | |
void | dispatch (const std::string &action, const std::string &argument) |
Dispatches the specified action with the specified argument. |
Definition at line 29 of file EditorRoom.h.
void EditorRoom::OnFocus | ( | ) | [virtual] |
This function is called whenever this editor becomes the editor that has the focus.
Reimplemented from Editor.
std::string EditorRoom::name | ( | ) | [inline, virtual] |
std::string EditorRoom::prompt | ( | ) | [inline, virtual] |
Returns the prompt for this editor.
Reimplemented from Editor.
Definition at line 41 of file EditorRoom.h.
std::string EditorRoom::lookup | ( | const std::string & | action | ) | [virtual] |
void EditorRoom::dispatch | ( | const std::string & | action, | |
const std::string & | argument | |||
) | [virtual] |