summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/SettingsDlg.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /protocols/CurrencyRates/src/SettingsDlg.h
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'protocols/CurrencyRates/src/SettingsDlg.h')
-rw-r--r--protocols/CurrencyRates/src/SettingsDlg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/CurrencyRates/src/SettingsDlg.h b/protocols/CurrencyRates/src/SettingsDlg.h
index b3cf8c0114..76c0868493 100644
--- a/protocols/CurrencyRates/src/SettingsDlg.h
+++ b/protocols/CurrencyRates/src/SettingsDlg.h
@@ -38,8 +38,8 @@ public:
EDelayMode GetDelayMode() const;
void SetDelayMode(EDelayMode nMode);
- WORD GetDelayTimeout() const;
- void SetDelayTimeout(WORD delay);
+ uint16_t GetDelayTimeout() const;
+ void SetDelayTimeout(uint16_t delay);
bool GetHistoryFlag() const;
void SetHistoryFlag(bool flag);
@@ -49,7 +49,7 @@ private:
EDelayMode m_modeDelay;
COLORREF m_rgbBkg;
COLORREF m_rgbText;
- WORD m_wDelay;
+ uint16_t m_wDelay;
bool m_bUseHistory;
};
@@ -57,7 +57,7 @@ private:
class CAdvProviderSettings
{
const ICurrencyRatesProvider *m_pCurrencyRatesProvider;
- WORD m_wLogMode;
+ uint16_t m_wLogMode;
bool m_bIsOnlyChangedHistory;
bool m_bIsOnlyChangedLogFile;
bool m_bShowPopupIfValueChanged;
@@ -73,8 +73,8 @@ public:
void SaveToDb() const;
- __forceinline WORD GetLogMode() const { return m_wLogMode; }
- __forceinline void SetLogMode(WORD wMode) { m_wLogMode = wMode; }
+ __forceinline uint16_t GetLogMode() const { return m_wLogMode; }
+ __forceinline void SetLogMode(uint16_t wMode) { m_wLogMode = wMode; }
__forceinline const CMStringW& GetHistoryFormat() const { return m_sFormatHistory; }
__forceinline void SetHistoryFormat(const CMStringW &rsFormat) { m_sFormatHistory = rsFormat; }