|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @test |
|
21 @internalComponent - Internal Symbian test code |
|
22 */ |
|
23 |
|
24 |
|
25 NAME TAPP |
|
26 |
|
27 #include <eikon.rh> |
|
28 #include <eikcore.rsg> |
|
29 |
|
30 #include "TSTAPP.hrh" |
|
31 |
|
32 RESOURCE RSS_SIGNATURE { } |
|
33 |
|
34 RESOURCE TBUF { buf=""; } |
|
35 |
|
36 RESOURCE EIK_APP_INFO |
|
37 { |
|
38 hotkeys=r_example_hotkeys; |
|
39 menubar=r_example_menubar; |
|
40 } |
|
41 |
|
42 |
|
43 |
|
44 RESOURCE HOTKEYS r_example_hotkeys |
|
45 { |
|
46 control= |
|
47 { |
|
48 HOTKEY { command=EEikCmdExit; key='e'; } |
|
49 }; |
|
50 } |
|
51 |
|
52 RESOURCE MENU_BAR r_example_menubar |
|
53 { |
|
54 titles= |
|
55 { |
|
56 MENU_TITLE { menu_pane=r_example_first_menu; txt="TSTAPP"; } |
|
57 }; |
|
58 } |
|
59 |
|
60 RESOURCE MENU_PANE r_example_first_menu |
|
61 { |
|
62 items= |
|
63 { |
|
64 MENU_ITEM { command=EExampleItem0; txt="Item 0"; }, |
|
65 MENU_ITEM { command=EExampleItem1; txt="Item 1"; }, |
|
66 MENU_ITEM { command=EExampleItem2; txt="Item 2"; }, |
|
67 MENU_ITEM { command=EEikCmdExit; txt="Close"; } |
|
68 }; |
|
69 } |
|
70 |
|
71 |
|
72 RESOURCE TBUF r_example_text_Title { buf="Simple Application"; } |
|
73 RESOURCE TBUF r_example_text_Item0 { buf="Item 0"; } |
|
74 RESOURCE TBUF r_example_text_Item1 { buf="Item 1"; } |
|
75 RESOURCE TBUF r_example_text_Item2 { buf="Item 2"; } |