|
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 // This file was automatically generated from ..\cdl\displaylayoutmetrics.cdl. |
|
18 // It contains common definitions for the client and customisation API. |
|
19 // It should not be modified manually. |
|
20 |
|
21 #ifndef DISPLAYLAYOUTMETRICS_CDL_COMMON_H |
|
22 #define DISPLAYLAYOUTMETRICS_CDL_COMMON_H |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 namespace Display_Layout_Metrics |
|
28 { |
|
29 #include "displaylayoutmetrics.cdl.common.hrh" |
|
30 |
|
31 // These constants are defined by the CDL interface: Display Layout Metrics |
|
32 _LIT(KCdlName, "Display Layout Metrics"); |
|
33 const TInt KCdlInterfaceUidValue = _CDL_Display_Layout_Metrics_KCdlInterfaceUidValue; |
|
34 const TUid KCdlInterfaceUid = { KCdlInterfaceUidValue }; |
|
35 const TInt KCdlInterfaceMajorVersion = 1; |
|
36 const TInt KCdlInterfaceMinorVersion = 0; |
|
37 const TUint KCdlInterfaceFlags = KCdlFlagRomOnly; |
|
38 |
|
39 // These are the API ids used in this interface. |
|
40 enum TApiId |
|
41 { |
|
42 EApiId_UnitValue, |
|
43 E_TApiId_TableSize |
|
44 }; |
|
45 |
|
46 // This is the CDL interface definition for this interface |
|
47 const SCdlInterface KCdlInterface = |
|
48 { |
|
49 KCdlCompilerMajorVersion, |
|
50 KCdlCompilerMinorVersion, |
|
51 LIT_AS_DESC_PTR(KCdlName), |
|
52 { KCdlInterfaceUidValue }, |
|
53 KCdlInterfaceMajorVersion, |
|
54 KCdlInterfaceMinorVersion, |
|
55 KCdlInterfaceFlags, |
|
56 E_TApiId_TableSize |
|
57 }; |
|
58 |
|
59 // These typedefs define the types for function APIs |
|
60 typedef TReal32 (TUnitValue_sig)(); |
|
61 |
|
62 } // end of namespace Display_Layout_Metrics |
|
63 |
|
64 #endif // DISPLAYLAYOUTMETRICS_CDL_COMMON_H |