summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraProto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-25 00:27:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-25 00:27:33 +0000
commit402c282619b316fc77d71546ea40f026e0506bbb (patch)
tree5c9e5c2120fdd5f62f9826f77d967b5f5ac6de0f /protocols/MRA/src/MraProto.h
parent05b2e149be5b49508d99f39bf9d53c6f9a170dc4 (diff)
MRA:
- all menu related code moved to Mra_menus.cpp; - mra-specific menu items moved to the Services... submenu; git-svn-id: http://svn.miranda-ng.org/main/trunk@6616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.h')
-rw-r--r--protocols/MRA/src/MraProto.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/MRA/src/MraProto.h b/protocols/MRA/src/MraProto.h
index 325b8d1409..ebd76449ab 100644
--- a/protocols/MRA/src/MraProto.h
+++ b/protocols/MRA/src/MraProto.h
@@ -10,7 +10,7 @@
#define SCBIF_NICK 64
#define SCBIF_PHONES 128
-#define MAIN_MENU_ITEMS_COUNT 15
+#define MAIN_MENU_ITEMS_COUNT 14
#define CONTACT_MENU_ITEMS_COUNT 10
#define ADV_ICON_MAX 5
@@ -183,8 +183,8 @@ struct CMraProto : public PROTO<CMraProto>
HANDLE hAvatarsQueueHandle;
- HGENMENU hMainMenuItems[MAIN_MENU_ITEMS_COUNT+4];
- HGENMENU hContactMenuItems[CONTACT_MENU_ITEMS_COUNT+4];
+ HGENMENU hMainMenuItems[MAIN_MENU_ITEMS_COUNT];
+ HGENMENU hContactMenuItems[CONTACT_MENU_ITEMS_COUNT];
HWND hWndEMailPopupStatus;
DWORD dwEmailMessagesTotal, m_dwEmailMessagesUnread;
@@ -283,9 +283,8 @@ struct CMraProto : public PROTO<CMraProto>
void SetExtraIcons(HANDLE hContact);
- 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, HGENMENU *hResult);
+ void InitMenus(void);
+ void CListCreateMenu(LONG lPosition, LONG lPopupPosition, BOOL bIsStatus, const IconItem *pgdiItems, size_t dwCount, HGENMENU *hResult);
DWORD ProtoBroadcastAckAsync(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam);
CMStringA CreateBlobFromContact(HANDLE hContact, const CMStringW &wszRequestReason);