The Battle for Wesnoth  1.19.1+dev
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::action_stack = std::deque< std::unique_ptr< editor_action > >
 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)

Definition at line 31 of file editor_common.hpp.


#define ERR_ED   LOG_STREAM_INDENT(err, log_editor)

Definition at line 34 of file editor_common.hpp.


#define LOG_ED   LOG_STREAM_INDENT(info, log_editor)

Definition at line 32 of file editor_common.hpp.


#define SCOPE_ED   log_scope2(log_editor, __func__)

Definition at line 35 of file editor_common.hpp.


#define WRN_ED   LOG_STREAM_INDENT(warn, log_editor)

Definition at line 33 of file editor_common.hpp.

Variable Documentation

◆ log_editor

lg::log_domain log_editor