Base class for editor actions. More...
#include "editor/editor_common.hpp"
Go to the source code of this file.
Classes | |
class | editor::editor_action |
Base class for all editor actions. More... | |
struct | editor::editor_action_exception |
Namespaces | |
editor | |
Manage the empty-palette in the editor. | |
Macros | |
#define | IMPLEMENT_ACTION(id) |
Helper macro to implement common action methods. More... | |
Base class for editor actions.
An action is constructed in response to a user command, then executed on the map. An undo action is returned by default via pointer, caller-owned). It is possible to call an action without creating the undo action. Actions report failure via exceptions. Code that only deals with actions polymorphically should only need to include this header file.
Definition in file action_base.hpp.
#define IMPLEMENT_ACTION | ( | id | ) |
Helper macro to implement common action methods.
Definition at line 125 of file action_base.hpp.