|
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 customisation implements the interface defined in LayoutPack.cdl |
|
19 |
|
20 #include "abrw_vga4_touch_land_small_pack.h" |
|
21 |
|
22 namespace Abrw_Vga4_touch_land_Small_Pack |
|
23 { |
|
24 |
|
25 _LIT(name,"Abrw_Vga4_touch_land_Small_Pack"); |
|
26 |
|
27 SCdlSize const size = { 640, 480 }; |
|
28 |
|
29 TAknLayoutId const id = EAknLayoutIdABRW; |
|
30 |
|
31 #include "aknlayoutscalable_abrw_pvl4_av_vga4_lsc_tch_small.h" |
|
32 #include "aknlayoutscalable_abrw_pvl4_apps_vga4_lsc_tch_small.h" |
|
33 #include "cdlfontinst_vga4_touch.h" |
|
34 #include "displaylayoutmetricsinst_vga4_touch.h" |
|
35 #include "../dllinstances.hrh" |
|
36 #include "../adaptation_layer_aknlayout_elaf.h" |
|
37 #include "../dllinstances.hrh" |
|
38 #include "../adaptation_layer_applayout_elaf.h" |
|
39 #include "../dllinstances.hrh" |
|
40 #include "../adaptation_layer_skinlayout.h" |
|
41 #include "../dllinstances.hrh" |
|
42 #include "../layoutmetadata_defaults.h" |
|
43 #include "../dllinstances.hrh" |
|
44 #include "../layoutmetadata_abrw.h" |
|
45 #include "../dllinstances.hrh" |
|
46 #include "../layoutmetadata_scrollbar.h" |
|
47 #include "../dllinstances.hrh" |
|
48 #include "../layoutmetadata_land.h" |
|
49 #include "../dllinstances.hrh" |
|
50 #include "../layoutmetadata_pensupport.h" |
|
51 _LIT(_content_DLL__101fe2aa_dll, "101fe2aa.dll"); |
|
52 |
|
53 CDL_ARRAY_START(TCdlRef, contents) |
|
54 { |
|
55 LOCAL_CDL_REF(AknLayoutScalable_Abrw_pvl4_av_vga4_lsc_tch_Small), |
|
56 LOCAL_CDL_REF(AknLayoutScalable_Abrw_pvl4_apps_vga4_lsc_tch_Small), |
|
57 LOCAL_CDL_REF(CdlFontInst_vga4_touch), |
|
58 LOCAL_CDL_REF(displaylayoutmetricsinst_Vga4_touch), |
|
59 {Adaptation_Layer_AknLayout_Elaf::KCdlInstanceId, Adaptation_Layer_AknLayout_Elaf::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
60 {Adaptation_Layer_AppLayout_Elaf::KCdlInstanceId, Adaptation_Layer_AppLayout_Elaf::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
61 {Adaptation_Layer_SkinLayout::KCdlInstanceId, Adaptation_Layer_SkinLayout::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
62 {LayoutMetaData_defaults::KCdlInstanceId, LayoutMetaData_defaults::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
63 {LayoutMetaData_abrw::KCdlInstanceId, LayoutMetaData_abrw::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
64 {LayoutMetaData_scrollbar::KCdlInstanceId, LayoutMetaData_scrollbar::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
65 {LayoutMetaData_land::KCdlInstanceId, LayoutMetaData_land::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
66 {LayoutMetaData_pensupport::KCdlInstanceId, LayoutMetaData_pensupport::KCdlInterfaceUidValue, LIT_AS_DESC_PTR(_content_DLL__101fe2aa_dll)}, |
|
67 } |
|
68 CDL_ARRAY_END(TCdlRef, contents); |
|
69 |
|
70 |
|
71 TAknUiZoom const zoom = EAknUiZoomSmall; |
|
72 |
|
73 TInt const styleHash = 0x4e6ab68f; // screen style VGA4TOUCH |
|
74 |
|
75 TInt const priority = 0; |
|
76 |
|
77 TInt const appUid = 0x00000000; |
|
78 |
|
79 |
|
80 const LayoutPack::SCdlImpl KCdlImpl = |
|
81 { |
|
82 LIT_AS_DESC_PTR(name), |
|
83 (const TSize*)&size, |
|
84 &id, |
|
85 &contents, |
|
86 &zoom, |
|
87 &styleHash, |
|
88 &priority, |
|
89 &appUid, |
|
90 }; |
|
91 |
|
92 } // end of namespace Abrw_Vga4_touch_land_Small_Pack |