summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-21 22:34:54 +0300
committeraunsane <aunsane@gmail.com>2018-04-21 22:35:11 +0300
commit1383e88abf16de34fb680dfb5001ba79d44d933c (patch)
tree49542a89a49ac78693e00de6c66d865430d47ab3 /include
parenta74debb40c3df12738c722548c556a97e5976036 (diff)
core: add Contact_GetStatus function
Diffstat (limited to 'include')
-rw-r--r--include/m_contacts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/m_contacts.h b/include/m_contacts.h
index 779582878f..a8463ee43c 100644
--- a/include/m_contacts.h
+++ b/include/m_contacts.h
@@ -79,6 +79,8 @@ EXTERN_C MIR_APP_DLL(wchar_t*) Contact_GetInfo(
MCONTACT hContact, // contact id or NULL for the global data
const char *szProto = nullptr); // protocol for global data. if skipped, grabbed from hContact
+EXTERN_C MIR_APP_DLL(int) Contact_GetStatus(MCONTACT hContact);
+
/////////////////////////////////////////////////////////////////////////////////////////
// Add contact's dialog
@@ -86,6 +88,6 @@ EXTERN_C MIR_APP_DLL(wchar_t*) Contact_GetInfo(
EXTERN_C MIR_APP_DLL(void) Contact_Add(MCONTACT hContact, HWND hwndParent = nullptr);
EXTERN_C MIR_APP_DLL(void) Contact_AddByEvent(MEVENT hEvent, HWND hwndParent = nullptr);
-EXTERN_C MIR_APP_DLL(void) Contact_AddBySearch(const char *m_szProto, struct PROTOSEARCHRESULT *m_psr, HWND hwndParent = nullptr);
+EXTERN_C MIR_APP_DLL(void) Contact_AddBySearch(const char *szProto, struct PROTOSEARCHRESULT *psr, HWND hwndParent = nullptr);
#endif // M_CONTACTS_H__