tsrc/fbsbitmapstub/src/fbs.cpp
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     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 
       
    19 #include <fbs.h>
       
    20 
       
    21 
       
    22 CFbsBitmap::CFbsBitmap()
       
    23 	{
       
    24 	
       
    25 	}
       
    26 	
       
    27 	
       
    28 CFbsBitmap::~CFbsBitmap()
       
    29 	{
       
    30 	
       
    31 	}
       
    32 
       
    33 TInt CFbsBitmap::Create( const TSize& /*aSizeInPixels*/, TDisplayMode /*aDispMode*/)
       
    34 	{
       
    35     return KErrNone;
       
    36 	}
       
    37 
       
    38 TInt CFbsBitmap::Load(const TDesC& aFileName,
       
    39                       TInt32 aId,TBool aShareIfLoaded)
       
    40     {
       
    41     return KErrNone;
       
    42     }
       
    43 
       
    44 
       
    45 TInt CFbsBitmap::Load(const TDesC& aFileName,
       
    46                       TInt32 aId,TBool aShareIfLoaded,
       
    47                       TUint aFileOffset)
       
    48     {
       
    49     return KErrNone;
       
    50     }
       
    51 	
       
    52 TInt CFbsBitmap::Load(RFile& aFile,TInt32 aId,TBool aShareIfLoaded)
       
    53     {
       
    54     return KErrNone;
       
    55     }
       
    56     
       
    57 TInt CFbsBitmap::Load(RFile& aFile,TInt32 aId,TBool aShareIfLoaded,TUint aFileOffset)
       
    58     {
       
    59     return KErrNone;
       
    60     }
       
    61     
       
    62 TInt CFbsBitmap::Resize(const TSize& aSizeInPixels)
       
    63     {
       
    64     value =  aSizeInPixels  ; 
       
    65     return KErrNone;
       
    66     }  
       
    67     
       
    68 TSize CFbsBitmap::SizeInPixels() const
       
    69     {
       
    70     return value;
       
    71     } 	
       
    72