11 #include "commons/Exception.h" 12 #include "interfaces/legacy/AddonClass.h" 13 #include "interfaces/legacy/AddonString.h" 14 #include "interfaces/legacy/Exception.h" 15 #include "interfaces/legacy/Tuple.h" 16 #include "settings/lib/SettingDefinitions.h" 29 XBMCCOMMONS_STANDARD_EXCEPTION(SettingCallbacksNotSupportedException);
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS 57 std::shared_ptr<CSettingsBase>
settings;
58 Settings(std::shared_ptr<CSettingsBase> settings);
63 #ifdef DOXYGEN_SHOULD_USE_THIS 85 bool getBool(
const char*
id);
88 #ifdef DOXYGEN_SHOULD_USE_THIS 110 int getInt(
const char*
id);
113 #ifdef DOXYGEN_SHOULD_USE_THIS 135 double getNumber(
const char*
id);
138 #ifdef DOXYGEN_SHOULD_USE_THIS 160 String getString(
const char*
id);
163 #ifdef DOXYGEN_SHOULD_USE_THIS 185 std::vector<bool> getBoolList(
const char*
id);
188 #ifdef DOXYGEN_SHOULD_USE_THIS 210 std::vector<int> getIntList(
const char*
id);
213 #ifdef DOXYGEN_SHOULD_USE_THIS 235 std::vector<double> getNumberList(
const char*
id);
238 #ifdef DOXYGEN_SHOULD_USE_THIS 260 std::vector<String> getStringList(
const char*
id);
263 #ifdef DOXYGEN_SHOULD_USE_THIS 288 void setBool(
const char*
id,
bool value);
291 #ifdef DOXYGEN_SHOULD_USE_THIS 316 void setInt(
const char*
id,
int value);
319 #ifdef DOXYGEN_SHOULD_USE_THIS 344 void setNumber(
const char*
id,
double value);
347 #ifdef DOXYGEN_SHOULD_USE_THIS 372 void setString(
const char*
id,
const String& value);
375 #ifdef DOXYGEN_SHOULD_USE_THIS 400 void setBoolList(
const char*
id,
const std::vector<bool>& values);
403 #ifdef DOXYGEN_SHOULD_USE_THIS 428 void setIntList(
const char*
id,
const std::vector<int>& values);
431 #ifdef DOXYGEN_SHOULD_USE_THIS 456 void setNumberList(
const char*
id,
const std::vector<double>& values);
459 #ifdef DOXYGEN_SHOULD_USE_THIS 484 void setStringList(
const char*
id,
const std::vector<String>& values);
Definition: Settings.h:52
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
Definition: settings.py:1
Basic wrapper around CSettingsManager providing the framework for properly setting up the settings ma...
Definition: SettingsBase.h:31
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57