imaging/imagingplugins/codecs/JPEGCodec/Exif/ExifJpegTransformExtension.cpp
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2004-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 #include "icl/ExifJpegTransformExtension.h"
       
    17 #include "ExifJpegTransform.h"
       
    18 #include <icl/icl_uids.hrh>
       
    19 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    20 #include <icl/icl_uids_const.hrh>
       
    21 #include <icl/icl_uids_def.hrh>
       
    22 #endif
       
    23 
       
    24 
       
    25 const TUid KExifJpegTransformExtension = { KUidTransformJpegExtension };
       
    26 
       
    27 const TUid CJpegTransformExtension::Uid() const
       
    28 	{
       
    29 	return KExifJpegTransformExtension;
       
    30 	}
       
    31 
       
    32 MExifMetadata* CJpegTransformExtension::ExifMetadata()
       
    33 	{
       
    34 	return iOwner->ExifMetadata();	
       
    35 	}
       
    36 
       
    37 CJpegTransformExtension* CJpegTransformExtension::NewL(const CExifJpegTransform* aOwner)
       
    38 	{
       
    39 	return new (ELeave) CJpegTransformExtension(aOwner);
       
    40 	}
       
    41 	
       
    42 CJpegTransformExtension::CJpegTransformExtension(const CExifJpegTransform* aOwner)
       
    43 	: iOwner(aOwner)
       
    44 	{
       
    45 	
       
    46 	}
       
    47