diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-20 19:15:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-20 19:15:17 +0000 |
commit | 56eb98aae89ed7c503b1e776625a0347786fc85c (patch) | |
tree | a2c0fc3af05685e2391c73ad37a8de39f7d75839 /protocols/MRA/MraProto.h | |
parent | 0308f566ea2232525f3dd53995050b78824521cd (diff) |
mra icons are global now
git-svn-id: http://svn.miranda-ng.org/main/trunk@1611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraProto.h')
-rw-r--r-- | protocols/MRA/MraProto.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/protocols/MRA/MraProto.h b/protocols/MRA/MraProto.h index 4b575955e6..3203135a29 100644 --- a/protocols/MRA/MraProto.h +++ b/protocols/MRA/MraProto.h @@ -95,7 +95,6 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject void ForkThread(ThreadFunc, void*);
HANDLE ForkThreadEx(ThreadFunc, void*, UINT* threadID = NULL);
HANDLE HookEvent(const char*, EventFunc);
- void AddIcoLibItems(LPWSTR lpwszRootSectionName, LPWSTR lpwszSubSectionName, const struct GUI_DISPLAY_ITEM *pgdiItems, size_t dwCount, HANDLE *hResult);
void ShowFormattedErrorMessage(LPWSTR lpwszErrText, DWORD dwErrorCode);
void MraPopupShowW(HANDLE hContact, DWORD dwType, DWORD dwFlags, LPWSTR lpszTitle, LPWSTR lpszMessage);
@@ -225,13 +224,8 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject DWORD dwAPCThreadRunning;
HANDLE hAvatarsQueueHandle;
- HANDLE hMainMenuIcons[MAIN_MENU_ITEMS_COUNT+4];
HANDLE hMainMenuItems[MAIN_MENU_ITEMS_COUNT+4];
-
- HANDLE hContactMenuIcons[CONTACT_MENU_ITEMS_COUNT+4];
HANDLE hContactMenuItems[CONTACT_MENU_ITEMS_COUNT+4];
-
- HANDLE hAdvancedStatusIcons[ADV_ICON_MAX+4];
HANDLE hAdvancedStatusItems[ADV_ICON_MAX+4];
HWND hWndEMailPopupStatus;
@@ -312,8 +306,6 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject DWORD MraRecvCommand_Message(DWORD dwTime, DWORD dwFlags, MRA_LPS *plpsFrom, MRA_LPS *plpsText, MRA_LPS *plpsRFTText, MRA_LPS *plpsMultiChatData);
- void IconsLoad();
- void IconsUnLoad();
void InitXStatusIcons();
void DestroyXStatusIcons();
void SetExtraIcons(HANDLE hContact);
@@ -328,7 +320,8 @@ struct CMraProto : public PROTO_INTERFACE, public MZeroedObject void MraAPCQueueDestroy(PFIFO_MT pffmtAPCQueue);
void __cdecl MraUserAPCThreadProc(LPVOID lpParameter);
- void CListCreateMenu(LONG lPosition, LONG lPopupPosition, HICON hMainIcon, LPSTR pszContactOwner, BOOL bIsStatus, const struct GUI_DISPLAY_ITEM *pgdiItems, HANDLE *hIcoLibIcons, size_t dwCount, HANDLE *hResult);
+ void InitMenus();
+ 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);
|