|
std::string ATTR_DLL_LOCAL | kodi::GetKodiTypeVersion (int type) |
| To get used version inside Kodi itself about asked type. More...
|
|
std::string ATTR_DLL_LOCAL | kodi::GetAddonPath (const std::string &append="") |
| To get the addon system installation folder. More...
|
|
std::string ATTR_DLL_LOCAL | kodi::GetBaseUserPath (const std::string &append="") |
| To get the user-related folder of the addon. More...
|
|
std::string ATTR_DLL_LOCAL | kodi::GetLibPath () |
| This function gives OS associated executable binary path of the addon. More...
|
|
void ATTR_DLL_LOCAL | kodi::Log (const AddonLog loglevel, const char *format,...) |
| Add a message to Kodi's log. More...
|
|
bool ATTR_DLL_LOCAL | kodi::IsSettingUsingDefault (const std::string &settingName) |
| Check the given setting name is set to default value. More...
|
|
bool ATTR_DLL_LOCAL | kodi::CheckSettingString (const std::string &settingName, std::string &settingValue) |
| Check and get a string setting value. More...
|
|
std::string ATTR_DLL_LOCAL | kodi::GetSettingString (const std::string &settingName, const std::string &defaultValue="") |
| Get string setting value. More...
|
|
void ATTR_DLL_LOCAL | kodi::SetSettingString (const std::string &settingName, const std::string &settingValue) |
| Set string setting of addon. More...
|
|
bool ATTR_DLL_LOCAL | kodi::CheckSettingInt (const std::string &settingName, int &settingValue) |
| Check and get a integer setting value. More...
|
|
int ATTR_DLL_LOCAL | kodi::GetSettingInt (const std::string &settingName, int defaultValue=0) |
| Get integer setting value. More...
|
|
void ATTR_DLL_LOCAL | kodi::SetSettingInt (const std::string &settingName, int settingValue) |
| Set integer setting of addon. More...
|
|
bool ATTR_DLL_LOCAL | kodi::CheckSettingBoolean (const std::string &settingName, bool &settingValue) |
| Check and get a boolean setting value. More...
|
|
bool ATTR_DLL_LOCAL | kodi::GetSettingBoolean (const std::string &settingName, bool defaultValue=false) |
| Get boolean setting value. More...
|
|
void ATTR_DLL_LOCAL | kodi::SetSettingBoolean (const std::string &settingName, bool settingValue) |
| Set boolean setting of addon. More...
|
|
bool ATTR_DLL_LOCAL | kodi::CheckSettingFloat (const std::string &settingName, float &settingValue) |
| Check and get a floating point setting value. More...
|
|
float ATTR_DLL_LOCAL | kodi::GetSettingFloat (const std::string &settingName, float defaultValue=0.0f) |
| Get floating point setting value. More...
|
|
void ATTR_DLL_LOCAL | kodi::SetSettingFloat (const std::string &settingName, float settingValue) |
| Set floating point setting of addon. More...
|
|
template<typename enumType > |
bool ATTR_DLL_LOCAL | kodi::CheckSettingEnum (const std::string &settingName, enumType &settingValue) |
| Check and get a enum setting value. More...
|
|
template<typename enumType > |
enumType ATTR_DLL_LOCAL | kodi::GetSettingEnum (const std::string &settingName, enumType defaultValue=static_cast< enumType >(0)) |
| Get enum setting value. More...
|
|
template<typename enumType > |
void ATTR_DLL_LOCAL | kodi::SetSettingEnum (const std::string &settingName, enumType settingValue) |
| Set enum setting of addon. More...
|
|
std::string ATTR_DLL_LOCAL | kodi::TranslateAddonStatus (ADDON_STATUS status) |
| Get to related ADDON_STATUS a human readable text. More...
|
|
void * | kodi::GetInterface (const std::string &name, const std::string &version) |
| Returns a function table to a named interface. More...
|
|