diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /plugins/UserInfoEx/src/classMTime.h | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'plugins/UserInfoEx/src/classMTime.h')
-rw-r--r-- | plugins/UserInfoEx/src/classMTime.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/classMTime.h b/plugins/UserInfoEx/src/classMTime.h index eaf5508130..508de1c34a 100644 --- a/plugins/UserInfoEx/src/classMTime.h +++ b/plugins/UserInfoEx/src/classMTime.h @@ -33,7 +33,7 @@ public: MTime(SYSTEMTIME &st, bool bIsLocal);
MTime(FILETIME &ft, bool bIsLocal);
MTime(LARGE_INTEGER &li, bool bIsLocal);
- MTime(DWORD dwStamp);
+ MTime(uint32_t dwStamp);
MTime(const MTime& mtime);
// checks
@@ -45,12 +45,12 @@ public: LONG Compare(SYSTEMTIME st) const;
LONG Compare(const FILETIME &ft) const;
LONG Compare(const MTime &mt) const;
- LONG Compare(const DWORD dwTimeStamp) const;
+ LONG Compare(const uint32_t dwTimeStamp) const;
// get value from class
LARGE_INTEGER LargeInt() const;
FILETIME FileTime() const;
- DWORD TimeStamp() const;
+ uint32_t TimeStamp() const;
SYSTEMTIME SystemTime() const { return _SysTime; }
uint16_t DaysInMonth(const uint16_t &wMonth) const;
@@ -81,8 +81,8 @@ public: // set value to class
void ZeroDate();
- void FromStampAsUTC(const DWORD dwTimeStamp);
- void FromStampAsLocal(const DWORD dwTimeStamp);
+ void FromStampAsUTC(const uint32_t dwTimeStamp);
+ void FromStampAsLocal(const uint32_t dwTimeStamp);
void Set(const FILETIME &ftFileTime, bool bIsLocal);
void Set(LARGE_INTEGER liFileTime, bool bIsLocal);
void Set(const SYSTEMTIME &st, bool bIsLocal);
@@ -105,7 +105,7 @@ public: int DBWriteStamp(MCONTACT hContact, LPCSTR pszModule, LPCSTR pszSetting);
// operatoren
- void operator=(DWORD& dwTimeStamp) { FromStampAsUTC(dwTimeStamp); };
+ void operator=(uint32_t& dwTimeStamp) { FromStampAsUTC(dwTimeStamp); };
void operator=(FILETIME &ftFileTime) { Set(ftFileTime, FALSE); };
void operator=(LARGE_INTEGER &liFileTime) { Set(liFileTime, FALSE); };
void operator=(SYSTEMTIME &st) { Set(st, FALSE); };
|