// 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 <iclexif.h>
#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