The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Variables
manager.cpp File Reference
#include "scripting/plugins/manager.hpp"
#include "scripting/application_lua_kernel.hpp"
#include "scripting/plugins/context.hpp"
#include <assert.h>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/make_shared.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#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

#define DBG_PLG   LOG_STREAM(debug, log_plugins)

Definition at line 31 of file manager.cpp.

Referenced by plugins_manager::play_slice(), and plugins_manager::start_plugin().

#define ERR_PLG   LOG_STREAM(err, log_plugins)

Definition at line 34 of file manager.cpp.

#define LOG_PLG   LOG_STREAM(info, log_plugins)

Definition at line 32 of file manager.cpp.

#define WRN_PLG   LOG_STREAM(warn, log_plugins)

Definition at line 33 of file manager.cpp.

Variable Documentation

lg::log_domain log_plugins("plugins")
static
plugins_manager* singleton = nullptr
static

Definition at line 45 of file manager.cpp.

Referenced by plugins_manager::get().