summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/KeyboardNotify/src')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp6
-rw-r--r--plugins/KeyboardNotify/src/stdafx.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index 6b7da1d96e..6bab75efb5 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -298,7 +298,7 @@ static void __cdecl FlashThreadFunction(void*)
// Wait for exit event
if (WaitForSingleObject(hExitEvent, nWaitDelay) == WAIT_OBJECT_0) {
- g_plugin.debugLogA("%s: got exit signal1", g_plugin.getModule());
+ Netlib_Logf(0, "%s: got exit signal1", g_plugin.getModule());
return;
}
}
@@ -312,7 +312,7 @@ static void __cdecl FlashThreadFunction(void*)
Objects[0] = hFlashEvent;
Objects[1] = hExitEvent;
if (WaitForMultipleObjects(_countof(Objects), Objects, FALSE, INFINITE) != WAIT_OBJECT_0) {
- g_plugin.debugLogA("%s: got exit signal2", g_plugin.getModule());
+ Netlib_Logf(0, "%s: got exit signal2", g_plugin.getModule());
return;
}
@@ -883,7 +883,7 @@ static int OnMetaChanged(WPARAM wParam, LPARAM)
static int OnPreshutdown(WPARAM, LPARAM)
{
- g_plugin.debugLogA("%s: got ME_SYSTEM_PRESHUTDOWN", g_plugin.getModule());
+ Netlib_Logf(0, "%s: got ME_SYSTEM_PRESHUTDOWN", g_plugin.getModule());
SetEvent(hExitEvent);
return 0;
}
diff --git a/plugins/KeyboardNotify/src/stdafx.h b/plugins/KeyboardNotify/src/stdafx.h
index 1f5a4346cf..f7e5497aec 100644
--- a/plugins/KeyboardNotify/src/stdafx.h
+++ b/plugins/KeyboardNotify/src/stdafx.h
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <commctrl.h>
#include <commdlg.h>
#include <winioctl.h>
+#include <winsock.h>
#include <Uxtheme.h>
#include <newpluginapi.h>
@@ -40,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_langpack.h>
#include <m_message.h>
#include <m_metacontacts.h>
+#include <m_netlib.h>
#include <m_options.h>
#include <m_protosvc.h>
#include <m_skin.h>