The Battle for Wesnoth  1.19.0-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.

Classes

struct  editor::editor_exception
 
struct  editor::editor_logic_exception
 

Namespaces

 editor
 Manage the empty-palette in the editor.
 

Macros

#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__)
 

Typedefs

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

Variables

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

◆ DBG_ED

#define DBG_ED   LOG_STREAM_INDENT(debug, log_editor)

Definition at line 31 of file editor_common.hpp.

◆ ERR_ED

#define ERR_ED   LOG_STREAM_INDENT(err, log_editor)

Definition at line 34 of file editor_common.hpp.

◆ LOG_ED

#define LOG_ED   LOG_STREAM_INDENT(info, log_editor)

Definition at line 32 of file editor_common.hpp.

◆ SCOPE_ED

#define SCOPE_ED   log_scope2(log_editor, __func__)

Definition at line 35 of file editor_common.hpp.

◆ WRN_ED

#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
extern