1
#ifndef QUA_ZIPFILEINFO_H
2
#define QUA_ZIPFILEINFO_H
5
-- A kind of "standard" GPL license statement --
6
QuaZIP - a Qt/C++ wrapper for the ZIP/UNZIP package
7
Copyright (C) 2005-2007 Sergey A. Tachenov
9
This program is free software; you can redistribute it and/or modify it
10
under the terms of the GNU General Public License as published by the
11
Free Software Foundation; either version 2 of the License, or (at your
12
option) any later version.
14
This program is distributed in the hope that it will be useful, but
15
WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17
Public License for more details.
19
You should have received a copy of the GNU General Public License along
20
with this program; if not, write to the Free Software Foundation, Inc.,
21
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
-- A kind of "standard" GPL license statement ends here --
25
See COPYING file for GPL.
27
You are also permitted to use QuaZIP under the terms of LGPL (see
28
COPYING.LGPL). You are free to choose either license, but please note
29
that QuaZIP makes use of Qt, which is not licensed under LGPL. So if
30
you are using Open Source edition of Qt, you therefore MUST use GPL for
31
your code based on QuaZIP, since it would be also based on Qt in this
32
case. If you are Qt commercial license owner, then you are free to use
33
QuaZIP as long as you respect either GPL or LGPL for QuaZIP code.
39
/// Information about a file inside archive.
40
/** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to
41
* fill this structure. */
42
struct QuaZipFileInfo {
45
/// Version created by.
46
quint16 versionCreated;
47
/// Version needed to extract.
48
quint16 versionNeeded;
49
/// General purpose flags.
51
/// Compression method.
53
/// Last modification date and time.
57
/// Compressed file size.
58
quint32 compressedSize;
59
/// Uncompressed file size.
60
quint32 uncompressedSize;
61
/// Disk number start.
62
quint16 diskNumberStart;
63
/// Internal file attributes.
65
/// External file attributes.