|
1 /* |
|
2 * Copyright (c) 1997-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 the License "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 * HelloWorld.RSS |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 NAME HEWO |
|
21 |
|
22 #include <techview/eikon.rh> |
|
23 #include <uiklafgt/eikcore.rsg> |
|
24 #include <appinfo.rh> |
|
25 |
|
26 #include "HelloWorld.hrh" |
|
27 |
|
28 RESOURCE RSS_SIGNATURE { } |
|
29 |
|
30 RESOURCE TBUF { buf=""; } |
|
31 |
|
32 RESOURCE EIK_APP_INFO |
|
33 { |
|
34 hotkeys=r_example_hotkeys; |
|
35 menubar=r_example_menubar; |
|
36 } |
|
37 |
|
38 RESOURCE HOTKEYS r_example_hotkeys |
|
39 { |
|
40 control= |
|
41 { |
|
42 HOTKEY { command=EEikCmdExit; key='e'; } |
|
43 }; |
|
44 } |
|
45 |
|
46 RESOURCE MENU_BAR r_example_menubar |
|
47 { |
|
48 titles= |
|
49 { |
|
50 MENU_TITLE { menu_pane=r_example_first_menu; txt="HelloWld"; } |
|
51 }; |
|
52 } |
|
53 |
|
54 RESOURCE MENU_PANE r_example_first_menu |
|
55 { |
|
56 items= |
|
57 { |
|
58 MENU_ITEM { command=EExampleItem0; txt="Item 0"; }, |
|
59 MENU_ITEM { command=EExampleItem1; txt="Item 1"; }, |
|
60 MENU_ITEM { command=EExampleItem2; txt="Item 2"; }, |
|
61 MENU_ITEM { command=EEikCmdExit; txt="Close"; } |
|
62 }; |
|
63 } |
|
64 |
|
65 |
|
66 RESOURCE TBUF r_example_text_Hello { buf="Hacked World!2"; } |
|
67 RESOURCE TBUF r_example_text_Item0 { buf="Item 0"; } |
|
68 RESOURCE TBUF r_example_text_Item1 { buf="Item 1"; } |
|
69 RESOURCE TBUF r_example_text_Item2 { buf="Item 2"; } |
|
70 |
|
71 RESOURCE LOCALISABLE_APP_INFO r_lai |
|
72 { |
|
73 short_caption = "HW"; |
|
74 caption_and_icon = |
|
75 { |
|
76 CAPTION_AND_ICON_INFO |
|
77 { |
|
78 caption = "helloworld2"; |
|
79 number_of_icons = 3; // each icon must be a bitmap/mask pair |
|
80 icon_file = "z:\\resource\\apps\\helloworld2.mbm"; |
|
81 } |
|
82 }; |
|
83 } |