diff options
Diffstat (limited to 'include/m_clist.h')
-rw-r--r-- | include/m_clist.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_clist.h b/include/m_clist.h index fb41feefc9..463ce493c2 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -480,6 +480,14 @@ EXTERN_C MIR_APP_DLL(int) Clist_ContactChangeGroup(MCONTACT hContact, MGROUP hGr EXTERN_C MIR_APP_DLL(int) Clist_ContactCompare(MCONTACT hContact1, MCONTACT hContact2);
/////////////////////////////////////////////////////////////////////////////////////////
+// returns a static display name for a contact
+
+#define GCDNF_NOMYHANDLE 1 // will never return the user's custom name
+#define GCDNF_NOCACHE 4 // will not use the cache
+
+EXTERN_C MIR_APP_DLL(wchar_t*) Clist_GetContactDisplayName(MCONTACT hContact, int mode = 0);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// DRAG-N-DROP SUPPORT
/////////////////////////////////////////////////////////////////////////////////////////
// a contact is being dragged outside the main window
|