1 // Copyright (c) 2004-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 // ipadm.rss - IP adminstration tool resource file |
|
15 // |
|
16 |
|
17 NAME IPAD |
|
18 |
|
19 #include <techview/eikon.rh> |
|
20 |
|
21 #include "ipadm.hrh" |
|
22 |
|
23 RESOURCE RSS_SIGNATURE { } |
|
24 |
|
25 RESOURCE TBUF { buf=""; } |
|
26 |
|
27 RESOURCE EIK_APP_INFO |
|
28 { |
|
29 menubar=r_IpAdm_menubar; |
|
30 hotkeys=r_IpAdm_hotkeys; |
|
31 #ifdef CRYSTAL |
|
32 cba = r_IpAdm_cba; |
|
33 #else |
|
34 toolbar=r_IpAdm_toolbar; |
|
35 #endif |
|
36 } |
|
37 |
|
38 #ifdef CRYSTAL |
|
39 |
|
40 RESOURCE CBA r_IpAdm_cba |
|
41 { |
|
42 buttons = |
|
43 { |
|
44 CBA_BUTTON |
|
45 { |
|
46 id=EIpAdmInterfaces; |
|
47 txt="Interfaces"; |
|
48 }, |
|
49 CBA_BUTTON |
|
50 { |
|
51 id=EIpAdmRoutes; |
|
52 txt="Routes"; |
|
53 }, |
|
54 CBA_BUTTON |
|
55 { |
|
56 id=EEikCmdExit; |
|
57 txt="Exit"; |
|
58 } |
|
59 }; |
|
60 } |
|
61 |
|
62 #else // not CRYSTAL (Pre-ER6 and Hurricane) |
|
63 |
|
64 RESOURCE TOOLBAR r_IpAdm_toolbar |
|
65 { |
|
66 controls= |
|
67 { |
|
68 TBAR_CTRL |
|
69 { |
|
70 id=EIpAdmFilename; |
|
71 type=EEikCtFileNameLabel; |
|
72 flags=EEikToolBarCtrlHasSetMinLength; |
|
73 length=KEikStdFileNameLabelHeight; |
|
74 }, |
|
75 TBAR_BUTTON |
|
76 { |
|
77 flags=EEikToolBarCtrlIsStretchable; |
|
78 id=EIpAdmInterfaces; |
|
79 txt="Interfaces"; |
|
80 }, |
|
81 TBAR_BUTTON |
|
82 { |
|
83 flags=EEikToolBarCtrlIsStretchable; |
|
84 id=EIpAdmRoutes; |
|
85 txt="Routes"; |
|
86 }, |
|
87 TBAR_BUTTON |
|
88 { |
|
89 flags=EEikToolBarCtrlIsStretchable; |
|
90 id=EIpAdmAddRoutes; |
|
91 txt="AddRoutes"; |
|
92 } |
|
93 }; |
|
94 } |
|
95 #endif //CRYSTAL |
|
96 |
|
97 RESOURCE HOTKEYS r_IpAdm_hotkeys |
|
98 { |
|
99 control= |
|
100 { |
|
101 HOTKEY { command=EEikCmdExit; key='e'; } |
|
102 }; |
|
103 } |
|
104 |
|
105 RESOURCE MENU_BAR r_IpAdm_menubar |
|
106 { |
|
107 titles= |
|
108 { |
|
109 MENU_TITLE { menu_pane=r_IpAdm_file_menu; txt="File"; }, |
|
110 MENU_TITLE { menu_pane=r_IpAdm_console_menu; txt="Console"; } |
|
111 }; |
|
112 } |
|
113 |
|
114 RESOURCE MENU_PANE r_IpAdm_file_menu |
|
115 { |
|
116 items= |
|
117 { |
|
118 MENU_ITEM { command=EIpAdmInterfaces; txt="Interfaces"; }, |
|
119 MENU_ITEM { command=EIpAdmRoutes; txt="Routes"; }, |
|
120 MENU_ITEM { command=EIpAdmAddRoutes; txt="Add Routes"; }, |
|
121 MENU_ITEM { command=EEikCmdExit; txt="Exit"; } |
|
122 }; |
|
123 } |
|
124 |
|
125 RESOURCE MENU_PANE r_IpAdm_console_menu |
|
126 { |
|
127 items= |
|
128 { |
|
129 MENU_ITEM |
|
130 { |
|
131 command=EIpAdmClearScreen; |
|
132 txt="ClearScreen"; |
|
133 }, |
|
134 MENU_ITEM |
|
135 { |
|
136 command=EConsolFontDialog; |
|
137 txt="Set font…"; |
|
138 }, |
|
139 MENU_ITEM |
|
140 { |
|
141 command=EConsolHistoryDialog; |
|
142 txt="History size…"; |
|
143 }, |
|
144 MENU_ITEM |
|
145 { |
|
146 cascade=r_IpAdm_toolbars_menu; |
|
147 txt="Toolbars"; |
|
148 } |
|
149 |
|
150 }; |
|
151 } |
|
152 |
|
153 RESOURCE MENU_PANE r_IpAdm_toolbars_menu |
|
154 { |
|
155 items= |
|
156 { |
|
157 MENU_ITEM |
|
158 { |
|
159 command=EConsolScrollNone; |
|
160 txt="None"; |
|
161 }, |
|
162 MENU_ITEM |
|
163 { |
|
164 command=EConsolScrollHor; |
|
165 txt="Horiz only"; |
|
166 }, |
|
167 MENU_ITEM |
|
168 { |
|
169 command=EConsolScrollVert; |
|
170 txt="Vert only"; |
|
171 }, |
|
172 MENU_ITEM |
|
173 { |
|
174 command=EConsolScrollBoth; |
|
175 txt="Both scrollbars"; |
|
176 } |
|
177 }; |
|
178 } |
|
179 |
|
180 RESOURCE TBUF r_busy { buf="Busy…"; } |
|