|
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 // It contains common definitions for the client and customisation API. |
|
19 // It should not be modified manually. |
|
20 |
|
21 #ifndef CDLFONT_CDL_COMMON_H |
|
22 #define CDLFONT_CDL_COMMON_H |
|
23 |
|
24 |
|
25 #include <CdlFont.h> |
|
26 |
|
27 |
|
28 namespace CDL_Font |
|
29 { |
|
30 #include "cdlfont.cdl.common.hrh" |
|
31 |
|
32 // These constants are defined by the CDL interface: CDL Font |
|
33 _LIT(KCdlName, "CDL Font"); |
|
34 const TInt KCdlInterfaceUidValue = _CDL_CDL_Font_KCdlInterfaceUidValue; |
|
35 const TUid KCdlInterfaceUid = { KCdlInterfaceUidValue }; |
|
36 const TInt KCdlInterfaceMajorVersion = 1; |
|
37 const TInt KCdlInterfaceMinorVersion = 0; |
|
38 const TUint KCdlInterfaceFlags = KCdlFlagRomOnly; |
|
39 |
|
40 // These are the API ids used in this interface. |
|
41 enum TApiId |
|
42 { |
|
43 EApiId_metricsArray, |
|
44 EApiId_logicalIdMapArray, |
|
45 E_TApiId_TableSize |
|
46 }; |
|
47 |
|
48 // This is the CDL interface definition for this interface |
|
49 const SCdlInterface KCdlInterface = |
|
50 { |
|
51 KCdlCompilerMajorVersion, |
|
52 KCdlCompilerMinorVersion, |
|
53 LIT_AS_DESC_PTR(KCdlName), |
|
54 { KCdlInterfaceUidValue }, |
|
55 KCdlInterfaceMajorVersion, |
|
56 KCdlInterfaceMinorVersion, |
|
57 KCdlInterfaceFlags, |
|
58 E_TApiId_TableSize |
|
59 }; |
|
60 |
|
61 // These typedefs define the types for function APIs |
|
62 // TCdlArray<SIdMetricsPair> metricsArray does not need a typedef |
|
63 // TCdlArray<SLogicalIdMetricsIdPair> logicalIdMapArray does not need a typedef |
|
64 |
|
65 } // end of namespace CDL_Font |
|
66 |
|
67 #endif // CDLFONT_CDL_COMMON_H |