diff -r 000000000000 -r 40261b775718 mmplugins/imagingplugins/imagedisplay/plugins/mng/PngLayer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmplugins/imagingplugins/imagedisplay/plugins/mng/PngLayer.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,45 @@ +// Copyright (c) 2004-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 __PNGLAYER_H__ + +#define __PNGLAYER_H__ +/** @file + @internalTechnology */ + +#include "Providers.h" +#include "MngObjects.h" +#include "PNGCodec.h" + +class MInputStream; +class MImageStreamDecoder; + +class CPngLayer: public CMngLayer + { +public: + static CPngLayer* NewL(); + ~CPngLayer(); + + void AppendChunkL(const TMNGChunkHeader& aHeader,MInputStream& aInpStream); + void ExecuteL(CMngPlayer& aPlayer, TMngExecuteResult& aResult); + +protected: + CBufFlat* iPngBuffer; + TInt iDataSize; + MImageStreamDecoder* iPngCodec; + }; + + +#endif // ndef __PNGLAYER_H__