|
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 // This file was automatically generated from \epoc32\include\oem\mifheader.cdl. |
|
19 // It contains common definitions for the client and customisation API. |
|
20 // It should not be modified manually. |
|
21 |
|
22 #ifndef MIFHEADER_CDL_COMMON_H |
|
23 #define MIFHEADER_CDL_COMMON_H |
|
24 |
|
25 |
|
26 // from AknIconLoader.h |
|
27 // In MIF file version 2+, bitmap icons are identified in the bitmap offset array |
|
28 // with iOffset being <=0. In that case, -iOffset means the corresponding MBM ID, |
|
29 // which can be used for CFbsBitmap::Load. |
|
30 |
|
31 struct TMifBitmapOffsetElement |
|
32 { |
|
33 TInt32 iOffset; // pointer to icon. icon = header + data. |
|
34 TInt32 iLength; // combined length of TMifIconHeader and its data. |
|
35 }; |
|
36 |
|
37 |
|
38 namespace MifHeader |
|
39 { |
|
40 #include "mifheader.cdl.common.hrh" |
|
41 |
|
42 // These constants are defined by the CDL interface: MifHeader |
|
43 _LIT(KCdlName, "MifHeader"); |
|
44 const TInt KCdlInterfaceUidValue = _CDL_MifHeader_KCdlInterfaceUidValue; |
|
45 const TUid KCdlInterfaceUid = { KCdlInterfaceUidValue }; |
|
46 const TInt KCdlInterfaceMajorVersion = 1; |
|
47 const TInt KCdlInterfaceMinorVersion = 0; |
|
48 const TUint KCdlInterfaceFlags = 0; |
|
49 |
|
50 // These are the API ids used in this interface. |
|
51 enum TApiId |
|
52 { |
|
53 EApiId_indicies, |
|
54 E_TApiId_TableSize |
|
55 }; |
|
56 |
|
57 // This is the CDL interface definition for this interface |
|
58 const SCdlInterface KCdlInterface = |
|
59 { |
|
60 KCdlCompilerMajorVersion, |
|
61 KCdlCompilerMinorVersion, |
|
62 LIT_AS_DESC_PTR(KCdlName), |
|
63 { KCdlInterfaceUidValue }, |
|
64 KCdlInterfaceMajorVersion, |
|
65 KCdlInterfaceMinorVersion, |
|
66 KCdlInterfaceFlags, |
|
67 E_TApiId_TableSize |
|
68 }; |
|
69 |
|
70 // These typedefs define the types for function APIs |
|
71 // TCdlArray<TMifBitmapOffsetElement> indicies does not need a typedef |
|
72 |
|
73 } // end of namespace MifHeader |
|
74 |
|
75 #endif // MIFHEADER_CDL_COMMON_H |