diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:18:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:18:56 +0000 |
commit | c16bd3d58396036f078282ad0b7032562c0c0533 (patch) | |
tree | 28a330ad3bd8ba85a20cd2b9a18d5186a0861e66 /plugins/TabSRMM/src/mim.cpp | |
parent | 1b9f36054bddeef87d4f9c139877d28c4e6b1702 (diff) |
- adaptation for the kernel strdel();
- buffer overrun removed (rare crashes);
- old useless code removed;
- removal of a blank line after comments was a bad idea
git-svn-id: http://svn.miranda-ng.org/main/trunk@15136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index 0b9ddfe22d..0672bb15f9 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -53,6 +53,7 @@ bool CMimAPI::m_haveBufferedPaint = false; ///////////////////////////////////////////////////////////////////////////////////////// // window list functions + void CMimAPI::BroadcastMessage(UINT msg, WPARAM wParam, LPARAM lParam) { WindowList_Broadcast(m_hMessageWindowList, msg, wParam, lParam); @@ -182,6 +183,7 @@ bool CMimAPI::getAeroState() ///////////////////////////////////////////////////////////////////////////////////////// // Initialize various Win32 API functions which are not common to all versions of Windows. // We have to work with functions pointers here. + void CMimAPI::InitAPI() { DWORD dwVer = LOWORD(GetVersion()); @@ -226,6 +228,7 @@ void CMimAPI::InitAPI() ///////////////////////////////////////////////////////////////////////////////////////// // hook subscriber function for incoming message typing events + int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode) { int foundWin = 0, preTyping = 0; @@ -328,6 +331,7 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode) // it to the owners window // // ACKTYPE_AVATAR no longer handled here, because we have avs services now. + int CMimAPI::ProtoAck(WPARAM, LPARAM lParam) { ACKDATA *pAck = (ACKDATA*)lParam; @@ -383,6 +387,7 @@ int CMimAPI::PrebuildContactMenu(WPARAM hContact, LPARAM) // // this handler POSTs the event to the message window procedure - so it is fast and can exit quickly which will // improve the overall responsiveness when receiving messages. + int CMimAPI::DispatchNewEvent(WPARAM hContact, LPARAM hDbEvent) { if (hContact) { @@ -402,6 +407,7 @@ int CMimAPI::DispatchNewEvent(WPARAM hContact, LPARAM hDbEvent) // session(tab) must be created. // // if a session is already created, it just does nothing and DispatchNewEvent() will take care. + int CMimAPI::MessageEventAdded(WPARAM hContact, LPARAM hDbEvent) { TCHAR szName[CONTAINER_NAMELEN + 1]; |