fontservices/fontstore/src/FNTSTD.H
branchRCL_3
changeset 1 e96e8a131979
parent 0 1fb32624e06b
child 5 9a2be90ac9a2
equal deleted inserted replaced
0:1fb32624e06b 1:e96e8a131979
    39 	EFntSessionCacheIndexOutOfRange,
    39 	EFntSessionCacheIndexOutOfRange,
    40 	EFntMetricsIndexOutOfBounds,
    40 	EFntMetricsIndexOutOfBounds,
    41 	EFntNoFontFound,
    41 	EFntNoFontFound,
    42 	EFntRemovingAlreadyDeletedLinkedFont,
    42 	EFntRemovingAlreadyDeletedLinkedFont,
    43 	EFntOverFlow,
    43 	EFntOverFlow,
       
    44 	EFntMetricsNotOnHeap,
       
    45 	EFntPointerNotByteAligned,
    44 	};
    46 	};
    45 
    47 
    46 /**
    48 /**
    47 @internalComponent
    49 @internalComponent
    48 */
    50 */
    51 // COpenFontSessionCacheList is placed here rather than openfont.cpp because it is used in fntstore.cpp as well.
    53 // COpenFontSessionCacheList is placed here rather than openfont.cpp because it is used in fntstore.cpp as well.
    52 
    54 
    53 class COpenFontSessionCacheListItem;
    55 class COpenFontSessionCacheListItem;
    54 class COpenFont;
    56 class COpenFont;
    55 
    57 
    56 #ifdef FNTSTORE_SUPPORT_FMM
       
    57 class COpenFontSessionCacheList
    58 class COpenFontSessionCacheList
    58 /**
    59 /**
    59 @internalComponent
    60 @internalComponent
    60 */
    61 */
    61 	{
    62 	{
    74 
    75 
    75 inline COpenFontSessionCacheList::COpenFontSessionCacheList():
    76 inline COpenFontSessionCacheList::COpenFontSessionCacheList():
    76 	iStartOffset(0)
    77 	iStartOffset(0)
    77 	{
    78 	{
    78 	}
    79 	}
    79 #else
       
    80 class COpenFontSessionCacheList
       
    81 /**
       
    82 @internalComponent
       
    83 */
       
    84 	{
       
    85 	friend class COpenFont;
       
    86 
       
    87 	public:
       
    88 	inline COpenFontSessionCacheList();
       
    89 	void Delete(RHeap* aHeap);
       
    90 	void DeleteCache(RHeap* aHeap,TInt aSessionHandle);
       
    91 
       
    92 	private:
       
    93 	void DeleteFontGlyphs(RHeap* aHeap,const COpenFont* aFont);
       
    94 
       
    95 	COpenFontSessionCacheListItem* iStart;
       
    96 	};
       
    97 
       
    98 inline COpenFontSessionCacheList::COpenFontSessionCacheList():
       
    99 	iStart(NULL)
       
   100 	{
       
   101 	}
       
   102 #endif // FNTSTORE_SUPPORT_FMM
       
   103 
    80 
   104 /**
    81 /**
   105 @internalComponent
    82 @internalComponent
   106 */
    83 */
   107 #ifdef __GCC32__
    84 #ifdef __GCC32__