summaryrefslogtreecommitdiff
path: root/include/m_clist.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 21:49:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 21:49:37 +0300
commitad2a5992f1fa9558ad653f8d5c81896472ce8363 (patch)
tree9c43ee9b96c20395f38a897382a7321325fb1d13 /include/m_clist.h
parentb064f2ebde6d4a58141e5b2e8186c6ea53680f64 (diff)
- CLIST_INTERFACE::pfnGetProtocolMenu => Menu_GetProtocolMenu
- CLIST_INTERFACE::pfnReloadProtoMenus => Menu_ReloadProtoMenus - CLIST_INTERFACE::pfnGetProtoIndexByPos considered unused... thus removed
Diffstat (limited to 'include/m_clist.h')
-rw-r--r--include/m_clist.h7
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