diff options
Diffstat (limited to 'include/m_clist.h')
-rw-r--r-- | include/m_clist.h | 7 |
1 files changed, 6 insertions, 1 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
|