diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:23:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:23:45 +0300 |
commit | 4cdd4f85ebe39389b7f45d6da8c39a368259b866 (patch) | |
tree | afe20ee1b4d37e72f9a527db738d6b19693957dc /protocols/CurrencyRates/src/Forex.cpp | |
parent | 354f557eb6cfcaf4010161032c6da27d253e71ad (diff) |
CurrencyRates: all settings migrated to CMOption<>
Diffstat (limited to 'protocols/CurrencyRates/src/Forex.cpp')
-rw-r--r-- | protocols/CurrencyRates/src/Forex.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/CurrencyRates/src/Forex.cpp b/protocols/CurrencyRates/src/Forex.cpp index 2ffa99cd54..45477a453f 100644 --- a/protocols/CurrencyRates/src/Forex.cpp +++ b/protocols/CurrencyRates/src/Forex.cpp @@ -259,6 +259,15 @@ PLUGININFOEX pluginInfoEx = CMPlugin::CMPlugin() : PLUGIN<CMPlugin>(MODULENAME, pluginInfoEx), + + // main settings + wRateType(MODULENAME, "CC_RefreshRateType", RRT_MINUTES), + wRateValue(MODULENAME, "CC_RefreshRateValue", 1), + wszApiKey(MODULENAME, "CC_ApiKey"), + wszStatusFormat(MODULENAME, "CC_StatusMessageFormat"), + wszDisplayFormat(MODULENAME, "CC_DspNameFrmt", L"1 %f = %r %i"), + wszTendencyFormat(MODULENAME, "CC_TendencyFormat", L"%r>%p"), + // log settings wLogMode(MODULENAME, "CC_LogMode", lmDisabled), bIsOnlyChangedHistory(MODULENAME, "CC_AddToHistoryOnlyIfValueIsChanged", false), |