The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Variables
handlers.cpp File Reference

The structure that tracks WML event handlers. More...

#include "global.hpp"
#include "handlers.hpp"
#include "manager.hpp"
#include "manager_impl.hpp"
#include "menu_item.hpp"
#include "pump.hpp"
#include "formula/string_utils.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "reports.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "serialization/string_utils.hpp"
#include "soundsource.hpp"
#include "util.hpp"
#include <boost/unordered_map.hpp>
#include <iostream>
Include dependency graph for handlers.cpp:

Go to the source code of this file.

Namespaces

 game_events
 Domain specific events.
 

Macros

#define DBG_NG   LOG_STREAM(debug, log_engine)
 
#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define WRN_NG   LOG_STREAM(warn, log_engine)
 
#define DBG_EH   LOG_STREAM(debug, log_event_handler)
 

Variables

static lg::log_domain log_engine ("engine")
 
static lg::log_domain log_event_handler ("event_handler")
 

Detailed Description

The structure that tracks WML event handlers.

(Typically, handlers are defined by [event] tags.)

Definition in file handlers.cpp.

Macro Definition Documentation

#define DBG_EH   LOG_STREAM(debug, log_event_handler)

Definition at line 47 of file handlers.cpp.

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 42 of file handlers.cpp.

Referenced by game_events::event_handler::handle_event().

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 43 of file handlers.cpp.

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 44 of file handlers.cpp.

Variable Documentation

lg::log_domain log_engine("engine")
static
lg::log_domain log_event_handler("event_handler")
static