tsrc/imagedecoderstub/src/imageconversion.cpp
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "imageconversion.h"
       
    19 
       
    20 CImageDecoder::CImageDecoder()
       
    21 	{
       
    22 	iFrameInfo.iFrameCoordsInPixels = TRect( 0,0, 100,100 );
       
    23 	iFrameInfo.iFrameDisplayMode = EColor16MCopy;
       
    24 	}
       
    25 
       
    26 CImageDecoder::~CImageDecoder()
       
    27 	{
       
    28 	
       
    29 	}
       
    30 		
       
    31 		
       
    32 const TFrameInfo& CImageDecoder::FrameInfo( TInt aFrameNumber ) const
       
    33 	{
       
    34 	return iFrameInfo;
       
    35 	}
       
    36 
       
    37 		//FrameInfo();
       
    38 		
       
    39 		//iDecoder->FrameInfo().iFrameCoordsInPixels.Size(),
       
    40 		//                     iDecoder->FrameInfo().iFrameDisplayMode );
       
    41 
       
    42 void CImageDecoder::Convert( TRequestStatus* aRequestStatus, CFbsBitmap& aDestination, TInt aFrameNumber )
       
    43 	{
       
    44 	
       
    45 	}
       
    46 		//iDecoder->Convert( &iStatus, *iBitmap, 0 );
       
    47 		
       
    48 void CImageDecoder::Cancel()
       
    49 	{
       
    50 	
       
    51 	}
       
    52 		//Cancel
       
    53 
       
    54 CImageDecoder* CImageDecoder::DataNewL(RFs& aFs, const TDesC8& aSourceData ) //, const TOptions aOptions, const TUid aImageType, const TUid aImageSubType , const TUid aDecoderUid);
       
    55 
       
    56 	{
       
    57 	
       
    58 	}