summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-17 17:26:18 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-17 17:26:18 +0000
commitbf23720e7c1d7de70d7d99167a42783f08ef8b17 (patch)
treeaa89f34bb46da1f7f66062d6f25a4ac2a103cb9b /protocols/Tox/src/tox_proto.h
parenta9276f9db53affa2acbd8bc3f435285c1b838f87 (diff)
Tox:
- fixed tox id convertation - fixed tox profile load in first start - fixed polling thread git-svn-id: http://svn.miranda-ng.org/main/trunk@10215 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index b19a5b9f74..537e001cdb 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -71,11 +71,9 @@ public:
private:
Tox *tox;
mir_cs tox_lock;
- HANDLE connectionThread;
- HANDLE poolingThread;
+ HANDLE hPollingThread;
bool isTerminated;
bool isConnected;
- ULONG hMessageProcess;
HANDLE hNetlibUser;
// tox
@@ -96,7 +94,6 @@ private:
void DoBootstrap();
void DoTox();
- void __cdecl ConnectionThread(void*);
void __cdecl PollingThread(void*);
//events
@@ -145,6 +142,8 @@ private:
std::vector<uint8_t> HexStringToData(std::string hex);
std::string DataToHexString(std::vector<uint8_t>);
+ std::string GetToxProfilePath();
+
int LoadToxData();
int SaveToxData();