sl@0: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #include sl@0: sl@0: /** sl@0: Retrieve CRC value in a compressed file contained in a CZipFile archive file. sl@0: sl@0: @return the 32 bit integer contains the CRC value sl@0: */ sl@0: EXPORT_C TUint32 CZipFileMember::CRC32(void) const sl@0: { sl@0: return iCRC32; sl@0: } sl@0: sl@0: /** sl@0: Retrieve the size of compressed file contained in a CZipFile archive file. sl@0: sl@0: @return the size of a compressed file sl@0: */ sl@0: EXPORT_C TUint32 CZipFileMember::CompressedSize(void) const sl@0: { sl@0: return iCompressedSize; sl@0: } sl@0: sl@0: /** sl@0: Retrieve the name of a compressed file contained in a CZipFile archive file. sl@0: sl@0: @return the name of a compressed file sl@0: */ sl@0: EXPORT_C const TFileName* CZipFileMember::Name(void) const sl@0: { sl@0: return iName; sl@0: } sl@0: sl@0: /** sl@0: Retrieve the size of uncompressed file contained in a CZipFile archive file. sl@0: sl@0: @return the size of a uncompressed file sl@0: */ sl@0: EXPORT_C TUint32 CZipFileMember::UncompressedSize(void) const sl@0: { sl@0: return iUncompressedSize; sl@0: } sl@0: sl@0: /** sl@0: Destructor sl@0: */ sl@0: EXPORT_C CZipFileMember::~CZipFileMember() sl@0: { sl@0: delete iName; sl@0: }