diff options
author | mapfau <pfau@peak3d.de> | 2016-04-02 14:44:14 +0200 |
---|---|---|
committer | mapfau <pfau@peak3d.de> | 2016-04-02 14:44:14 +0200 |
commit | c3112f0b7083f5fbedfc18a8812770102df4a150 (patch) | |
tree | 57fc009b52b2a4d463172b526042e2a7be6c74f7 /lib | |
parent | a8a29f0d4e10e94c80fdf735df137ca80062a4c4 (diff) |
Add TranslateSpecialPath to libAddon_helper interface
Diffstat (limited to 'lib')
-rw-r--r-- | lib/addons/library.xbmc.addon/libXBMC_addon.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp index 50738d9e09..e3768854cb 100644 --- a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp +++ b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp @@ -78,6 +78,14 @@ DLLEXPORT bool XBMC_get_setting(void *hdl, void* cb, const char* settingName, vo return ((CB_AddOnLib*)cb)->GetSetting(((AddonCB*)hdl)->addonData, settingName, settingValue); } +DLLEXPORT char* XBMC_translate_special(void *hdl, void* cb, const char* source) +{ + if (cb == NULL) + return NULL; + + return ((CB_AddOnLib*)cb)->TranslateSpecialProtocol(source); +} + DLLEXPORT void XBMC_queue_notification(void *hdl, void* cb, const queue_msg_t type, const char *msg) { if (cb == NULL) |