|
1 /* |
|
2 * Copyright (c) 2005-2006 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 // RESOURCE IDENTIFIER |
|
20 NAME TELA // 4 letter ID |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include <eikon.rh> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.rsg> |
|
27 #include <data_caging_paths_strings.hrh> |
|
28 #include <appinfo.rh> |
|
29 #include "testlauncher.hrh" |
|
30 #include "testlauncher.rls" |
|
31 |
|
32 // RESOURCE DEFINITIONS |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 // Define the resource file signature |
|
36 // This resource should be empty. |
|
37 // |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 RESOURCE RSS_SIGNATURE |
|
41 { |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 // Default Document Name |
|
47 // |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 RESOURCE TBUF r_default_document_name |
|
51 { |
|
52 buf="TELA"; |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 // Define default menu and CBA key. |
|
58 // |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 RESOURCE EIK_APP_INFO |
|
62 { |
|
63 menubar = r_helloworldbasic_menubar; |
|
64 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
65 } |
|
66 |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 // r_helloworldbasic_menubar |
|
71 // Menubar for HelloWorldBasic example |
|
72 // |
|
73 // ----------------------------------------------------------------------------- |
|
74 // |
|
75 RESOURCE MENU_BAR r_helloworldbasic_menubar |
|
76 { |
|
77 titles = |
|
78 { |
|
79 MENU_TITLE { menu_pane = r_helloworldbasic_menu; } |
|
80 }; |
|
81 } |
|
82 |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // |
|
86 // r_helloworldbasic_menu |
|
87 // Menu for "Options" |
|
88 // |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 RESOURCE MENU_PANE r_helloworldbasic_menu |
|
92 { |
|
93 items = |
|
94 { |
|
95 // added the new Options menu command here |
|
96 MENU_ITEM |
|
97 { |
|
98 command = EHelloWorldBasicCommand1; |
|
99 txt = STRING_r_hewb_command1; |
|
100 }, |
|
101 MENU_ITEM |
|
102 { |
|
103 command = EAknSoftkeyExit; |
|
104 txt = STRING_r_hewb_exit; |
|
105 } |
|
106 }; |
|
107 } |
|
108 |
|
109 // ----------------------------------------------------------------------------- |
|
110 // |
|
111 // Resources for messages. |
|
112 // |
|
113 // ----------------------------------------------------------------------------- |
|
114 // |
|
115 RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; } |
|
116 RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; } |
|
117 RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; } |
|
118 |
|
119 // ---------------------------------------------------------------------------- |
|
120 // |
|
121 // r_helloworldbasic_localisable_app_info |
|
122 // |
|
123 // ---------------------------------------------------------------------------- |
|
124 // |
|
125 RESOURCE LOCALISABLE_APP_INFO r_helloworldbasic_localisable_app_info |
|
126 { |
|
127 short_caption = STRING_r_hewb_caption_string; |
|
128 caption_and_icon = |
|
129 CAPTION_AND_ICON_INFO |
|
130 { |
|
131 caption = STRING_r_hewb_caption_string; |
|
132 |
|
133 number_of_icons = 1; |
|
134 icon_file = APP_BITMAP_DIR"\\testlauncher_aif.mif"; |
|
135 }; |
|
136 } |
|
137 |
|
138 // ---------------------------------------------------------------------------- |
|
139 // |
|
140 // r_dialog_text_edit_query |
|
141 // |
|
142 // ---------------------------------------------------------------------------- |
|
143 // |
|
144 RESOURCE DIALOG r_dialog_text_edit_query |
|
145 { |
|
146 flags = EGeneralQueryFlags; |
|
147 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
148 items = |
|
149 { |
|
150 DLG_LINE |
|
151 { |
|
152 type = EAknCtQuery; |
|
153 id = EGeneralQuery; |
|
154 control = AVKON_DATA_QUERY |
|
155 { |
|
156 layout = EDataLayout; |
|
157 label = ""; |
|
158 control = EDWIN |
|
159 { |
|
160 width = 32; |
|
161 maxlength = 1024; |
|
162 lines = 1; |
|
163 }; |
|
164 }; |
|
165 } |
|
166 }; |
|
167 } |
|
168 // End of File |
|
169 |