summaryrefslogtreecommitdiff
path: root/plugins/Quotes/WorkingThread.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-19 14:24:27 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-19 14:24:27 +0000
commit162e60d66c78bd51aa44c691fe4f4e2f1deb990f (patch)
tree789cf10a148bf3912579e18393604e268ff9934c /plugins/Quotes/WorkingThread.cpp
parent6a22ccd156510e65fb91f45a81a9e87d5ad07568 (diff)
added Quotes
git-svn-id: http://svn.miranda-ng.org/main/trunk@76 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/WorkingThread.cpp')
-rw-r--r--plugins/Quotes/WorkingThread.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Quotes/WorkingThread.cpp b/plugins/Quotes/WorkingThread.cpp
new file mode 100644
index 0000000000..bc4d80b734
--- /dev/null
+++ b/plugins/Quotes/WorkingThread.cpp
@@ -0,0 +1,15 @@
+#include "StdAfx.h"
+#include "WorkingThread.h"
+
+#include "IQuotesProvider.h"
+
+void WorkingThread(void* pParam)
+{
+ IQuotesProvider* pProvider = reinterpret_cast<IQuotesProvider*>(pParam);
+ assert(pProvider);
+
+ if(pProvider)
+ {
+ pProvider->Run();
+ }
+}