FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
quazipfileinfo.h
1 #ifndef QUA_ZIPFILEINFO_H
2 #define QUA_ZIPFILEINFO_H
3 
4 /*
5 Copyright (C) 2005-2011 Sergey A. Tachenov
6 
7 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or (at
10 your option) any later version.
11 
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
15 General Public License for more details.
16 
17 You should have received a copy of the GNU Lesser General Public License
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 
21 See COPYING file for the full LGPL text.
22 
23 Original ZIP package is copyrighted by Gilles Vollant, see
24 quazip/(un)zip.h files for details, basically it's zlib license.
25  **/
26 
27 #include <QByteArray>
28 #include <QDateTime>
29 
30 #include "quazip_global.h"
31 
33 
35 struct QUAZIP_EXPORT QuaZipFileInfo {
37  QString name;
39  quint16 versionCreated;
41  quint16 versionNeeded;
43  quint16 flags;
45  quint16 method;
47  QDateTime dateTime;
49  quint32 crc;
51  quint32 compressedSize;
55  quint16 diskNumberStart;
57  quint16 internalAttr;
59  quint32 externalAttr;
61  QString comment;
63  QByteArray extra;
64 };
65 
66 #endif
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:63
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:43
QString name
File name.
Definition: quazipfileinfo.h:37
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:39
QString comment
Comment.
Definition: quazipfileinfo.h:61
quint32 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:51
Information about a file inside archive.
Definition: quazipfileinfo.h:35
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:41
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:57
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:47
quint32 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:53
quint32 crc
CRC.
Definition: quazipfileinfo.h:49
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:55
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:59
quint16 method
Compression method.
Definition: quazipfileinfo.h:45