From a70382b0e8bed265a1d314d9f6aae8f2dd48d20b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 18:45:54 +0000 Subject: ex-protos moved to the Plugins folder git-svn-id: http://svn.miranda-ng.org/main/trunk@2545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/QuotesProviderDukasCopy.h | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 plugins/Quotes/src/QuotesProviderDukasCopy.h (limited to 'plugins/Quotes/src/QuotesProviderDukasCopy.h') diff --git a/plugins/Quotes/src/QuotesProviderDukasCopy.h b/plugins/Quotes/src/QuotesProviderDukasCopy.h new file mode 100644 index 0000000000..d6ec498bcf --- /dev/null +++ b/plugins/Quotes/src/QuotesProviderDukasCopy.h @@ -0,0 +1,38 @@ +#ifndef __93121758_68c7_4836_b571_da84dfe82b84_QuotesProviderDukasCopy_h__ +#define __93121758_68c7_4836_b571_da84dfe82b84_QuotesProviderDukasCopy_h__ + +#include "quotesproviderbase.h" +#include + +#define DB_STR_REFRESH_RATE_TYPE "RefreshRateType" +#define DB_STR_REFRESH_RATE_VALUE "RefreshRateValue" +#define DB_STR_DC_DISPLAY_NAME_FORMAT "DC_DisplayNameFormat" +// #define DB_STR_DC_LOG_FILE_FORMAT "DC_LogFileFormat" +// #define DB_STR_DC_HISTORY_FORMAT "DC_HistoryFormat" + +class CQuotesProviderDukasCopy : public CQuotesProviderBase +{ +public: + CQuotesProviderDukasCopy(); + ~CQuotesProviderDukasCopy(); + + bool WatchForQuote(const CQuote& rQuote,bool bWatch); + bool IsQuoteWatched(const CQuote& rQuote)const; + + HANDLE GetContactByQuoteID(const tstring& rsQuoteID)const; +// #ifdef CHART_IMPLEMENT +// bool Chart(HANDLE hContact,const tstring& url)const; +// #endif + +private: + //IQuotesProvider implementation + virtual void RefreshQuotes(TContracts& anContacts); + virtual void ShowPropertyPage(WPARAM wp,OPTIONSDIALOGPAGE& odp); + virtual void Accept(CQuotesProviderVisitor& visitor)const; + +private: + tstring BuildHTTPURL()const; + +}; + +#endif //__93121758_68c7_4836_b571_da84dfe82b84_QuotesProviderDukasCopy_h__ -- cgit v1.2.3