|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Symbian test code |
|
20 */ |
|
21 |
|
22 |
|
23 NAME TEAP |
|
24 |
|
25 #include <techview/eikon.rh> |
|
26 #include <uiklafgt/eikcore.rsg> |
|
27 #include <appinfo.rh> |
|
28 |
|
29 RESOURCE RSS_SIGNATURE { } |
|
30 |
|
31 RESOURCE TBUF { buf=""; } |
|
32 |
|
33 RESOURCE EIK_APP_INFO |
|
34 { |
|
35 hotkeys=r_upgradeiconapp_hotkeys; |
|
36 menubar=r_upgradeiconapp_menubar; |
|
37 } |
|
38 |
|
39 RESOURCE HOTKEYS r_upgradeiconapp_hotkeys |
|
40 { |
|
41 control= |
|
42 { |
|
43 HOTKEY { command=EEikCmdExit; key='e'; } |
|
44 }; |
|
45 } |
|
46 |
|
47 RESOURCE MENU_BAR r_upgradeiconapp_menubar |
|
48 { |
|
49 titles= |
|
50 { |
|
51 MENU_TITLE { menu_pane=r_upgradeiconapp_first_menu; txt="TUpgradeIconApp"; } |
|
52 }; |
|
53 } |
|
54 |
|
55 RESOURCE MENU_PANE r_upgradeiconapp_first_menu |
|
56 { |
|
57 items= |
|
58 { |
|
59 MENU_ITEM { command=EEikCmdExit; txt="Close"; } |
|
60 }; |
|
61 } |
|
62 |
|
63 |
|
64 RESOURCE TBUF r_upgradeiconapp_text_TestApp { buf="TUpgradeIconApp!"; } |
|
65 |
|
66 |
|
67 RESOURCE LOCALISABLE_APP_INFO r_lai |
|
68 { |
|
69 short_caption = "TUIconApp"; |
|
70 caption_and_icon = |
|
71 { |
|
72 CAPTION_AND_ICON_INFO |
|
73 { |
|
74 caption = "TestUpgradeIconApp"; |
|
75 number_of_icons = 3; // each icon must be a bitmap/mask pair |
|
76 icon_file = "c:\\resource\\apps\\tupgradeiconapp.mbm"; |
|
77 } |
|
78 }; |
|
79 } |