|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: LandmarksUi Content File - |
|
15 * This file contains all the resources for the LM UI Ref Application. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 // RESOURCE IDENTIFIER |
|
25 NAME AWIZ // 4 letter ID |
|
26 |
|
27 // INCLUDES |
|
28 #include <eikon.rh> |
|
29 #include "lmuirefapp.hrh" |
|
30 #include "lmuirefapp.rls" |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <avkon.mbg> |
|
34 #include <appinfo.rh> |
|
35 |
|
36 //RESOURCE DEFINITIONS |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 |
|
39 RESOURCE TBUF { buf="LmkUIRefApp"; } |
|
40 |
|
41 RESOURCE EIK_APP_INFO |
|
42 { |
|
43 } |
|
44 |
|
45 RESOURCE LOCALISABLE_APP_INFO r_lmuirefapp_localisable_app_info |
|
46 { |
|
47 short_caption = qtn_lmuirefapp_title; |
|
48 caption_and_icon = CAPTION_AND_ICON_INFO |
|
49 { |
|
50 caption = qtn_lmuirefapp_title; |
|
51 number_of_icons = 1; |
|
52 icon_file = |
|
53 "\\resource\\apps\\lmuirefapp_icon.mif"; |
|
54 }; |
|
55 } |
|
56 |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 // r_lmuirefapp_view |
|
60 // By landmark view |
|
61 // |
|
62 //---------------------------------------------------- |
|
63 // |
|
64 RESOURCE AVKON_VIEW r_lmuirefapp_view |
|
65 { |
|
66 menubar = r_lmuirefapp_menubar; |
|
67 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
68 } |
|
69 |
|
70 //---------------------------------------------------- |
|
71 // |
|
72 // r_lmk_bylm_menubar |
|
73 // |
|
74 //---------------------------------------------------- |
|
75 // |
|
76 RESOURCE MENU_BAR r_lmuirefapp_menubar |
|
77 { |
|
78 titles= |
|
79 { |
|
80 MENU_TITLE { menu_pane = r_lmuirefapp_menu1; txt = ""; } |
|
81 }; |
|
82 } |
|
83 |
|
84 RESOURCE MENU_PANE r_lmuirefapp_menu1 |
|
85 { |
|
86 items= |
|
87 { |
|
88 MENU_ITEM { command = ELmUiRefAppCmdNewLm; |
|
89 txt = "New landmark"; |
|
90 }, |
|
91 MENU_ITEM { command = ELmUiRefAppCmdEditLm; |
|
92 txt = "Edit landmark"; |
|
93 }, |
|
94 MENU_ITEM { command = ELmUiRefAppCmdViewLm; |
|
95 txt = "View landmark"; |
|
96 }, |
|
97 MENU_ITEM { command = ELmUiRefAppCmdDeleteLm; |
|
98 txt = "Delete landmark"; |
|
99 }, |
|
100 MENU_ITEM { command = ELmUiRefAppCmdSingleCatSelector; |
|
101 txt = "Show single category selector"; |
|
102 }, |
|
103 MENU_ITEM { command = ELmUiRefAppCmdMultiLmSelector; |
|
104 txt = "Show multiple landmark selector"; |
|
105 }, |
|
106 MENU_ITEM { command = ELmUiRefAppCmdMultiCatSelector; |
|
107 txt = "Show multiple category selector"; |
|
108 } |
|
109 }; |
|
110 } |
|
111 |
|
112 //---------------------------------------------------- |
|
113 // |
|
114 // r_lm_delete_landmark |
|
115 // Text for confirmation query |
|
116 // |
|
117 //---------------------------------------------------- |
|
118 // |
|
119 RESOURCE TBUF r_lmuirefapp_delete_landmark |
|
120 { |
|
121 buf = qtn_lmuirefapp_conf_delete_landmark; |
|
122 } |
|
123 |
|
124 //---------------------------------------------------- |
|
125 // |
|
126 // r_lmuirefapp_query |
|
127 // |
|
128 // |
|
129 //---------------------------------------------------- |
|
130 // |
|
131 RESOURCE DIALOG r_lmuirefapp_query |
|
132 { |
|
133 flags = EGeneralQueryFlags; |
|
134 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
135 items = |
|
136 { |
|
137 DLG_LINE |
|
138 { |
|
139 type = EAknCtQuery; |
|
140 id = EGeneralQuery; |
|
141 control = AVKON_CONFIRMATION_QUERY |
|
142 { |
|
143 layout = EConfirmationQueryLayout; |
|
144 }; |
|
145 } |
|
146 }; |
|
147 } |
|
148 |
|
149 // End of File |