summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-10 14:20:09 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-10 14:20:09 +0000
commitb3a63d4e727b8552f8cf2b321cc68d2631ef3179 (patch)
treea533d09af6f41f06a383fb9b703dabc09d7b92d7 /protocols/Tox/src/tox_events.cpp
parent254f7c0601c1972e016e0afb7989b27c9e432239 (diff)
Tox: refactoring
git-svn-id: http://svn.miranda-ng.org/main/trunk@10144 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index dc45cb34a6..550cdd2999 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -1,22 +1,5 @@
#include "common.h"
-void CToxProto::PollingThread(void*)
-{
- debugLogA("CToxProto::PollingThread: entering");
- while (!isTerminated)
- {
- uint32_t interval = 1000;
- {
- //mir_cslock lock(tox_lock);
-
- tox_do(tox);
- interval = tox_do_interval(tox);
- }
- Sleep(interval);
- }
- debugLogA("CToxProto::PollingThread: leaving");
-}
-
void CToxProto::OnFriendRequest(Tox *tox, const uint8_t *userId, const uint8_t *message, const uint16_t messageSize, void *arg)
{
}