imaging/imagingunittest/testcodec/inc/TestExifDerived.h
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef TESTEXIFDERIVED_H
       
    17 
       
    18 #define TESTEXIFDERIVED_H
       
    19 
       
    20 #include <iclexif.h>
       
    21 #include "JPEGExifPlugin.h"
       
    22 
       
    23 class CTestExifDerivedDecoder: public CJPEGExifDecoder
       
    24 	{
       
    25 public:
       
    26 	static CTestExifDerivedDecoder* NewL();
       
    27 	};
       
    28 
       
    29 
       
    30 class CTestExifDerivedEncoder: public CJPEGExifEncoder 
       
    31 	{
       
    32 public:
       
    33 	static CTestExifDerivedEncoder* NewL();	
       
    34 	};
       
    35 	
       
    36 class CFrameInfoStrings;
       
    37 class CDummyExifDecoder: public CJPEGExifDecoderPlugin 
       
    38 	{
       
    39 public:
       
    40 	static CDummyExifDecoder* NewL();
       
    41 	
       
    42 	MExifMetadata* ExifMetadata(); 
       
    43 	
       
    44 	void ImageType(TInt aFrameNumber, TUid& aImageType, TUid& aImageSubType) const;
       
    45 protected:	
       
    46 	void ScanDataL();
       
    47 	CFrameInfoStrings* FrameInfoStringsL(RFs& aFs, TInt aFrameNumber = 0);
       
    48 protected:
       
    49 	};
       
    50 	
       
    51 class CDummyExifEncoder: public CJPEGExifEncoderPlugin 
       
    52 	{
       
    53 public:
       
    54 	static CDummyExifEncoder* NewL();
       
    55 	virtual MExifMetadata* ExifMetadata(); 
       
    56 protected:
       
    57 	virtual void PrepareEncoderL(const CFrameImageData* aFrameImageData);
       
    58 	virtual void UpdateHeaderL();
       
    59 	};
       
    60 	
       
    61 
       
    62 #endif // ndef TESTEXIFDERIVED_H
       
    63