The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros | Variables
lua_interpreter.cpp File Reference
#include "gui/dialogs/lua_interpreter.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/scroll_label.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/window.hpp"
#include "desktop/clipboard.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "gettext.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "scripting/plugins/manager.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "scripting/lua_kernel_base.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/markup.hpp"
#include "log.hpp"
#include "font/pango/escape.hpp"
#include <sstream>
#include <string>
#include <vector>
#include <functional>
Include dependency graph for lua_interpreter.cpp:

Go to the source code of this file.

Classes

class  gui2::dialogs::lua_interpreter::view
 
class  gui2::dialogs::lua_interpreter::lua_model
 The lua model is responsible to interact with the lua kernel base and keep track of what should be displayed in the console. More...
 
class  gui2::dialogs::lua_interpreter::input_model
 The input_model keeps track of what commands were executed before, and figures out what should be displayed when the user presses up / down arrows in the input. More...
 
class  gui2::dialogs::lua_interpreter::controller
 The controller is responsible to hold all the input widgets, and a pointer to the model and view. More...
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define DBG_LUA   LOG_STREAM(debug, log_lua_int)
 
#define LOG_LUA   LOG_STREAM(info, log_lua_int)
 
#define WRN_LUA   LOG_STREAM(warn, log_lua_int)
 
#define ERR_LUA   LOG_STREAM(err, log_lua_int)
 

Variables

static lg::log_domain log_lua_int ("lua/interpreter")
 

Macro Definition Documentation

◆ DBG_LUA

#define DBG_LUA   LOG_STREAM(debug, log_lua_int)

Definition at line 51 of file lua_interpreter.cpp.

◆ ERR_LUA

#define ERR_LUA   LOG_STREAM(err, log_lua_int)

Definition at line 54 of file lua_interpreter.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file lua_interpreter.cpp.

◆ LOG_LUA

#define LOG_LUA   LOG_STREAM(info, log_lua_int)

Definition at line 52 of file lua_interpreter.cpp.

◆ WRN_LUA

#define WRN_LUA   LOG_STREAM(warn, log_lua_int)

Definition at line 53 of file lua_interpreter.cpp.

Variable Documentation

◆ log_lua_int

lg::log_domain log_lua_int("lua/interpreter") ( "lua/interpreter"  )
static