|
1 /* |
|
2 * Copyright (c) 2002-2004 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 |
|
19 #ifndef CODEGENCONSTS_H |
|
20 #define CODEGENCONSTS_H |
|
21 |
|
22 #include <string> |
|
23 using namespace std; |
|
24 |
|
25 // includes |
|
26 const string KIncludeLayoutInstanceHeaderScalableDef("#include <aknlayout2scalabledef.h>"); |
|
27 // directories |
|
28 const string KDirEpocSysHeader("\\epoc32\\include\\"); |
|
29 const string KDirDomainSysHeader("\\epoc32\\include\\platform\\mw\\"); |
|
30 |
|
31 // parameter namesy |
|
32 const string KParamNameBase("aIndex_"); |
|
33 const string KParamNameB(KParamNameBase + "B"); |
|
34 const string KParamNameL(KParamNameBase + "l"); |
|
35 const string KParamNameR(KParamNameBase + "r"); |
|
36 const string KParamNameNumberOfLinesShown("aNumberOfLinesShown"); |
|
37 const string KParamParentRect("aParentRect"); |
|
38 const string KParamLineIndex("aLineIndex"); |
|
39 const string KParamComponentId("aComponentId"); |
|
40 const string KParamOptionIndex("aVariety"); |
|
41 const string KParamRowIndex("aRow"); |
|
42 const string KParamColIndex("aCol"); |
|
43 |
|
44 // types |
|
45 const string KTypeTextLineLayout("TAknTextLineLayout"); |
|
46 const string KTypeWindowLineLayout("TAknWindowLineLayout"); |
|
47 const string KTypeLayoutTableLimits("TAknLayoutTableLimits"); |
|
48 const string KTypeMultiLineTextLayout("TAknMultiLineTextLayout"); |
|
49 const string KTypeRect("const TRect&"); |
|
50 const string KTypeInt("TInt"); |
|
51 |
|
52 const string KTypeScreenComponentLayout("TAknScreenComponentLayout"); |
|
53 const string KTypeContainerComponentLayout("TAknContainerComponentLayout"); |
|
54 const string KTypePaneComponentLayout("TAknPaneComponentLayout"); |
|
55 const string KTypeGraphicComponentLayout("TAknGraphicComponentLayout"); |
|
56 |
|
57 const string KTypeWindowComponentLayout("TAknWindowComponentLayout"); |
|
58 const string KTypeTextComponentLayout("TAknTextComponentLayout"); |
|
59 const string KTypeComponentTableLimits("TAknComponentTableLimits"); |
|
60 |
|
61 const string KTypeLayoutScalableTableLimits("TAknLayoutScalableTableLimits"); |
|
62 const string KTypeLayoutScalableParameterLimits("TAknLayoutScalableParameterLimits"); |
|
63 |
|
64 const string KTypeLayoutScalableComponentType("TAknLayoutScalableComponentType"); |
|
65 |
|
66 // function names |
|
67 const string KFuncMultiline("Multiline_"); |
|
68 const string KFuncLimitsSuffix("_Limits"); |
|
69 const string KFuncParamLimitsSuffix("_ParamLimits"); |
|
70 |
|
71 const string KFuncWindowLine("WindowLine"); |
|
72 const string KFuncTextLine("TextLine"); |
|
73 const string KFuncWindowTable("WindowTable"); |
|
74 const string KFuncTextTable("TextTable"); |
|
75 const string KFuncTableLimits("TableLimits"); |
|
76 const string KFuncParamLimits("ParameterLimits"); |
|
77 const string KFuncParamLimitsTable("ParameterLimitsTable"); |
|
78 |
|
79 const string KFuncGetComponentTypeById("GetComponentTypeById"); |
|
80 const string KFuncGetParamLimitsById("GetParamLimitsById"); |
|
81 const string KFuncGetWindowComponentById("GetWindowComponentById"); |
|
82 const string KFuncGetTextComponentById("GetTextComponentById"); |
|
83 |
|
84 |
|
85 // zoom |
|
86 const string KDefaultZoomInstanceName("Normal"); |
|
87 |
|
88 |
|
89 #endif |