sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
#ifndef LINKEDFONTSPRIVATE_H__
|
sl@0
|
20 |
#define LINKEDFONTSPRIVATE_H__
|
sl@0
|
21 |
#include <linkedfonts.h>
|
sl@0
|
22 |
#include "FNTSTD.H"
|
sl@0
|
23 |
|
sl@0
|
24 |
class CFontStore;
|
sl@0
|
25 |
class COpenFontLinkedTypefaceElementSpec;
|
sl@0
|
26 |
|
sl@0
|
27 |
/**
|
sl@0
|
28 |
* A type for a single element in a linked typeface description -
|
sl@0
|
29 |
* Internal technology - this is used for client server calls -
|
sl@0
|
30 |
* class basically the same as CLinkedTypefaceElement, but a T class.
|
sl@0
|
31 |
*/
|
sl@0
|
32 |
|
sl@0
|
33 |
typedef TBufC<KMaxTypefaceNameLength> TTypefaceName;
|
sl@0
|
34 |
|
sl@0
|
35 |
/* Internal technology - data body for CLinkedTypefaceSpecification */
|
sl@0
|
36 |
class CLinkedTypefaceSpecificationBody : public CBase
|
sl@0
|
37 |
{
|
sl@0
|
38 |
friend class CLinkedTypefaceSpecification;
|
sl@0
|
39 |
friend class CFont;
|
sl@0
|
40 |
friend class CFontStore;
|
sl@0
|
41 |
private:
|
sl@0
|
42 |
CLinkedTypefaceSpecificationBody();
|
sl@0
|
43 |
~CLinkedTypefaceSpecificationBody();
|
sl@0
|
44 |
private:
|
sl@0
|
45 |
RPointerArray <CLinkedTypefaceElementSpec> iTypefaces;
|
sl@0
|
46 |
RPointerArray <CLinkedTypefaceGroup> iGroups;
|
sl@0
|
47 |
HBufC* iLinkedTypefaceName;
|
sl@0
|
48 |
};
|
sl@0
|
49 |
|
sl@0
|
50 |
/* Internal technology - data body for COpenFontLinkedTypefaceSpecification */
|
sl@0
|
51 |
class COpenFontLinkedTypefaceSpecificationBody : public CBase
|
sl@0
|
52 |
{
|
sl@0
|
53 |
friend class COpenFontLinkedTypefaceSpecification;
|
sl@0
|
54 |
friend class CFont;
|
sl@0
|
55 |
friend class CFontStore;
|
sl@0
|
56 |
private:
|
sl@0
|
57 |
COpenFontLinkedTypefaceSpecificationBody();
|
sl@0
|
58 |
~COpenFontLinkedTypefaceSpecificationBody();
|
sl@0
|
59 |
private:
|
sl@0
|
60 |
RPointerArray <COpenFontLinkedTypefaceElementSpec> iTypefaces;
|
sl@0
|
61 |
HBufC* iLinkedTypefaceName;
|
sl@0
|
62 |
TInt iId;
|
sl@0
|
63 |
TInt iSession; //Not owned
|
sl@0
|
64 |
TInt iUsageCounter; //
|
sl@0
|
65 |
|
sl@0
|
66 |
|
sl@0
|
67 |
const COpenFontGlyph* GlyphLinked(TInt aCode,TInt*& aNode);
|
sl@0
|
68 |
void RasterizeL(TInt aCode,TOpenFontGlyphData* aGlyphData);
|
sl@0
|
69 |
};
|
sl@0
|
70 |
|
sl@0
|
71 |
#endif //LINKEDFONTSPRIVATE_H__
|
sl@0
|
72 |
|