diff options
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 984942415d..e39931dbe8 100644 --- a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp +++ b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp @@ -84,6 +84,14 @@ DLLEXPORT void XBMC_queue_notification(void *hdl, void* cb, const queue_msg_t ty ((CB_AddOnLib*)cb)->QueueNotification(((AddonCB*)hdl)->addonData, type, msg); } +DLLEXPORT bool XBMC_wake_on_lan(void* hdl, void* cb, char* mac) +{ + if (cb == NULL) + return false; + + return ((CB_AddOnLib*)cb)->WakeOnLan(mac); +} + DLLEXPORT char* XBMC_unknown_to_utf8(void *hdl, void* cb, const char* str) { if (cb == NULL) |