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 #if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS 56 std::shared_ptr<CSettingsBase>
settings;
60 Settings(std::shared_ptr<CSettingsBase> settings);
65 #ifdef DOXYGEN_SHOULD_USE_THIS 87 bool getBool(
const char*
id);
90 #ifdef DOXYGEN_SHOULD_USE_THIS 112 int getInt(
const char*
id);
115 #ifdef DOXYGEN_SHOULD_USE_THIS 137 double getNumber(
const char*
id);
140 #ifdef DOXYGEN_SHOULD_USE_THIS 162 String getString(
const char*
id);
165 #ifdef DOXYGEN_SHOULD_USE_THIS 187 std::vector<bool> getBoolList(
const char*
id);
190 #ifdef DOXYGEN_SHOULD_USE_THIS 212 std::vector<int> getIntList(
const char*
id);
215 #ifdef DOXYGEN_SHOULD_USE_THIS 237 std::vector<double> getNumberList(
const char*
id);
240 #ifdef DOXYGEN_SHOULD_USE_THIS 262 std::vector<String> getStringList(
const char*
id);
265 #ifdef DOXYGEN_SHOULD_USE_THIS 291 void setBool(
const char*
id,
bool value);
294 #ifdef DOXYGEN_SHOULD_USE_THIS 320 void setInt(
const char*
id,
int value);
323 #ifdef DOXYGEN_SHOULD_USE_THIS 349 void setNumber(
const char*
id,
double value);
352 #ifdef DOXYGEN_SHOULD_USE_THIS 378 void setString(
const char*
id,
const String& value);
381 #ifdef DOXYGEN_SHOULD_USE_THIS 407 void setBoolList(
const char*
id,
const std::vector<bool>& values);
410 #ifdef DOXYGEN_SHOULD_USE_THIS 436 void setIntList(
const char*
id,
const std::vector<int>& values);
439 #ifdef DOXYGEN_SHOULD_USE_THIS 465 void setNumberList(
const char*
id,
const std::vector<double>& values);
468 #ifdef DOXYGEN_SHOULD_USE_THIS 494 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