diff -r 000000000000 -r e35f40988205 xml/xmlexpatparser/test/rtest/tsrc/unzip.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/xmlexpatparser/test/rtest/tsrc/unzip.h Thu Dec 17 09:29:21 2009 +0200 @@ -0,0 +1,41 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef UNZIP_H +#define UNZIP_H + +#include + +class RFs; +class CZipFile; +class CZipFileMember; + +class CUnzip : public CBase + { +public: + IMPORT_C static CUnzip* NewLC(RFs& aFs, const TDesC& aFileName); + virtual ~CUnzip(); + + IMPORT_C void ExtractL(const TDesC& aOutDir); +private: + CUnzip(RFs& aFs, const TDesC& aFileName); + void ExtractFileL(const CZipFileMember* aMember, const TDesC& aOutDir); + TFileName iZipFile; + RFs& iFs; + CZipFile* iZip; + }; + + +#endif // UNZIP_H