00001 #ifndef QUA_ZIPNEWINFO_H 00002 #define QUA_ZIPNEWINFO_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 <QDateTime> 00024 #include <QString> 00025 00027 00032 struct QuaZipNewInfo { 00034 00037 QString name; 00039 00044 QDateTime dateTime; 00046 quint16 internalAttr; 00048 quint32 externalAttr; 00050 00052 QString comment; 00054 QByteArray extraLocal; 00056 QByteArray extraGlobal; 00058 00061 ulong uncompressedSize; 00063 00067 QuaZipNewInfo(const QString& name); 00069 00077 QuaZipNewInfo(const QString& name, const QString& file); 00079 00093 void setFileDateTime(const QString& file); 00094 }; 00095 00096 #endif
1.4.6