imaging/imagingfws/ImageDisplay/plugins/Exif/ExifImageDisplay.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 EXIFIMAGEDISPLAY_H
       
    17 #define EXIFIMAGEDISPLAY_H
       
    18 
       
    19 /** 	@file
       
    20 	@internalComponent */
       
    21 
       
    22 #include "GenericIclWrapper.h"
       
    23 #include <icl/exifimagedisplayext.h>
       
    24 
       
    25 
       
    26 class MExifMetadataReader;
       
    27 
       
    28 class CExifImageDisplayPlugin : public CGenericImageDisplayPlugin,
       
    29 								protected MExifImageDisplayExtension
       
    30 	{
       
    31 public:
       
    32  	static CExifImageDisplayPlugin* NewL();
       
    33 	~CExifImageDisplayPlugin();
       
    34 
       
    35 protected:
       
    36 // from the MExifImageDisplayExtension
       
    37 	virtual TInt GetExifMetadataReader(MExifMetadataReader*& aPtr);
       
    38 	virtual const TUid Uid() const;
       
    39 	virtual void Release();
       
    40 	virtual TInt SetScaleQuality(TInt aQualityLevel);
       
    41 	virtual TInt SetMaximumReductionFactor(TInt aMaxReductionFactor);	
       
    42 
       
    43 // CIclWrapperImageDisplayPlugin
       
    44 	virtual TBool ThumbnailExists() const;
       
    45 	virtual TUint EffectiveRotation() const;
       
    46 	virtual void  AfterOpenL();
       
    47 	virtual TUid  RequiredImageClass() const;
       
    48 	virtual TUint ImageStatus() const;
       
    49 
       
    50 // from the CImageDisplayPlugin
       
    51 	virtual TInt ExtensionInterface(TUid aIFaceUid, TAny*& aIFacePtr);
       
    52 
       
    53 private:
       
    54 	CExifImageDisplayPlugin();
       
    55 
       
    56 private:
       
    57 	MExifMetadataReader* iExifReader;
       
    58 	};	
       
    59 
       
    60 
       
    61 #endif // EXIFIMAGEDISPLAY_H
       
    62