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