Classes | Namespaces

editor/action/action_base.hpp File Reference

Base class for editor actions. More...

#include "../editor_common.hpp"
#include "../editor_common.hpp"
Include dependency graph for action_base.hpp:
This graph shows which files directly or indirectly include this file:

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

namespace  editor
 

Manage the empty-palette in the editor.



Detailed Description

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Tue May 22 2012 01:05:21 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs