1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#if ! defined INCLUDED_DP_GUI_HRC
25#define INCLUDED_DP_GUI_HRC
26
27#include "deployment.hrc"
28#include "helpid.hrc"
29
30// Package Manager Dialog:
31#define RID_DLG_EXTENSION_MANAGER              RID_DEPLOYMENT_GUI_START
32#define RID_DLG_UPDATE_REQUIRED               (RID_DEPLOYMENT_GUI_START + 11)
33
34#define RID_EM_BTN_CLOSE                       10
35#define RID_EM_BTN_HELP                        11
36#define RID_EM_BTN_ADD                         12
37#define RID_EM_BTN_CHECK_UPDATES               13
38#define RID_EM_BTN_OPTIONS                     14
39#define RID_EM_BTN_CANCEL                      15
40#define RID_EM_FT_GET_EXTENSIONS               20
41#define RID_EM_FT_PROGRESS                     21
42#define RID_EM_FT_MSG                          22
43
44// local RIDs:
45#define PB_LICENSE_DOWN							50
46#define ML_LICENSE								51
47#define BTN_LICENSE_DECLINE						53
48#define FT_LICENSE_HEADER						54
49#define FT_LICENSE_BODY_1						55
50#define FT_LICENSE_BODY_1_TXT					56
51#define FT_LICENSE_BODY_2						57
52#define FT_LICENSE_BODY_2_TXT					58
53#define FL_LICENSE								69
54#define FI_LICENSE_ARROW1						60
55#define FI_LICENSE_ARROW2						61
56#define IMG_LICENCE_ARROW_HC					62
57#define BTN_LICENSE_ACCEPT						63
58
59// local RIDs for "Download and Install" dialog
60
61#define RID_DLG_UPDATE_INSTALL_ABORT 2
62#define RID_DLG_UPDATE_INSTALL_OK 3
63#define RID_DLG_UPDATE_INSTALL_DOWNLOADING 4
64#define RID_DLG_UPDATE_INSTALL_INSTALLING 5
65#define RID_DLG_UPDATE_INSTALL_FINISHED 6
66#define RID_DLG_UPDATE_INSTALL_LINE 7
67#define RID_DLG_UPDATE_INSTALL_HELP 8
68#define RID_DLG_UPDATE_INSTALL_STATUSBAR 9
69#define RID_DLG_UPDATE_INSTALL_EXTENSION_NAME 10
70#define RID_DLG_UPDATE_INSTALL_RESULTS 11
71#define RID_DLG_UPDATE_INSTALL_INFO 12
72#define RID_DLG_UPDATE_INSTALL_NO_ERRORS 13
73#define RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED 14
74#define RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD 15
75#define RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION 16
76#define RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED 17
77#define RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL 18
78
79#define RID_DLG_DEPENDENCIES (RID_DEPLOYMENT_GUI_START + 1)
80#define RID_DLG_DEPENDENCIES_TEXT 1
81#define RID_DLG_DEPENDENCIES_LIST 2
82#define RID_DLG_DEPENDENCIES_OK 3
83
84#define RID_QUERYBOX_INSTALL_FOR_ALL                              (RID_DEPLOYMENT_GUI_START + 2)
85#define RID_WARNINGBOX_VERSION_LESS                               (RID_DEPLOYMENT_GUI_START + 3)
86#define RID_STR_WARNINGBOX_VERSION_LESS_DIFFERENT_NAMES           (RID_DEPLOYMENT_GUI_START + 4)
87#define RID_WARNINGBOX_VERSION_EQUAL                              (RID_DEPLOYMENT_GUI_START + 5)
88#define RID_STR_WARNINGBOX_VERSION_EQUAL_DIFFERENT_NAMES          (RID_DEPLOYMENT_GUI_START + 6)
89#define RID_WARNINGBOX_VERSION_GREATER                            (RID_DEPLOYMENT_GUI_START + 7)
90#define RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES        (RID_DEPLOYMENT_GUI_START + 8)
91#define RID_WARNINGBOX_INSTALL_EXTENSION                          (RID_DEPLOYMENT_GUI_START + 9)
92
93#define RID_DLG_UPDATE (RID_DEPLOYMENT_GUI_START + 10)
94
95#define RID_DLG_UPDATE_CHECKING 1
96#define RID_DLG_UPDATE_THROBBER 2
97#define RID_DLG_UPDATE_UPDATE 3
98#define RID_DLG_UPDATE_UPDATES 4
99#define RID_DLG_UPDATE_ALL 5
100#define RID_DLG_UPDATE_DESCRIPTION 6
101#define RID_DLG_UPDATE_DESCRIPTIONS 7
102#define RID_DLG_UPDATE_LINE 8
103#define RID_DLG_UPDATE_HELP 9
104#define RID_DLG_UPDATE_OK 10
105#define RID_DLG_UPDATE_CLOSE 11
106#define RID_DLG_UPDATE_NORMALALERT 12
107#define RID_DLG_UPDATE_HIGHCONTRASTALERT 13
108#define RID_DLG_UPDATE_ERROR 14
109#define RID_DLG_UPDATE_NONE 15
110#define RID_DLG_UPDATE_NOINSTALLABLE 16
111#define RID_DLG_UPDATE_FAILURE 17
112#define RID_DLG_UPDATE_UNKNOWNERROR 18
113#define RID_DLG_UPDATE_NODESCRIPTION 19
114#define RID_DLG_UPDATE_NOINSTALL 20
115#define RID_DLG_UPDATE_NODEPENDENCY         21
116#define RID_DLG_UPDATE_NODEPENDENCY_CUR_VER 22
117#define RID_DLG_UPDATE_NOPERMISSION         23
118#define RID_DLG_UPDATE_NOPERMISSION_VISTA   24
119#define RID_DLG_UPDATE_BROWSERBASED         25
120#define RID_DLG_UPDATE_PUBLISHER_LABEL      26
121#define RID_DLG_UPDATE_PUBLISHER_LINK       27
122#define RID_DLG_UPDATE_RELEASENOTES_LABEL   28
123#define RID_DLG_UPDATE_RELEASENOTES_LINK    29
124#define RID_DLG_UPDATE_NOUPDATE             30
125#define RID_DLG_UPDATE_VERSION              31
126#define RID_DLG_UPDATE_IGNORE               32
127#define RID_DLG_UPDATE_ENABLE               33
128#define RID_DLG_UPDATE_IGNORE_ALL           34
129#define RID_DLG_UPDATE_IGNORED_UPDATE       35
130
131
132
133#define RID_DLG_UPDATEINSTALL                  (RID_DEPLOYMENT_GUI_START + 20)
134#define RID_INFOBOX_UPDATE_SHARED_EXTENSION    (RID_DEPLOYMENT_GUI_START + 21)
135
136#define RID_IMG_WARNING                        (RID_DEPLOYMENT_GUI_START+56)
137#define RID_IMG_WARNING_HC                     (RID_DEPLOYMENT_GUI_START+57)
138#define RID_IMG_LOCKED                         (RID_DEPLOYMENT_GUI_START+58)
139#define RID_IMG_LOCKED_HC                      (RID_DEPLOYMENT_GUI_START+59)
140#define RID_IMG_EXTENSION                      (RID_DEPLOYMENT_GUI_START+60)
141#define RID_IMG_EXTENSION_HC                   (RID_DEPLOYMENT_GUI_START+61)
142#define RID_IMG_SHARED                         (RID_DEPLOYMENT_GUI_START+62)
143#define RID_IMG_SHARED_HC                      (RID_DEPLOYMENT_GUI_START+63)
144
145#define RID_STR_ADD_PACKAGES                   (RID_DEPLOYMENT_GUI_START+70)
146
147#define RID_CTX_ITEM_REMOVE                    (RID_DEPLOYMENT_GUI_START+80)
148#define RID_CTX_ITEM_ENABLE                    (RID_DEPLOYMENT_GUI_START+81)
149#define RID_CTX_ITEM_DISABLE                   (RID_DEPLOYMENT_GUI_START+82)
150#define RID_CTX_ITEM_CHECK_UPDATE              (RID_DEPLOYMENT_GUI_START+83)
151#define RID_CTX_ITEM_OPTIONS                   (RID_DEPLOYMENT_GUI_START+84)
152
153#define RID_STR_ADDING_PACKAGES                (RID_DEPLOYMENT_GUI_START+85)
154#define RID_STR_REMOVING_PACKAGES              (RID_DEPLOYMENT_GUI_START+86)
155#define RID_STR_ENABLING_PACKAGES              (RID_DEPLOYMENT_GUI_START+87)
156#define RID_STR_DISABLING_PACKAGES             (RID_DEPLOYMENT_GUI_START+88)
157#define RID_STR_ACCEPT_LICENSE                 (RID_DEPLOYMENT_GUI_START+89)
158
159#define RID_STR_INSTALL_FOR_ALL                (RID_DEPLOYMENT_GUI_START+90)
160#define RID_STR_INSTALL_FOR_ME                 (RID_DEPLOYMENT_GUI_START+91)
161#define RID_STR_ERROR_UNKNOWN_STATUS           (RID_DEPLOYMENT_GUI_START+92)
162#define RID_STR_CLOSE_BTN                      (RID_DEPLOYMENT_GUI_START+93)
163#define RID_STR_EXIT_BTN                       (RID_DEPLOYMENT_GUI_START+94)
164#define RID_STR_NO_ADMIN_PRIVILEGE             (RID_DEPLOYMENT_GUI_START+95)
165#define RID_STR_ERROR_MISSING_DEPENDENCIES     (RID_DEPLOYMENT_GUI_START+96)
166#define RID_STR_ERROR_MISSING_LICENSE          (RID_DEPLOYMENT_GUI_START+97)
167#define RID_STR_SHOW_LICENSE_CMD               (RID_DEPLOYMENT_GUI_START+98)
168
169#define WARNINGBOX_CONCURRENTINSTANCE          (RID_DEPLOYMENT_GUI_START+100)
170
171#define RID_STR_UNSUPPORTED_PLATFORM            (RID_DEPLOYMENT_GUI_START+101)
172#define RID_WARNINGBOX_UPDATE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+102)
173#define RID_WARNINGBOX_REMOVE_EXTENSION         (RID_DEPLOYMENT_GUI_START+103)
174#define RID_WARNINGBOX_REMOVE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+104)
175#define RID_WARNINGBOX_ENABLE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+105)
176#define RID_WARNINGBOX_DISABLE_SHARED_EXTENSION (RID_DEPLOYMENT_GUI_START+106)
177#define RID_DLG_SHOW_LICENSE					(RID_DEPLOYMENT_GUI_START+107)
178
179#define RID_DLG_LICENSE							RID_DEPLOYMENT_LICENSE_START
180
181
182
183#endif
184