diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2016-04-02 18:58:02 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2016-04-02 18:58:02 +0200 |
commit | def109d4f20315ed812efc3d006325ddb9fd720d (patch) | |
tree | 5e8ce9d21e4053e59608606c0cd15e0e2a06dc1d /lib | |
parent | 0f1fa05a539bc5c55d09ed2f7262db091ede31bf (diff) | |
parent | c3112f0b7083f5fbedfc18a8812770102df4a150 (diff) |
Merge pull request #9499 from mapfau/translatepath
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) |