diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-16 17:26:20 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-16 17:26:20 +0000 |
commit | 63afce56f08e031e45a6a33f56af0f312c8bfc91 (patch) | |
tree | 0cca881dcd3b05a80879c97d33c6de9e7b4919cd /protocols/Tox/src/tox_proto.h | |
parent | 2e93497d5b19b4fc46f84cb18267bce357e48747 (diff) |
Tox: added tox icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@10204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index d7e566998c..0d185ac143 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -114,6 +114,8 @@ private: static void OnReadReceipt(Tox *tox, int32_t friendnumber, uint32_t receipt, void *arg);
// contacts
+ WORD GetContactStatus(MCONTACT hContact);
+ bool IsContactOnline(MCONTACT hContact);
void SetContactStatus(MCONTACT hContact, WORD status);
void SetAllContactsStatus(WORD status);
bool IsProtoContact(MCONTACT hContact);
@@ -124,10 +126,15 @@ private: void LoadContactList();
+ void __cdecl SearchByIdAsync(void* arg);
+
// utils
TOX_USERSTATUS MirandaToToxStatus(int status);
int ToxToMirandaStatus(TOX_USERSTATUS userstatus);
+ static void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+ static void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+
HANDLE AddDbEvent(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob);
void RaiseAuthRequestEvent(DWORD timestamp, const char* toxId, const char* reason);
|