diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2018-07-27 10:35:17 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2018-07-27 10:35:17 +0300 |
commit | 29d414e39c3aa15f4877e597c1cac2d83b199078 (patch) | |
tree | b54b2ce556715727bd21c8e5dd8852b925a7bc10 /plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h | |
parent | 24cc466028da7e224c12babfbfe425a694052be9 (diff) |
CurrencyRates: quotes replaced to currencyrates
Diffstat (limited to 'plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h')
-rw-r--r-- | plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h b/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h new file mode 100644 index 0000000000..d0497889ae --- /dev/null +++ b/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorTendency.h @@ -0,0 +1,25 @@ +#ifndef __AD721194_E9944366_9CF1_0307460EF32F_CurrencyRatesProviderVisitorTendency_h__ +#define __AD721194_E9944366_9CF1_0307460EF32F_CurrencyRatesProviderVisitorTendency_h__ + +class CCurrencyRatesProviderVisitorTendency : public CCurrencyRatesProviderVisitor +{ +public: + CCurrencyRatesProviderVisitorTendency(MCONTACT hContact, wchar_t chr); + + bool IsValid()const{ return m_bValid; } + double GetResult()const{ return m_dResult; } + +private: + virtual void Visit(const CCurrencyRatesProviderBase& rProvider); + +private: + void GetValue(LPCSTR pszDbKeyName); + +private: + MCONTACT m_hContact; + wchar_t m_chr; + bool m_bValid; + double m_dResult; +}; + +#endif //__AD721194_E9944366_9CF1_0307460EF32F_CurrencyRatesProviderVisitorTendency_h__ |