blob: 870ab00634a665f207f0a406f787aa05fb39163a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef __00c159f3_525a_41e9_8fc5_00464b6fafa3_QuotesProviderVisitorFormatSpecificator_h__
#define __00c159f3_525a_41e9_8fc5_00464b6fafa3_QuotesProviderVisitorFormatSpecificator_h__
#include "quotesprovidervisitor.h"
class CQuotesProviderVisitorFormatSpecificator : public CQuotesProviderVisitor
{
public:
struct CFormatSpecificator
{
CFormatSpecificator(const tstring& rsSymbol = _T(""),const tstring& rsDec = _T(""))
: m_sSymbol(rsSymbol),m_sDesc(rsDec){}
tstring m_sSymbol;
tstring m_sDesc;
};
typedef std::vector<CFormatSpecificator> TFormatSpecificators;
public:
CQuotesProviderVisitorFormatSpecificator();
~CQuotesProviderVisitorFormatSpecificator();
const TFormatSpecificators& GetSpecificators()const;
private:
virtual void Visit(const CQuotesProviderDukasCopy& rProvider);
virtual void Visit(const CQuotesProviderGoogle& rProvider);
virtual void Visit(const CQuotesProviderBase& rProvider);
virtual void Visit(const CQuotesProviderGoogleFinance& rProvider);
virtual void Visit(const CQuotesProviderYahoo& rProvider);
private:
TFormatSpecificators m_aSpecificators;
};
#endif//__00c159f3_525a_41e9_8fc5_00464b6fafa3_QuotesProviderVisitorFormatSpecificator_h__
|