?? quazipfileinfo.h
字號:
#ifndef QUA_ZIPFILEINFO_H#define QUA_ZIPFILEINFO_H/*-- A kind of "standard" GPL license statement --QuaZIP - a Qt/C++ wrapper for the ZIP/UNZIP packageCopyright (C) 2005-2007 Sergey A. TachenovThis program is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2 of the License, or (at youroption) any later version.This program is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GeneralPublic License for more details.You should have received a copy of the GNU General Public License alongwith this program; if not, write to the Free Software Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307 USA-- A kind of "standard" GPL license statement ends here --See COPYING file for GPL.You are also permitted to use QuaZIP under the terms of LGPL (seeCOPYING.LGPL). You are free to choose either license, but please notethat QuaZIP makes use of Qt, which is not licensed under LGPL. So ifyou are using Open Source edition of Qt, you therefore MUST use GPL foryour code based on QuaZIP, since it would be also based on Qt in thiscase. If you are Qt commercial license owner, then you are free to useQuaZIP as long as you respect either GPL or LGPL for QuaZIP code. **/#include <QByteArray>#include <QDateTime>/// Information about a file inside archive./** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to * fill this structure. */struct QuaZipFileInfo { /// File name. QString name; /// Version created by. quint16 versionCreated; /// Version needed to extract. quint16 versionNeeded; /// General purpose flags. quint16 flags; /// Compression method. quint16 method; /// Last modification date and time. QDateTime dateTime; /// CRC. quint32 crc; /// Compressed file size. quint32 compressedSize; /// Uncompressed file size. quint32 uncompressedSize; /// Disk number start. quint16 diskNumberStart; /// Internal file attributes. quint16 internalAttr; /// External file attributes. quint32 externalAttr; /// Comment. QString comment; /// Extra field. QByteArray extra;};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -