tsrc/fbsbitmapstub/inc/fbs.h
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 #ifndef __FBS_H__
       
    19 #define __FBS_H__
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <gdi.h>
       
    23 #include <bitmap.h>
       
    24     
       
    25 class CFbsBitmap
       
    26 	{
       
    27 	public:
       
    28 	
       
    29 		CFbsBitmap();
       
    30 		~CFbsBitmap();
       
    31 	
       
    32 	
       
    33 	TInt Create( const TSize& aSizeInPixels, TDisplayMode aDispMode);
       
    34  
       
    35 TInt Load(const TDesC& aFileName,TInt32 aId=0,TBool aShareIfLoaded=ETrue);
       
    36 	TInt Load(const TDesC& aFileName,TInt32 aId,TBool aShareIfLoaded,TUint aFileOffset);
       
    37 	TInt Load(RFile& aFile,TInt32 aId=0,TBool aShareIfLoaded=ETrue);
       
    38 	TInt Load(RFile& aFile,TInt32 aId,TBool aShareIfLoaded,TUint aFileOffset);		  
       
    39     
       
    40 	TInt Resize(const TSize& aSizeInPixels);
       
    41 	TSize SizeInPixels() const;
       
    42 	TSize value;
       
    43 
       
    44 	
       
    45 
       
    46 	
       
    47 	};
       
    48 
       
    49 class CFbsFont
       
    50 	{
       
    51 	};
       
    52 
       
    53 class RFbsSession
       
    54     {
       
    55     };
       
    56 
       
    57 class CFbsTypefaceStore
       
    58     {
       
    59     };
       
    60 
       
    61 #endif