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