|
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 - Symbian test code |
|
22 */ |
|
23 |
|
24 |
|
25 NAME TEAP |
|
26 |
|
27 #include <eikon.rh> |
|
28 #include <eikcore.rsg> |
|
29 #include <appinfo.rh> |
|
30 |
|
31 RESOURCE RSS_SIGNATURE { } |
|
32 |
|
33 RESOURCE TBUF { buf=""; } |
|
34 |
|
35 RESOURCE EIK_APP_INFO |
|
36 { |
|
37 hotkeys=r_upgradeiconapp_hotkeys; |
|
38 menubar=r_upgradeiconapp_menubar; |
|
39 } |
|
40 |
|
41 RESOURCE HOTKEYS r_upgradeiconapp_hotkeys |
|
42 { |
|
43 control= |
|
44 { |
|
45 HOTKEY { command=EEikCmdExit; key='e'; } |
|
46 }; |
|
47 } |
|
48 |
|
49 RESOURCE MENU_BAR r_upgradeiconapp_menubar |
|
50 { |
|
51 titles= |
|
52 { |
|
53 MENU_TITLE { menu_pane=r_upgradeiconapp_first_menu; txt="TUpgradeIconApp"; } |
|
54 }; |
|
55 } |
|
56 |
|
57 RESOURCE MENU_PANE r_upgradeiconapp_first_menu |
|
58 { |
|
59 items= |
|
60 { |
|
61 MENU_ITEM { command=EEikCmdExit; txt="Close"; } |
|
62 }; |
|
63 } |
|
64 |
|
65 |
|
66 RESOURCE TBUF r_upgradeiconapp_text_TestApp { buf="TUpgradeIconApp!"; } |
|
67 |
|
68 |
|
69 RESOURCE LOCALISABLE_APP_INFO r_lai |
|
70 { |
|
71 short_caption = "TUIconApp"; |
|
72 caption_and_icon = |
|
73 { |
|
74 CAPTION_AND_ICON_INFO |
|
75 { |
|
76 caption = "TestUpgradeIconApp"; |
|
77 number_of_icons = 3; // each icon must be a bitmap/mask pair |
|
78 icon_file = "c:\\resource\\apps\\tupgradeiconapp.mbm"; |
|
79 } |
|
80 }; |
|
81 } |