#include <preferences.h>
|
| int | getInt (const std::string &key, int defValue) |
| |
| bool | getBool (const std::string &key, bool defValue) |
| |
| std::string | getString (const std::string &key, const std::string &defValue) |
| |
| void | put (const std::string &key, int value) |
| |
| void | put (const std::string &key, bool value) |
| |
| void | put (const std::string &key, const std::string &value) |
| |
◆ get()
◆ getBool()
| bool Preferences::getBool |
( |
const std::string & | key, |
|
|
bool | defValue ) |
◆ getInt()
| int Preferences::getInt |
( |
const std::string & | key, |
|
|
int | defValue ) |
◆ getString()
| std::string Preferences::getString |
( |
const std::string & | key, |
|
|
const std::string & | defValue ) |
◆ put() [1/3]
| void Preferences::put |
( |
const std::string & | key, |
|
|
bool | value ) |
◆ put() [2/3]
| void Preferences::put |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
◆ put() [3/3]
| void Preferences::put |
( |
const std::string & | key, |
|
|
int | value ) |
◆ KEY_BRIGHTNESS
| const std::string Preferences::KEY_BRIGHTNESS = "brightness" |
|
static |
◆ KEY_CHALLENGES
| const std::string Preferences::KEY_CHALLENGES = "challenges" |
|
static |
◆ KEY_DONATED
| const std::string Preferences::KEY_DONATED = "donated" |
|
static |
◆ KEY_GOOGLE_PLAY
| const std::string Preferences::KEY_GOOGLE_PLAY = "google_play" |
|
static |
◆ KEY_IMMERSIVE
| const std::string Preferences::KEY_IMMERSIVE = "immersive" |
|
static |
◆ KEY_INTRO
| const std::string Preferences::KEY_INTRO = "intro" |
|
static |
◆ KEY_LANDSCAPE
| const std::string Preferences::KEY_LANDSCAPE = "landscape" |
|
static |
◆ KEY_LAST_CLASS
| const std::string Preferences::KEY_LAST_CLASS = "last_class" |
|
static |
◆ KEY_MUSIC
| const std::string Preferences::KEY_MUSIC = "music" |
|
static |
◆ KEY_SCALE_UP
| const std::string Preferences::KEY_SCALE_UP = "scaleup" |
|
static |
◆ KEY_SOUND_FX
| const std::string Preferences::KEY_SOUND_FX = "soundfx" |
|
static |
◆ KEY_ZOOM
| const std::string Preferences::KEY_ZOOM = "zoom" |
|
static |
The documentation for this class was generated from the following files: