|
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 LAYOUTPACK_CDL_COMMON_H |
|
22 #define LAYOUTPACK_CDL_COMMON_H |
|
23 |
|
24 |
|
25 #include <aknlayoutdef.h> |
|
26 #include <akndef.hrh> |
|
27 |
|
28 |
|
29 namespace LayoutPack |
|
30 { |
|
31 #include "layoutpack.cdl.common.hrh" |
|
32 |
|
33 // These constants are defined by the CDL interface: LayoutPack |
|
34 _LIT(KCdlName, "LayoutPack"); |
|
35 const TInt KCdlInterfaceUidValue = _CDL_LayoutPack_KCdlInterfaceUidValue; |
|
36 const TUid KCdlInterfaceUid = { KCdlInterfaceUidValue }; |
|
37 const TInt KCdlInterfaceMajorVersion = 1; |
|
38 const TInt KCdlInterfaceMinorVersion = 0; |
|
39 const TUint KCdlInterfaceFlags = 0; |
|
40 |
|
41 // These are the API ids used in this interface. |
|
42 enum TApiId |
|
43 { |
|
44 EApiId_name, |
|
45 EApiId_size, |
|
46 EApiId_id, |
|
47 EApiId_contents, |
|
48 EApiId_zoom, |
|
49 EApiId_styleHash, |
|
50 EApiId_priority, |
|
51 EApiId_appUid, |
|
52 E_TApiId_TableSize |
|
53 }; |
|
54 |
|
55 // This is the CDL interface definition for this interface |
|
56 const SCdlInterface KCdlInterface = |
|
57 { |
|
58 KCdlCompilerMajorVersion, |
|
59 KCdlCompilerMinorVersion, |
|
60 LIT_AS_DESC_PTR(KCdlName), |
|
61 { KCdlInterfaceUidValue }, |
|
62 KCdlInterfaceMajorVersion, |
|
63 KCdlInterfaceMinorVersion, |
|
64 KCdlInterfaceFlags, |
|
65 E_TApiId_TableSize |
|
66 }; |
|
67 |
|
68 // These typedefs define the types for function APIs |
|
69 // TDesC name does not need a typedef |
|
70 // TSize size does not need a typedef |
|
71 // TAknLayoutId id does not need a typedef |
|
72 // TCdlArray<TCdlRef> contents does not need a typedef |
|
73 // TAknUiZoom zoom does not need a typedef |
|
74 // TInt styleHash does not need a typedef |
|
75 // TInt priority does not need a typedef |
|
76 // TInt appUid does not need a typedef |
|
77 |
|
78 } // end of namespace LayoutPack |
|
79 |
|
80 #endif // LAYOUTPACK_CDL_COMMON_H |