summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index 1f90091503..362f8980df 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -96,6 +96,7 @@ private:
ULONG hMessageProcess;
int m_retriesCount;
+ int m_prevToxStatus = TOX_CONNECTION_NONE;
static HANDLE hProfileFolderPath;
@@ -133,8 +134,8 @@ private:
bool IsOnline();
void __cdecl InitThread(void *);
- void TryConnect();
- void CheckConnection();
+ void OnLoggedIn();
+ void OnLoggedFail();
void OnToxCheck();
void OnToxPoll();