equal
deleted
inserted
replaced
|
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 the customisation API. |
|
19 // It should not be modified manually. |
|
20 |
|
21 #ifndef LAYOUTPACK_CDL_CUSTOM_H |
|
22 #define LAYOUTPACK_CDL_CUSTOM_H |
|
23 |
|
24 #include <CdlEngDef.h> |
|
25 #include "layoutpack.cdl.common.h" |
|
26 |
|
27 namespace LayoutPack |
|
28 { |
|
29 |
|
30 // This structure defines the interface to a customisation instance. |
|
31 // A customisation instance must supply an instance of this structure, with the pointer |
|
32 // members either being NULL, or pointing at functions or data of the correct type. |
|
33 |
|
34 #ifdef __WINS__ |
|
35 struct SCdlImpl0 |
|
36 #else |
|
37 struct SCdlImpl |
|
38 #endif |
|
39 { |
|
40 TDesC const* name; |
|
41 TSize const* size; |
|
42 TAknLayoutId const* id; |
|
43 TCdlArray<TCdlRef> const* contents; |
|
44 TAknUiZoom const* zoom; |
|
45 TInt const* styleHash; |
|
46 TInt const* priority; |
|
47 TInt const* appUid; |
|
48 }; |
|
49 #ifdef __WINS__ |
|
50 struct SCdlImpl |
|
51 { |
|
52 SCdlImpl0 i0; |
|
53 }; |
|
54 #endif |
|
55 |
|
56 } // end of namespace LayoutPack |
|
57 #endif // LAYOUTPACK_CDL_CUSTOM_H |