summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-07 21:40:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-07 21:40:06 +0000
commit4cf5a9ef45a6f6172e93c1f84bcbab22be00e0a4 (patch)
tree320b0e8f323ac90bb22e9a792bf5ecc25d7a1cf6 /protocols/Tox/src/tox_proto.h
parent6c61dc812b9a5382c282f3e61111516fff562c0e (diff)
Tox: enabled profile encryption
git-svn-id: http://svn.miranda-ng.org/main/trunk@11790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index 2565ceb70d..faf7baa84b 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -110,11 +110,9 @@ public:
static CToxProto* InitAccount(const char* protoName, const wchar_t* userName);
static int UninitAccount(CToxProto* ppro);
- // tox
- bool InitToxCore();
-
private:
Tox *tox;
+ char *password;
mir_cs toxLock;
TCHAR *accountName;
HANDLE hNetlib, hPollingThread, hToxEvent;
@@ -122,6 +120,7 @@ private:
std::map<uint8_t, FileTransferParam*> transfers;
// tox
+ bool InitToxCore();
void UninitToxCore();
// ???
@@ -152,9 +151,6 @@ private:
bool IsOnline();
int __cdecl OnAccountLoaded(WPARAM, LPARAM);
int __cdecl OnAccountRenamed(WPARAM, LPARAM);
-
- // events
- int __cdecl OnSettingsChanged(WPARAM wParam, LPARAM lParam);
// options
static INT_PTR CALLBACK MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);