diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-14 19:35:01 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-14 19:35:01 +0000 |
commit | 14001c799e72b8eefa523f8ff7ce44c443c78db8 (patch) | |
tree | f0c51ccdc39aadc4e6103cef3625a6df34678dc2 /protocols/Tox/src/tox_proto.h | |
parent | e18bb0689bb3ff2bdd622b5feca554d7559ca8e8 (diff) |
Tox: now you can add contacts from find/add dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@10183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index 8c31e30d64..c61555c408 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -3,8 +3,6 @@ #include "common.h"
-#define TOX_SEARCH_BYUID 1001
-
struct CToxProto : public PROTO<CToxProto>
{
public:
@@ -113,14 +111,12 @@ private: void SetAllContactsStatus(WORD status);
bool IsProtoContact(MCONTACT hContact);
MCONTACT FindContact(const char *clientId);
- MCONTACT AddContact(const char *clientId, bool isHidden = false);
+ MCONTACT AddContact(const char *clientId, bool isTemporary = false);
MCONTACT GetContactFromAuthEvent(HANDLE hEvent);
void LoadContactList();
- void __cdecl SearchByUidAsync(void* arg);
-
//services
@@ -138,9 +134,6 @@ private: int LoadToxData(const char *path);
int SaveToxData(const char *path);
- static void fraddr_to_str(uint8_t *id_bin, char *id_str);
- static void get_id(Tox *m, char *data);
-
// dialogs
static INT_PTR CALLBACK MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
};
|