diff options
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderVisitorTendency.cpp')
-rw-r--r-- | plugins/Quotes/src/QuotesProviderVisitorTendency.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp index 1e6d4fe384..1ebe6d7c0c 100644 --- a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp +++ b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp @@ -18,42 +18,6 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase&) }
}
-void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance&)
-{
- switch (m_chr) {
- case 'o':
- GetValue(DB_STR_GOOGLE_FINANCE_OPEN_VALUE);
- break;
- case 'd':
- GetValue(DB_STR_GOOGLE_FINANCE_DIFF);
- break;
- case 'y':
- GetValue(DB_STR_GOOGLE_FINANCE_PERCENT_CHANGE_TO_YERSTERDAY_CLOSE);
- break;
- }
-}
-
-void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo&)
-{
- switch (m_chr) {
- case 'o':
- GetValue(DB_STR_YAHOO_OPEN_VALUE);
- break;
- case 'h':
- GetValue(DB_STR_YAHOO_DAY_HIGH);
- break;
- case 'P':
- GetValue(DB_STR_YAHOO_PREVIOUS_CLOSE);
- break;
- case 'c':
- GetValue(DB_STR_YAHOO_CHANGE);
- break;
- case 'g':
- GetValue(DB_STR_YAHOO_DAY_LOW);
- break;
- }
-}
-
void CQuotesProviderVisitorTendency::GetValue(LPCSTR pszDbKeyName)
{
m_bValid = Quotes_DBReadDouble(m_hContact, QUOTES_MODULE_NAME, pszDbKeyName, m_dResult);
|