Update contrib.
2 * Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef LINKEDFONTSPRIVATE_H__
20 #define LINKEDFONTSPRIVATE_H__
21 #include <linkedfonts.h>
25 class COpenFontLinkedTypefaceElementSpec;
28 * A type for a single element in a linked typeface description -
29 * Internal technology - this is used for client server calls -
30 * class basically the same as CLinkedTypefaceElement, but a T class.
33 typedef TBufC<KMaxTypefaceNameLength> TTypefaceName;
35 /* Internal technology - data body for CLinkedTypefaceSpecification */
36 class CLinkedTypefaceSpecificationBody : public CBase
38 friend class CLinkedTypefaceSpecification;
40 friend class CFontStore;
42 CLinkedTypefaceSpecificationBody();
43 ~CLinkedTypefaceSpecificationBody();
45 RPointerArray <CLinkedTypefaceElementSpec> iTypefaces;
46 RPointerArray <CLinkedTypefaceGroup> iGroups;
47 HBufC* iLinkedTypefaceName;
50 /* Internal technology - data body for COpenFontLinkedTypefaceSpecification */
51 class COpenFontLinkedTypefaceSpecificationBody : public CBase
53 friend class COpenFontLinkedTypefaceSpecification;
55 friend class CFontStore;
57 COpenFontLinkedTypefaceSpecificationBody();
58 ~COpenFontLinkedTypefaceSpecificationBody();
60 RPointerArray <COpenFontLinkedTypefaceElementSpec> iTypefaces;
61 HBufC* iLinkedTypefaceName;
63 TInt iSession; //Not owned
64 TInt iUsageCounter; //
67 const COpenFontGlyph* GlyphLinked(TInt aCode,TInt*& aNode);
68 void RasterizeL(TInt aCode,TOpenFontGlyphData* aGlyphData);
71 #endif //LINKEDFONTSPRIVATE_H__