QuaZIP quazip-0-4-3
quazipfileinfo.h
00001 #ifndef QUA_ZIPFILEINFO_H
00002 #define QUA_ZIPFILEINFO_H
00003 
00004 /*
00005 Copyright (C) 2005-2011 Sergey A. Tachenov
00006 
00007 This program is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU Lesser General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or (at
00010 your option) any later version.
00011 
00012 This program is distributed in the hope that it will be useful, but
00013 WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
00015 General Public License for more details.
00016 
00017 You should have received a copy of the GNU Lesser General Public License
00018 along with this program; if not, write to the Free Software Foundation,
00019 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00020 
00021 See COPYING file for the full LGPL text.
00022 
00023 Original ZIP package is copyrighted by Gilles Vollant, see
00024 quazip/(un)zip.h files for details, basically it's zlib license.
00025  **/
00026 
00027 #include <QByteArray>
00028 #include <QDateTime>
00029 
00030 #include "quazip_global.h"
00031 
00033 
00035 struct QUAZIP_EXPORT QuaZipFileInfo {
00037   QString name;
00039   quint16 versionCreated;
00041   quint16 versionNeeded;
00043   quint16 flags;
00045   quint16 method;
00047   QDateTime dateTime;
00049   quint32 crc;
00051   quint32 compressedSize;
00053   quint32 uncompressedSize;
00055   quint16 diskNumberStart;
00057   quint16 internalAttr;
00059   quint32 externalAttr;
00061   QString comment;
00063   QByteArray extra;
00064 };
00065 
00066 #endif