diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-27 12:37:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-27 12:37:42 +0000 |
commit | 3ef638023d476a91128f287fe454b547836a4b90 (patch) | |
tree | 46c8e3340f5ce59fdb8bce2ef758e3c32d78fb01 /protocols/MRA/MraProto.h | |
parent | 6035c2ae283bd8743a7484ed8796bd845afec4d5 (diff) |
automatic lock management
git-svn-id: http://svn.miranda-ng.org/main/trunk@1680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraProto.h')
-rw-r--r-- | protocols/MRA/MraProto.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/MRA/MraProto.h b/protocols/MRA/MraProto.h index 91b0d70994..3cc7cb911e 100644 --- a/protocols/MRA/MraProto.h +++ b/protocols/MRA/MraProto.h @@ -205,7 +205,6 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject bool m_bLoggedIn;
HANDLE hSendQueueHandle, hFilesQueueHandle, hMPopSessionQueue;
- FIFO_MT ffmtAPCQueue;
HANDLE hNetlibUser, heNudgeReceived, hHookExtraIconsApply;
HANDLE hThreadWorker;
@@ -214,9 +213,6 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject DWORD dwThreadWorkerRunning;
DWORD dwCMDNum;
- HANDLE hThreadAPC; // APC thread, for queue tasks
- HANDLE hWaitEventThreadAPCHandle;
- DWORD dwAPCThreadRunning;
HANDLE hAvatarsQueueHandle;
HANDLE hMainMenuItems[MAIN_MENU_ITEMS_COUNT+4];
@@ -311,16 +307,12 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject DWORD MraAntiSpamReceivedMessageW(LPSTR lpszEMail, size_t dwEMailSize, DWORD dwMessageFlags, LPWSTR lpwszMessage, size_t dwMessageSize);
BOOL MraAntiSpamHasMessageBadWordsW(LPWSTR lpwszMessage, size_t dwMessageSize);
- DWORD MraAPCQueueAdd(PAPCFUNC pfnAPC, PFIFO_MT pffmtAPCQueue, ULONG_PTR dwData);
- void MraAPCQueueDestroy(PFIFO_MT pffmtAPCQueue);
- void __cdecl MraUserAPCThreadProc(LPVOID lpParameter);
-
void InitMainMenu();
void InitContactMenu();
void CListCreateMenu(LONG lPosition, LONG lPopupPosition, HICON hMainIcon, LPSTR pszContactOwner, BOOL bIsStatus, const struct GUI_DISPLAY_ITEM *pgdiItems, size_t dwCount, HANDLE *hResult);
void CListShowMenuItem(HANDLE hMenuItem, BOOL bShow);
- DWORD ProtoBroadcastAckAsynchEx(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam, size_t dwLparamSize);
+ DWORD ProtoBroadcastAckEx(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam);
DWORD CreateBlobFromContact(HANDLE hContact, LPWSTR lpwszRequestReason, size_t dwRequestReasonSize, LPBYTE lpbBuff, size_t dwBuffSize, size_t *pdwBuffSizeRet);
BOOL SetPassDB(LPSTR lpszBuff, size_t dwBuffSize);
|