The Battle for Wesnoth  1.19.5+dev
Static Public Member Functions | Friends | List of all members
preferences_dialog_friend Struct Reference

#include <preferences.hpp>

Static Public Member Functions

static void set (const std::string &pref, bool value)
 
static void set (const std::string &pref, int value)
 
static void set (const std::string &pref, const std::string &value)
 
static bool get (const std::string &pref, bool def)
 
static int get (const std::string &pref, int def)
 
static std::string get (const std::string &pref, const std::string &def)
 

Friends

class preferences_dialog
 

Detailed Description

Definition at line 856 of file preferences.hpp.

Member Function Documentation

◆ get() [1/3]

static bool preferences_dialog_friend::get ( const std::string &  pref,
bool  def 
)
inlinestatic

◆ get() [2/3]

static std::string preferences_dialog_friend::get ( const std::string &  pref,
const std::string &  def 
)
inlinestatic

Definition at line 881 of file preferences.hpp.

References prefs::get().

◆ get() [3/3]

static int preferences_dialog_friend::get ( const std::string &  pref,
int  def 
)
inlinestatic

Definition at line 877 of file preferences.hpp.

References prefs::get(), and prefs::preferences_.

◆ set() [1/3]

static void preferences_dialog_friend::set ( const std::string &  pref,
bool  value 
)
inlinestatic

◆ set() [2/3]

static void preferences_dialog_friend::set ( const std::string &  pref,
const std::string &  value 
)
inlinestatic

Definition at line 868 of file preferences.hpp.

References prefs::get(), and prefs::preferences_.

◆ set() [3/3]

static void preferences_dialog_friend::set ( const std::string &  pref,
int  value 
)
inlinestatic

Definition at line 864 of file preferences.hpp.

References prefs::get(), and prefs::preferences_.

Friends And Related Function Documentation

◆ preferences_dialog

friend class preferences_dialog
friend

Definition at line 858 of file preferences.hpp.


The documentation for this struct was generated from the following file: