diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-16 17:49:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-16 17:49:54 +0000 |
commit | 85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c (patch) | |
tree | fe07935255b7432938f282419c3ab1378524c02f /src/modules/chat | |
parent | 8a09c895c4cd0e9cc87c38181ae2913dba77c30b (diff) |
MEVENT - the strict type for events, they are not HANDLE anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat')
-rw-r--r-- | src/modules/chat/chat.h | 2 | ||||
-rw-r--r-- | src/modules/chat/clist.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/chat/chat.h b/src/modules/chat/chat.h index 68ef108dfb..f393d629b3 100644 --- a/src/modules/chat/chat.h +++ b/src/modules/chat/chat.h @@ -55,7 +55,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData); char* Log_SetStyle(int style);
// clist.c
-BOOL AddEvent(MCONTACT hContact, HICON hIcon, HANDLE hEvent, int type, TCHAR* fmt, ...);
+BOOL AddEvent(MCONTACT hContact, HICON hIcon, MEVENT hEvent, int type, TCHAR* fmt, ...);
MCONTACT AddRoom(const char *pszModule, const TCHAR *pszRoom, const TCHAR *pszDisplayName, int iType);
MCONTACT FindRoom(const char *pszModule, const TCHAR *pszRoom);
BOOL SetAllOffline(BOOL bHide, const char *pszModule);
diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp index 2499b79f2d..f96179e84b 100644 --- a/src/modules/chat/clist.cpp +++ b/src/modules/chat/clist.cpp @@ -197,7 +197,7 @@ INT_PTR PrebuildContactMenuSvc(WPARAM wParam, LPARAM lParam) return PrebuildContactMenu(wParam, lParam);
}
-BOOL AddEvent(MCONTACT hContact, HICON hIcon, HANDLE hEvent, int type, TCHAR* fmt, ... )
+BOOL AddEvent(MCONTACT hContact, HICON hIcon, MEVENT hEvent, int type, TCHAR* fmt, ...)
{
TCHAR szBuf[4096];
|