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