diff options
author | Lars Op den Kamp <lars@opdenkamp.eu> | 2013-03-07 00:36:32 +0100 |
---|---|---|
committer | Lars Op den Kamp <lars@opdenkamp.eu> | 2013-03-07 00:36:40 +0100 |
commit | 42cb8cfcab1fc734e9224f02986fff2d07d3bba1 (patch) | |
tree | 0b0ef195df186e21ea0b3af11a4a6e5b330684b1 /lib | |
parent | 79773ebb3c891ee55526031816903d23371645b5 (diff) | |
parent | 1d0d85be4e2fdec0613a4ab486cff4332f6ddcb3 (diff) |
Merge remote-tracking branch 'fetzerch/pvr-wol' into pvrapi_1_7_0. Github issue #2251
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) |