summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_thread.cpp')
-rw-r--r--protocols/Steam/src/steam_thread.cpp20
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