diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_clist.h | 7 | ||||
-rw-r--r-- | include/m_clistint.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/m_clist.h b/include/m_clist.h index 43d67477bd..fb41feefc9 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -125,9 +125,14 @@ EXTERN_C MIR_APP_DLL(HGENMENU) Menu_AddStatusMenuItem(TMO_MenuItem *pmi, const c // PROTOCOL MENU
// adds an item to status or main menu, according to the option
-
EXTERN_C MIR_APP_DLL(HGENMENU) Menu_AddProtoMenuItem(TMO_MenuItem *pmi, const char *pszProto = nullptr);
+// returns root protocol menu for an account (either in main menu or in status bar)
+EXTERN_C MIR_APP_DLL(HGENMENU) Menu_GetProtocolMenu(const char *szModuleName);
+
+// rebuilds all protocol menus
+EXTERN_C MIR_APP_DLL(void) Menu_ReloadProtoMenus(void);
+
/////////////////////////////////////////////////////////////////////////////////////////
// GROUP MENU
diff --git a/include/m_clistint.h b/include/m_clistint.h index 8eb695413e..a9170b64e5 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -441,10 +441,6 @@ struct CLIST_INTERFACE int currentStatusMenuItem, currentDesiredStatusMode;
BOOL bDisplayLocked, bAutoRebuild;
- HGENMENU (*pfnGetProtocolMenu)(const char*);
- int (*pfnGetProtoIndexByPos)(PROTOCOLDESCRIPTOR **proto, int protoCnt, int Pos);
- void (*pfnReloadProtoMenus)(void);
-
/*************************************************************************************
* version 5 additions (0.7.0.x) - tray icons
*************************************************************************************/
|