|
| char * | AllocAndCopyString (const char *source) |
| | Internally used helper to dynamically allocate and fill a char array.
|
| |
| void | FreeString (const char *str) |
| | Internally used helper to delete a string that was allocated via AllocAndCopyString.
|
| |
| void | ReallocAndCopyString (const char **stringToRealloc, const char *stringToCopy) |
| | Internally used helper to dynamically reallocate and fill a char array.
|
| |
| std::string ATTR_DLL_LOCAL | GetAddonPath (const std::string &append="") |
| | To get the addon system installation folder.
|
| |
| std::string ATTR_DLL_LOCAL | GetLibPath (const std::string &append="") |
| | This function gives OS associated executable binary path of the addon.
|
| |
| std::string ATTR_DLL_LOCAL | GetUserPath (const std::string &append="") |
| | To get the user-related folder of the addon.
|
| |
| std::string ATTR_DLL_LOCAL | GetTempPath (const std::string &append="") |
| | To get a temporary path for the addon.
|
| |
| std::string ATTR_DLL_LOCAL | GetLocalizedString (uint32_t labelId, const std::string &defaultStr="") |
| | Returns an addon's localized 'unicode string'.
|
| |
| bool ATTR_DLL_LOCAL | OpenSettings () |
| | Opens this Add-Ons settings dialog.
|
| |
| bool ATTR_DLL_LOCAL | IsSettingUsingDefault (const std::string &settingName) |
| | Check the given setting name is set to default value.
|
| |
| bool ATTR_DLL_LOCAL | CheckSettingString (const std::string &settingName, std::string &settingValue) |
| | Check and get a string setting value.
|
| |
| std::string ATTR_DLL_LOCAL | GetSettingString (const std::string &settingName, const std::string &defaultValue="") |
| | Get string setting value.
|
| |
| void ATTR_DLL_LOCAL | SetSettingString (const std::string &settingName, const std::string &settingValue) |
| | Set string setting of addon.
|
| |
| bool ATTR_DLL_LOCAL | CheckSettingInt (const std::string &settingName, int &settingValue) |
| | Check and get a integer setting value.
|
| |
| int ATTR_DLL_LOCAL | GetSettingInt (const std::string &settingName, int defaultValue=0) |
| | Get integer setting value.
|
| |
| void ATTR_DLL_LOCAL | SetSettingInt (const std::string &settingName, int settingValue) |
| | Set integer setting of addon.
|
| |
| bool ATTR_DLL_LOCAL | CheckSettingBoolean (const std::string &settingName, bool &settingValue) |
| | Check and get a boolean setting value.
|
| |
| bool ATTR_DLL_LOCAL | GetSettingBoolean (const std::string &settingName, bool defaultValue=false) |
| | Get boolean setting value.
|
| |
| void ATTR_DLL_LOCAL | SetSettingBoolean (const std::string &settingName, bool settingValue) |
| | Set boolean setting of addon.
|
| |
| bool ATTR_DLL_LOCAL | CheckSettingFloat (const std::string &settingName, float &settingValue) |
| | Check and get a floating point setting value.
|
| |
| float ATTR_DLL_LOCAL | GetSettingFloat (const std::string &settingName, float defaultValue=0.0f) |
| | Get floating point setting value.
|
| |
| void ATTR_DLL_LOCAL | SetSettingFloat (const std::string &settingName, float settingValue) |
| | Set floating point setting of addon.
|
| |
| template<typename enumType > |
| bool ATTR_DLL_LOCAL | CheckSettingEnum (const std::string &settingName, enumType &settingValue) |
| | Check and get a enum setting value.
|
| |
| template<typename enumType > |
| enumType ATTR_DLL_LOCAL | GetSettingEnum (const std::string &settingName, enumType defaultValue=static_cast< enumType >(0)) |
| | Get enum setting value.
|
| |
| template<typename enumType > |
| void ATTR_DLL_LOCAL | SetSettingEnum (const std::string &settingName, enumType settingValue) |
| | Set enum setting of addon.
|
| |
| std::string ATTR_DLL_LOCAL | GetAddonInfo (const std::string &id) |
| | Returns the value of an addon property as a string.
|
| |
| void * | GetInterface (const std::string &name, const std::string &version) |
| | Returns a function table to a named interface.
|
| |
| std::string ATTR_DLL_LOCAL | GetKodiTypeVersion (int type) |
| | To get used version inside Kodi itself about asked type.
|
| |
| std::string ATTR_DLL_LOCAL | TranslateAddonStatus (ADDON_STATUS status) |
| | Get to related ADDON_STATUS a human readable text.
|
| |
| const char * | GetTypeVersion (int type) |
| |
| const char * | GetTypeMinVersion (int type) |
| |
| const char * | GetTypeName (int type) |
| |
| int | GetTypeId (const char *name) |
| |