diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 22:45:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 22:45:42 +0000 |
commit | 0afd3fae06d577b2f5a277597bd94d300b56e2b6 (patch) | |
tree | 43e146aac9a9b2223fae7d6f89c88432aaf9c2b7 /plugins/UserInfoEx/src/classMTime.cpp | |
parent | 3944b14a2aaad2fcb95bf448d9b18c35e6f74ec8 (diff) |
adaptation of UInfoEx for new functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@14919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/classMTime.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/classMTime.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/classMTime.cpp b/plugins/UserInfoEx/src/classMTime.cpp index ac8eee269a..9a357172a3 100644 --- a/plugins/UserInfoEx/src/classMTime.cpp +++ b/plugins/UserInfoEx/src/classMTime.cpp @@ -38,19 +38,19 @@ MTime::MTime() ZeroDate();
}
-MTime::MTime(SYSTEMTIME &st, const BYTE bIsLocal)
+MTime::MTime(SYSTEMTIME &st, bool bIsLocal)
{
_SysTime = st;
_isLocal = bIsLocal != FALSE;
}
-MTime::MTime(FILETIME &ft, const BYTE bIsLocal)
+MTime::MTime(FILETIME &ft, bool bIsLocal)
{
ZeroDate();
Set(ft, bIsLocal);
}
-MTime::MTime(LARGE_INTEGER &li, const BYTE bIsLocal)
+MTime::MTime(LARGE_INTEGER &li, bool bIsLocal)
{
ZeroDate();
Set(li, bIsLocal);
@@ -405,14 +405,14 @@ void MTime::FromStampAsLocal(const DWORD dwTimeStamp) UTCToLocal();
}
-void MTime::Set(LARGE_INTEGER liFileTime, const BYTE bIsLocal)
+void MTime::Set(LARGE_INTEGER liFileTime, bool bIsLocal)
{
if (liFileTime.QuadPart < 0i64) liFileTime.QuadPart = 0;
FileTimeToSystemTime((LPFILETIME)&liFileTime, &_SysTime);
_isLocal = bIsLocal != FALSE;
}
-void MTime::Set(FILETIME &ftFileTime, const BYTE bIsLocal)
+void MTime::Set(const FILETIME &ftFileTime, bool bIsLocal)
{
FileTimeToSystemTime(&ftFileTime, &_SysTime);
_isLocal = bIsLocal != FALSE;
@@ -423,7 +423,7 @@ void MTime::Set(const MTime &mt) Set(mt.SystemTime(), mt.IsLocal());
}
-void MTime::Set(SYSTEMTIME &st, const BYTE bIsLocal)
+void MTime::Set(const SYSTEMTIME &st, bool bIsLocal)
{
memcpy(&_SysTime, &st, sizeof(SYSTEMTIME));
_isLocal = bIsLocal != FALSE;
|