quazipfileinfo.h

00001 #ifndef QUA_ZIPFILEINFO_H
00002 #define QUA_ZIPFILEINFO_H
00003 
00004 /*
00005 -- A kind of "standard" GPL license statement --
00006 QuaZIP - a Qt/C++ wrapper for the ZIP/UNZIP package
00007 Copyright (C) 2005-2007 Sergey A. Tachenov
00008 
00009 This program is free software; you can redistribute it and/or modify it
00010 under the terms of the GNU General Public License as published by the
00011 Free Software Foundation; either version 2 of the License, or (at your
00012 option) any later version.
00013 
00014 This program is distributed in the hope that it will be useful, but
00015 WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00017 Public License for more details.
00018 
00019 You should have received a copy of the GNU General Public License along
00020 with this program; if not, write to the Free Software Foundation, Inc.,
00021 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00022 
00023 -- A kind of "standard" GPL license statement ends here --
00024 
00025 See COPYING file for GPL.
00026 
00027 You are also permitted to use QuaZIP under the terms of LGPL (see
00028 COPYING.LGPL). You are free to choose either license, but please note
00029 that QuaZIP makes use of Qt, which is not licensed under LGPL. So if
00030 you are using Open Source edition of Qt, you therefore MUST use GPL for
00031 your code based on QuaZIP, since it would be also based on Qt in this
00032 case. If you are Qt commercial license owner, then you are free to use
00033 QuaZIP as long as you respect either GPL or LGPL for QuaZIP code.
00034  **/
00035 
00036 #include <QByteArray>
00037 #include <QDateTime>
00038 
00040 
00042 struct QuaZipFileInfo {
00044   QString name;
00046   quint16 versionCreated;
00048   quint16 versionNeeded;
00050   quint16 flags;
00052   quint16 method;
00054   QDateTime dateTime;
00056   quint32 crc;
00058   quint32 compressedSize;
00060   quint32 uncompressedSize;
00062   quint16 diskNumberStart;
00064   quint16 internalAttr;
00066   quint32 externalAttr;
00068   QString comment;
00070   QByteArray extra;
00071 };
00072 
00073 #endif
Generated by  doxygen 1.6.2-20100208