|
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\layoutmetadata.cdl. |
|
18 // It contains common definitions for the client and customisation API. |
|
19 // It should not be modified manually. |
|
20 |
|
21 #ifndef LAYOUTMETADATA_CDL_COMMON_H |
|
22 #define LAYOUTMETADATA_CDL_COMMON_H |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 namespace Layout_Meta_Data |
|
28 { |
|
29 #include "layoutmetadata.cdl.common.hrh" |
|
30 |
|
31 // These constants are defined by the CDL interface: Layout Meta Data |
|
32 _LIT(KCdlName, "Layout Meta Data"); |
|
33 const TInt KCdlInterfaceUidValue = _CDL_Layout_Meta_Data_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_IsLandscapeOrientation, |
|
43 EApiId_IsMirrored, |
|
44 EApiId_IsScrollbarEnabled, |
|
45 EApiId_IsAPAC, |
|
46 EApiId_IsPenEnabled, |
|
47 EApiId_IsListStretchingEnabled, |
|
48 EApiId_IsMSKEnabled, |
|
49 EApiId_IsTouchPaneEnabled, |
|
50 E_TApiId_TableSize |
|
51 }; |
|
52 |
|
53 // This is the CDL interface definition for this interface |
|
54 const SCdlInterface KCdlInterface = |
|
55 { |
|
56 KCdlCompilerMajorVersion, |
|
57 KCdlCompilerMinorVersion, |
|
58 LIT_AS_DESC_PTR(KCdlName), |
|
59 { KCdlInterfaceUidValue }, |
|
60 KCdlInterfaceMajorVersion, |
|
61 KCdlInterfaceMinorVersion, |
|
62 KCdlInterfaceFlags, |
|
63 E_TApiId_TableSize |
|
64 }; |
|
65 |
|
66 // These typedefs define the types for function APIs |
|
67 typedef TBool (TIsLandscapeOrientation_sig)(); |
|
68 typedef TBool (TIsMirrored_sig)(); |
|
69 typedef TBool (TIsScrollbarEnabled_sig)(); |
|
70 typedef TBool (TIsAPAC_sig)(); |
|
71 typedef TBool (TIsPenEnabled_sig)(); |
|
72 typedef TBool (TIsListStretchingEnabled_sig)(); |
|
73 typedef TBool (TIsMSKEnabled_sig)(); |
|
74 typedef TBool (TIsTouchPaneEnabled_sig)(); |
|
75 |
|
76 } // end of namespace Layout_Meta_Data |
|
77 |
|
78 #endif // LAYOUTMETADATA_CDL_COMMON_H |