Main Page
Related Pages
Namespaces
Classes
Files
File List
C:
Users
tdrac
AppData
Local
Temp
ZipArchive-Deploy
7cf2e453-55d1-4019-9f4f-0538167be5a7
FileInfo.h
Go to the documentation of this file.
1
2
// This source file is part of the ZipArchive Library Open Source distribution
3
// and is Copyrighted 2000 - 2022 by Artpol Software - Tadeusz Dracz
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your option) any later version.
9
//
10
// For the licensing details refer to the License.txt file.
11
//
12
// Web Site: https://www.artpol-software.com
14
21
#if !defined(ZIPARCHIVE_FILEINFO_DOT_H)
22
#define ZIPARCHIVE_FILEINFO_DOT_H
23
24
#if _MSC_VER > 1000
25
#pragma once
26
#endif
27
28
#include "stdafx.h"
29
#include "ZipExport.h"
30
#include "
ZipPlatform.h
"
31
32
namespace
ZipArchiveLib
33
{
37
struct
ZIP_API
CFileInfo
38
{
39
public
:
43
CFileInfo
()
44
{
45
m_uSize = 0;
46
m_uAttributes = 0;
47
m_tCreationTime = m_tModificationTime = m_tLastAccessTime = (time_t)0;
48
}
49
ZIP_FILE_USIZE
m_uSize
;
50
DWORD
m_uAttributes
;
51
time_t
m_tCreationTime
;
52
time_t
m_tModificationTime
;
53
time_t
m_tLastAccessTime
;
54
63
bool
IsDirectory
()
const
64
{
65
return
ZipPlatform::IsDirectory
(m_uAttributes);
66
}
67
};
68
}
69
#endif
The ZipArchive Library Copyright © 2000 - 2022 Artpol Software - Tadeusz Dracz. Generated at Sat Dec 17 2022 19:57:03.