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