2 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
19 #ifndef _ZIP_FILE_MEMBER_H_
20 #define _ZIP_FILE_MEMBER_H_
22 #include "localtypes.h"
25 Class encapsulating the representation of a compressed file contained in a
26 CZipFile archive file.
31 class CZipFileMember: public CBase
33 friend class CZipFile;
37 IMPORT_C TUint32 CRC32(void) const;
38 IMPORT_C TUint32 CompressedSize(void) const;
39 IMPORT_C const TFileName* Name(void) const;
40 IMPORT_C TUint32 UncompressedSize(void) const;
41 IMPORT_C virtual ~CZipFileMember();
45 /** The name of a compressed file*/
48 /** The method for compressing file*/
49 TUint16 iCompressionMethod;
51 /** The size of compressed file */
52 TUint32 iCompressedSize;
54 /** The size of uncompressed file*/
55 TUint32 iUncompressedSize;
57 /** CRC with 32 bits length in a compressed file*/
63 #endif /* !_ZIP_FILE_MEMBER_H_ */