diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-28 20:46:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-28 20:46:20 +0300 |
commit | 506ed6798e98e6487b08fbdd837d26e149b890c1 (patch) | |
tree | 785dcb14aa7f7ec065f0a26f18944265086277b7 /plugins | |
parent | b4429a2c9b6ac37b263c16c3a7e6d0314031b60f (diff) |
grrm
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 6 | ||||
-rw-r--r-- | plugins/KeyboardNotify/src/stdafx.h | 2 |
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>
|