The Battle for Wesnoth  1.19.0+dev
Namespaces | Macros | Functions | Variables
advanced.cpp File Reference
#include "preferences/advanced.hpp"
#include "game_config_view.hpp"
#include "game_version.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include <cassert>
Include dependency graph for advanced.cpp:

Go to the source code of this file.

Namespaces

 preferences
 Modify, read and display user preferences.
 

Macros

#define ERR_ADV   LOG_STREAM(err, advanced_preferences)
 

Functions

void preferences::init_advanced_manager (const game_config_view &gc)
 Initializes the manager singleton. More...
 
const advanced_pref_list & preferences::get_advanced_preferences ()
 Gets a list of the available advanced preferences. More...
 

Variables

static lg::log_domain advanced_preferences ("advanced_preferences")
 
static std::unique_ptr< preferences::advanced_managerpreferences::singleton = nullptr
 

Macro Definition Documentation

◆ ERR_ADV

#define ERR_ADV   LOG_STREAM(err, advanced_preferences)

Definition at line 25 of file advanced.cpp.

Variable Documentation

◆ advanced_preferences

lg::log_domain advanced_preferences("advanced_preferences") ( "advanced_preferences"  )
static