The Battle for Wesnoth  1.19.7+dev
Classes | Macros | Variables
manager.cpp File Reference
#include "scripting/plugins/manager.hpp"
#include "scripting/application_lua_kernel.hpp"
#include <cassert>
#include <stdexcept>
#include <string>
#include <vector>
#include "log.hpp"
Include dependency graph for manager.cpp:

Go to the source code of this file.

Classes

struct  plugin
 

Macros

#define DBG_PLG   LOG_STREAM(debug, log_plugins)
 
#define LOG_PLG   LOG_STREAM(info, log_plugins)
 
#define WRN_PLG   LOG_STREAM(warn, log_plugins)
 
#define ERR_PLG   LOG_STREAM(err, log_plugins)
 

Variables

static lg::log_domain log_plugins ("plugins")
 
static plugins_managersingleton = nullptr
 

Macro Definition Documentation

◆ DBG_PLG

#define DBG_PLG   LOG_STREAM(debug, log_plugins)

Definition at line 27 of file manager.cpp.

◆ ERR_PLG

#define ERR_PLG   LOG_STREAM(err, log_plugins)

Definition at line 30 of file manager.cpp.

◆ LOG_PLG

#define LOG_PLG   LOG_STREAM(info, log_plugins)

Definition at line 28 of file manager.cpp.

◆ WRN_PLG

#define WRN_PLG   LOG_STREAM(warn, log_plugins)

Definition at line 29 of file manager.cpp.

Variable Documentation

◆ log_plugins

lg::log_domain log_plugins("plugins") ( "plugins"  )
static

◆ singleton

plugins_manager* singleton = nullptr
static

Definition at line 41 of file manager.cpp.

Referenced by plugins_manager::get(), and plugins_manager::plugins_manager().