diff -r 000000000000 -r 5752a19fdefe imaging/imagingunittest/testcodec/inc/TestExifDerived.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/imaging/imagingunittest/testcodec/inc/TestExifDerived.h Wed Aug 25 12:29:52 2010 +0300 @@ -0,0 +1,63 @@ +// Copyright (c) 2005-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 TESTEXIFDERIVED_H + +#define TESTEXIFDERIVED_H + +#include +#include "JPEGExifPlugin.h" + +class CTestExifDerivedDecoder: public CJPEGExifDecoder + { +public: + static CTestExifDerivedDecoder* NewL(); + }; + + +class CTestExifDerivedEncoder: public CJPEGExifEncoder + { +public: + static CTestExifDerivedEncoder* NewL(); + }; + +class CFrameInfoStrings; +class CDummyExifDecoder: public CJPEGExifDecoderPlugin + { +public: + static CDummyExifDecoder* NewL(); + + MExifMetadata* ExifMetadata(); + + void ImageType(TInt aFrameNumber, TUid& aImageType, TUid& aImageSubType) const; +protected: + void ScanDataL(); + CFrameInfoStrings* FrameInfoStringsL(RFs& aFs, TInt aFrameNumber = 0); +protected: + }; + +class CDummyExifEncoder: public CJPEGExifEncoderPlugin + { +public: + static CDummyExifEncoder* NewL(); + virtual MExifMetadata* ExifMetadata(); +protected: + virtual void PrepareEncoderL(const CFrameImageData* aFrameImageData); + virtual void UpdateHeaderL(); + }; + + +#endif // ndef TESTEXIFDERIVED_H +