The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Typedefs | Variables
editor_common.hpp File Reference

Main (common) editor header. More...

#include "exceptions.hpp"
#include "log.hpp"
#include <deque>
#include <memory>
Include dependency graph for editor_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  editor::editor_exception
struct  editor::editor_logic_exception


 Manage the empty-palette in the editor.


#define DBG_ED   LOG_STREAM_INDENT(debug, log_editor)
#define LOG_ED   LOG_STREAM_INDENT(info, log_editor)
#define WRN_ED   LOG_STREAM_INDENT(warn, log_editor)
#define ERR_ED   LOG_STREAM_INDENT(err, log_editor)
#define SCOPE_ED   log_scope2(log_editor, __func__)


using editor::editor_action_ptr = std::unique_ptr< editor_action >
 Action pointer typedef. More...
using editor::action_stack = std::deque< editor_action_ptr >
 Action stack typedef. More...


lg::log_domain log_editor

Detailed Description

Main (common) editor header.

Contains forward declarations for most classes, logging macro definitions and base exception declarations

Definition in file editor_common.hpp.

Macro Definition Documentation

#define DBG_ED   LOG_STREAM_INDENT(debug, log_editor)
#define ERR_ED   LOG_STREAM_INDENT(err, log_editor)
#define LOG_ED   LOG_STREAM_INDENT(info, log_editor)
#define SCOPE_ED   log_scope2(log_editor, __func__)

Definition at line 34 of file editor_common.hpp.

Referenced by editor::editor_controller::execute_command().

#define WRN_ED   LOG_STREAM_INDENT(warn, log_editor)

Variable Documentation

lg::log_domain log_editor