examples/SysLibs/EzlibExample/ezlibexample.h

Go to the documentation of this file.
00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // Contains CEzlibExample class.
00015 //
00016 
00017 
00018 
00022 #ifndef __EZLIBEXAMPLE_H__
00023 #define __EZLIBEXAMPLE_H__
00024 
00025 #include <zipfile.h>
00026 
00033 class CEzlibExample: public CBase
00034         {
00035 public:
00036         static CEzlibExample* NewLC();
00037 
00038         ~CEzlibExample();
00039         
00040         void OpenZipFileL(RFs& aFsSession);
00041         void GetPropertiesL(TFileName& aFileName, RFs& aFsSession);
00042         void ExtractFilesL(const CZipFileMember* aMember, CZipFile* aZipFile, RFs& aFsSession, const TDesC& aOutputPath);
00043         void CompressToGzipFileL(RFs& aFsSession);
00044         void ExtractGzipFileL(RFs& aFsSession);
00045 
00046 private:
00047         CEzlibExample();
00048         void ConstructL();
00049 private:
00051         CConsoleBase* iConsole;
00052     };
00053 
00054 #endif //__EZLIBEXAMPLE_H__

Generated by  doxygen 1.6.2