diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-19 14:24:27 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-19 14:24:27 +0000 |
commit | 162e60d66c78bd51aa44c691fe4f4e2f1deb990f (patch) | |
tree | 789cf10a148bf3912579e18393604e268ff9934c /plugins/Quotes/QuotesProviderYahoo.h | |
parent | 6a22ccd156510e65fb91f45a81a9e87d5ad07568 (diff) |
added Quotes
git-svn-id: http://svn.miranda-ng.org/main/trunk@76 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/QuotesProviderYahoo.h')
-rw-r--r-- | plugins/Quotes/QuotesProviderYahoo.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/Quotes/QuotesProviderYahoo.h b/plugins/Quotes/QuotesProviderYahoo.h new file mode 100644 index 0000000000..feadefbca4 --- /dev/null +++ b/plugins/Quotes/QuotesProviderYahoo.h @@ -0,0 +1,20 @@ +#ifndef __E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__
+#define __E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__
+
+#include "QuotesProviderFinance.h"
+
+
+#define DB_STR_YAHOO_OPEN_VALUE "OpenQuotePrice"
+#define DB_STR_YAHOO_DAY_HIGH "DayHigh"
+#define DB_STR_YAHOO_DAY_LOW "DayLow"
+#define DB_STR_YAHOO_PREVIOUS_CLOSE "PreviousClose"
+#define DB_STR_YAHOO_CHANGE "Change"
+
+class CQuotesProviderYahoo : public CQuotesProviderFinance
+{
+private:
+ virtual void RefreshQuotes(TContracts& anContacts);
+ virtual void Accept(CQuotesProviderVisitor& visitor)const;
+};
+
+#endif //__E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__
|