diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-18 19:24:48 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-18 19:24:48 +0000 |
commit | 40453965455818d568bf90224b828c3f72b2606d (patch) | |
tree | 896abd9c140e7ccce2302937788ef14027d0142f /protocols/Tox/src/tox_proto.h | |
parent | a8bb7b8d1f606b887c614d6200840fffb1bd48aa (diff) |
Tox:
- code cleaning
- removed unneeded dependencies
- posible fix for disconnect
git-svn-id: http://svn.miranda-ng.org/main/trunk@12183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index f7844e1f61..2dfec2ba12 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -83,13 +83,15 @@ private: static INT_PTR CALLBACK ToxProfilePasswordProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
// tox core
+ bool IsToxCoreInited();
+
bool InitToxCore();
void UninitToxCore();
// tox network
bool IsOnline();
- bool IsOffline();
- void BootstrapDht();
+
+ void BootstrapNodes();
void TryConnect();
void CheckConnection(int &retriesCount);
void DoTox();
|