00001 #ifndef QUA_ZIPFILEINFO_H 00002 #define QUA_ZIPFILEINFO_H 00003 00004 /* 00005 * QuaZIP - a Qt/C++ wrapper for the ZIP/UNZIP package 00006 * Copyright (C) 2005 Sergey A. Tachenov 00007 * 00008 * This program is free software; you can redistribute it and/or modify it 00009 * under the terms of the GNU General Public License as published by the 00010 * Free Software Foundation; either version 2 of the License, or (at your 00011 * option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 00016 * Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License along 00019 * with this program; if not, write to the Free Software Foundation, Inc., 00020 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 **/ 00022 00023 #include <QByteArray> 00024 #include <QDateTime> 00025 00027 00029 struct QuaZipFileInfo { 00031 QString name; 00033 quint16 versionCreated; 00035 quint16 versionNeeded; 00037 quint16 flags; 00039 quint16 method; 00041 QDateTime dateTime; 00043 quint32 crc; 00045 quint32 compressedSize; 00047 quint32 uncompressedSize; 00049 quint16 diskNumberStart; 00051 quint16 internalAttr; 00053 quint32 externalAttr; 00055 QString comment; 00057 QByteArray extra; 00058 }; 00059 00060 #endif
1.4.6