summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-05 17:59:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-05 17:59:29 +0300
commitb1ac2547316dca56f32d238d50dc2dc6c8e8aedf (patch)
tree87483cb57f6a97b1c66e8d3a7d47427731efd9ed /include
parent200566e2070f941e26ea52078bc8326d4fb76ee0 (diff)
CLIST_INTERFACE::pfnGetStatusModeDescription => Clist_GetStatusModeDescription
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clistint.inc2
-rw-r--r--include/m_clistint.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc
index b413f2967b..204f10168e 100644
--- a/include/delphi/m_clistint.inc
+++ b/include/delphi/m_clistint.inc
@@ -377,7 +377,7 @@ type
(* clistmod.c *)
pfnIconFromStatusMode : function (szProto:PAnsiChar; status:int; hContact:TMCONTACT):int; cdecl;
pfnShowHide : function :int; cdecl;
- pfnGetStatusModeDescription : function (mode:int; flags:int) : PWideChar; cdecl;
+ blablablabla1 : procedure; cdecl;
(* clistsettings.c *)
pfnGetCacheEntry : function (hContact:TMCONTACT):PClcCacheEntry; cdecl;
diff --git a/include/m_clistint.h b/include/m_clistint.h
index c7edd1f3d5..646e970ce6 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -258,6 +258,9 @@ EXTERN_C MIR_APP_DLL(void) Clist_InitAutoRebuild(HWND hWnd);
// calculates account's index by its position in status bar
EXTERN_C MIR_APP_DLL(int) Clist_GetAccountIndex(int iPos);
+#define GSMDF_UNTRANSLATED 4 // don't tranlate the result
+EXTERN_C MIR_APP_DLL(wchar_t*) Clist_GetStatusModeDescription(int iStatus, int iFlags /*GSMDF_*/);
+
/////////////////////////////////////////////////////////////////////////////////////////
// CLIST_INTERFACE structure definition
@@ -370,8 +373,7 @@ struct CLIST_INTERFACE
int (*pfnIconFromStatusMode)(const char *szProto, int status, MCONTACT hContact);
int (*pfnShowHide)(void);
- #define GSMDF_UNTRANSLATED 4 // don't tranlate the result
- wchar_t* (*pfnGetStatusModeDescription)(int mode, int flags);
+ void (*blablablabla1)(void);
/* clistsettings.c */
ClcCacheEntry* (*pfnGetCacheEntry)(MCONTACT hContact);