diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-03 13:37:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-03 13:37:13 +0300 |
commit | 66b61f42871089f3962920924f9030cd6dff2ad8 (patch) | |
tree | bfa19d1db1c84a841dd1e6ea258ae1d9212d2ada /include/m_clist.h | |
parent | dfe4c13573386072b6fcf177e8f52fafc81891f1 (diff) |
CLIST_INTERFACE:
- unused members removed (requires new History++ for people who compile Miranda themselves);
- useless helpers Proto_IsAccountEnabled & Proto_IsProtocolLocked replaced with direct calls of PROTOACCOUNT members IsEnabled & IsLocked respectively;
- static interface member pfnGetProtocolVisibility replaced with static function Clist_GetProtocolVisibility or PROTOACCOUNT::IsVisible when possible
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 b3eb928deb..a35d4680e1 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -49,11 +49,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /////////////////////////////////////////////////////////////////////////////////////////
// force a change of status mode
-// wParam = new status, from statusmodes.h
+// iStatus = new status, from statusmodes.h
EXTERN_C MIR_APP_DLL(void) Clist_SetStatusMode(int iStatus);
/////////////////////////////////////////////////////////////////////////////////////////
+// detects whether a protocol is visible or not
+
+EXTERN_C MIR_APP_DLL(bool) Clist_GetProtocolVisibility(const char *szModuleName);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// get the current status mode
// wParam = lParam = 0
// returns the current status
|