diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-04-03 12:29:38 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-04-03 12:29:38 +0000 |
commit | cbf3dd8f411c1336c7bde2b6bbd0eb74941ac60b (patch) | |
tree | 37f5bca463411658f136952345661db54adaa4a5 /protocols/Steam/src/steam_thread.cpp | |
parent | a5b7f6edac87d6caedb83e0fa34a3dacda28a175 (diff) |
Steam: authorization, login, contact list retrieving
git-svn-id: http://svn.miranda-ng.org/main/trunk@8839 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_thread.cpp')
-rw-r--r-- | protocols/Steam/src/steam_thread.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_thread.cpp b/protocols/Steam/src/steam_thread.cpp new file mode 100644 index 0000000000..04b631a41c --- /dev/null +++ b/protocols/Steam/src/steam_thread.cpp @@ -0,0 +1,20 @@ +#include "common.h"
+
+int CSteamProto::PollStatus()
+{
+ Sleep(2000);
+
+ return 0;
+}
+
+void CSteamProto::PollingThread(void*)
+{
+ debugLogA("CSteamProto::PollingThread: entering");
+
+ while (!m_bTerminated)
+ if (PollStatus() == -1)
+ break;
+
+ m_hPollingThread = NULL;
+ debugLogA("CSteamProto::PollingThread: leaving");
+}
\ No newline at end of file |