11 #include "AddonClass.h" 12 #include "AddonString.h" 13 #include "Exception.h" 15 #include "addons/IAddon.h" 21 XBMCCOMMONS_STANDARD_EXCEPTION(AddonException);
61 ADDON::AddonPtr pAddon;
63 String getDefaultId();
65 String getAddonVersion();
67 bool UpdateSettingInActiveDialog(
const char*
id,
const String& value);
70 explicit Addon(
const char*
id = NULL);
73 #ifdef DOXYGEN_SHOULD_USE_THIS 74 getLocalizedString(...);
97 String getLocalizedString(
int id);
100 #ifdef DOXYGEN_SHOULD_USE_THIS 125 #ifdef DOXYGEN_SHOULD_USE_THIS 150 String getSetting(
const char*
id);
153 #ifdef DOXYGEN_SHOULD_USE_THIS 179 bool getSettingBool(
const char*
id);
182 #ifdef DOXYGEN_SHOULD_USE_THIS 208 int getSettingInt(
const char*
id);
211 #ifdef DOXYGEN_SHOULD_USE_THIS 212 getSettingNumber(...);
237 double getSettingNumber(
const char*
id);
240 #ifdef DOXYGEN_SHOULD_USE_THIS 241 getSettingString(...);
266 String getSettingString(
const char*
id);
269 #ifdef DOXYGEN_SHOULD_USE_THIS 296 void setSetting(
const char*
id,
const String& value);
299 #ifdef DOXYGEN_SHOULD_USE_THIS 328 bool setSettingBool(
const char*
id,
bool value);
331 #ifdef DOXYGEN_SHOULD_USE_THIS 360 bool setSettingInt(
const char*
id,
int value);
363 #ifdef DOXYGEN_SHOULD_USE_THIS 364 setSettingNumber(...);
392 bool setSettingNumber(
const char*
id,
double value);
395 #ifdef DOXYGEN_SHOULD_USE_THIS 396 setSettingString(...);
424 bool setSettingString(
const char*
id,
const String& value);
427 #ifdef DOXYGEN_SHOULD_USE_THIS 447 #ifdef DOXYGEN_SHOULD_USE_THIS 478 String getAddonInfo(
const char*
id);
Definition: Settings.h:52
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57