1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 #ifndef _ZIP_FILE_MEMBER_H_
18 #define _ZIP_FILE_MEMBER_H_
20 #include <localtypes.h>
23 Class encapsulating the representation of a compressed file contained in a
24 CZipFile archive file.
29 class CZipFileMember: public CBase
31 friend class CZipFile;
35 IMPORT_C TUint32 CRC32(void) const;
36 IMPORT_C TUint32 CompressedSize(void) const;
37 IMPORT_C const TFileName* Name(void) const;
38 IMPORT_C TUint32 UncompressedSize(void) const;
39 IMPORT_C virtual ~CZipFileMember();
43 /** The name of a compressed file*/
46 /** The method for compressing file*/
47 TUint16 iCompressionMethod;
49 /** The size of compressed file */
50 TUint32 iCompressedSize;
52 /** The size of uncompressed file*/
53 TUint32 iUncompressedSize;
55 /** CRC with 32 bits length in a compressed file*/
61 #endif /* !_ZIP_FILE_MEMBER_H_ */