summaryrefslogtreecommitdiff
path: root/include/m_clistint.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-30 18:59:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-30 18:59:38 +0000
commit10bc9e42dfba6ed8be41199243d688c2e367dc0d (patch)
tree891aca91eeb2feddb6c76498c4eb880689360fe6 /include/m_clistint.h
parent5dac5be47f2d9af8cbceead6511ff4c0fc40bab5 (diff)
MS_CLIST_GETSTATUSMODEDESCRIPTION & MS_CLIST_GETCONTACTDISPLAYNAME replaced with pcli->* members
git-svn-id: http://svn.miranda-ng.org/main/trunk@14459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clistint.h')
-rw-r--r--include/m_clistint.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h
index 7890028d09..4510b963cf 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -27,7 +27,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <CommCtrl.h>
+#ifndef M_CLIST_H__
#include <m_clist.h>
+#endif
+
#include <m_protocols.h>
#include <m_clc.h>
@@ -343,6 +346,8 @@ typedef struct
/* clistmod.c */
int (*pfnIconFromStatusMode)(const char *szProto, int status, MCONTACT hContact);
int (*pfnShowHide)(WPARAM, LPARAM);
+
+ #define GSMDF_UNTRANSLATED 4 // don't tranlate the result
TCHAR* (*pfnGetStatusModeDescription)(int mode, int flags);
/* clistsettings.c */
@@ -351,6 +356,10 @@ typedef struct
void (*pfnCheckCacheItem)(ClcCacheEntry*);
void (*pfnFreeCacheItem)(ClcCacheEntry*);
+ #define GCDNF_NOMYHANDLE 1 // will never return the user's custom name
+ #define GCDNF_UNICODE 2 // will return TCHAR* instead of char*
+ #define GCDNF_NOCACHE 4 // will not use the cache
+
TCHAR* (*pfnGetContactDisplayName)(MCONTACT hContact, int mode);
void (*pfnInvalidateDisplayNameCacheEntry)(MCONTACT hContact);