Branch data Line data Source code
1 : : #ifndef INCLUDED_OFFICECFG_SETUP_HXX
2 : : #define INCLUDED_OFFICECFG_SETUP_HXX
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "boost/optional.hpp"
7 : : #include "com/sun/star/uno/Sequence.hxx"
8 : : #include "rtl/ustring.h"
9 : : #include "rtl/ustring.hxx"
10 : : #include "sal/types.h"
11 : : #include "comphelper/configuration.hxx"
12 : :
13 : : namespace officecfg { namespace Setup {
14 : :
15 : : struct Product: public comphelper::ConfigurationGroup< Product> {
16 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product")); }
17 : :
18 : : struct ooName: public comphelper::ConfigurationProperty<ooName, rtl::OUString> {
19 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooName")); }
20 : : private:
21 : : ooName(); // not defined
22 : : ~ooName(); // not defined
23 : : };
24 : :
25 : : struct ooXMLFileFormatVersion: public comphelper::ConfigurationProperty<ooXMLFileFormatVersion, rtl::OUString> {
26 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooXMLFileFormatVersion")); }
27 : : private:
28 : : ooXMLFileFormatVersion(); // not defined
29 : : ~ooXMLFileFormatVersion(); // not defined
30 : : };
31 : :
32 : : struct ooXMLFileFormatName: public comphelper::ConfigurationProperty<ooXMLFileFormatName, rtl::OUString> {
33 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooXMLFileFormatName")); }
34 : : private:
35 : : ooXMLFileFormatName(); // not defined
36 : : ~ooXMLFileFormatName(); // not defined
37 : : };
38 : :
39 : : struct ooSetupVersion: public comphelper::ConfigurationProperty<ooSetupVersion, rtl::OUString> {
40 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersion")); }
41 : : private:
42 : : ooSetupVersion(); // not defined
43 : : ~ooSetupVersion(); // not defined
44 : : };
45 : :
46 : : struct ooSetupVersionAboutBox: public comphelper::ConfigurationProperty<ooSetupVersionAboutBox, rtl::OUString> {
47 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersionAboutBox")); }
48 : : private:
49 : : ooSetupVersionAboutBox(); // not defined
50 : : ~ooSetupVersionAboutBox(); // not defined
51 : : };
52 : :
53 : : struct ooSetupVersionAboutBoxSuffix: public comphelper::ConfigurationProperty<ooSetupVersionAboutBoxSuffix, rtl::OUString> {
54 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupVersionAboutBoxSuffix")); }
55 : : private:
56 : : ooSetupVersionAboutBoxSuffix(); // not defined
57 : : ~ooSetupVersionAboutBoxSuffix(); // not defined
58 : : };
59 : :
60 : : struct ooVendor: public comphelper::ConfigurationProperty<ooVendor, rtl::OUString> {
61 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooVendor")); }
62 : : private:
63 : : ooVendor(); // not defined
64 : : ~ooVendor(); // not defined
65 : : };
66 : :
67 : : struct ooSetupExtension: public comphelper::ConfigurationProperty<ooSetupExtension, rtl::OUString> {
68 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooSetupExtension")); }
69 : : private:
70 : : ooSetupExtension(); // not defined
71 : : ~ooSetupExtension(); // not defined
72 : : };
73 : :
74 : : struct ooOpenSourceContext: public comphelper::ConfigurationProperty<ooOpenSourceContext, sal_Int32> {
75 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Product/ooOpenSourceContext")); }
76 : : private:
77 : : ooOpenSourceContext(); // not defined
78 : : ~ooOpenSourceContext(); // not defined
79 : : };
80 : :
81 : : private:
82 : : Product(); // not defined
83 : : ~Product(); // not defined
84 : : };
85 : :
86 : : struct Office: public comphelper::ConfigurationGroup< Office> {
87 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office")); }
88 : :
89 : : struct ooSetupInstallPath: public comphelper::ConfigurationProperty<ooSetupInstallPath, rtl::OUString> {
90 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupInstallPath")); }
91 : : private:
92 : : ooSetupInstallPath(); // not defined
93 : : ~ooSetupInstallPath(); // not defined
94 : : };
95 : :
96 : : struct ooSetupInstallURL: public comphelper::ConfigurationProperty<ooSetupInstallURL, rtl::OUString> {
97 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupInstallURL")); }
98 : : private:
99 : : ooSetupInstallURL(); // not defined
100 : : ~ooSetupInstallURL(); // not defined
101 : : };
102 : :
103 : : struct ooSetupInstCompleted: public comphelper::ConfigurationProperty<ooSetupInstCompleted, bool> {
104 : 220 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupInstCompleted")); }
105 : : private:
106 : : ooSetupInstCompleted(); // not defined
107 : : ~ooSetupInstCompleted(); // not defined
108 : : };
109 : :
110 : : struct ooSetupLocales: public comphelper::ConfigurationProperty<ooSetupLocales, boost::optional<com::sun::star::uno::Sequence<rtl::OUString> > > {
111 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupLocales")); }
112 : : private:
113 : : ooSetupLocales(); // not defined
114 : : ~ooSetupLocales(); // not defined
115 : : };
116 : :
117 : : struct InstalledLocales: public comphelper::ConfigurationSet< InstalledLocales> {
118 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/InstalledLocales")); }
119 : : private:
120 : : InstalledLocales(); // not defined
121 : : ~InstalledLocales(); // not defined
122 : : };
123 : :
124 : : struct ooSetupShowIntro: public comphelper::ConfigurationProperty<ooSetupShowIntro, bool> {
125 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupShowIntro")); }
126 : : private:
127 : : ooSetupShowIntro(); // not defined
128 : : ~ooSetupShowIntro(); // not defined
129 : : };
130 : :
131 : : struct ooSetupConnectionURL: public comphelper::ConfigurationProperty<ooSetupConnectionURL, rtl::OUString> {
132 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/ooSetupConnectionURL")); }
133 : : private:
134 : : ooSetupConnectionURL(); // not defined
135 : : ~ooSetupConnectionURL(); // not defined
136 : : };
137 : :
138 : : struct LicenseAcceptDate: public comphelper::ConfigurationProperty<LicenseAcceptDate, boost::optional<rtl::OUString> > {
139 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/LicenseAcceptDate")); }
140 : : private:
141 : : LicenseAcceptDate(); // not defined
142 : : ~LicenseAcceptDate(); // not defined
143 : : };
144 : :
145 : : struct FirstStartWizardCompleted: public comphelper::ConfigurationProperty<FirstStartWizardCompleted, bool> {
146 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/FirstStartWizardCompleted")); }
147 : : private:
148 : : FirstStartWizardCompleted(); // not defined
149 : : ~FirstStartWizardCompleted(); // not defined
150 : : };
151 : :
152 : : struct MigrationCompleted: public comphelper::ConfigurationProperty<MigrationCompleted, bool> {
153 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/MigrationCompleted")); }
154 : : private:
155 : : MigrationCompleted(); // not defined
156 : : ~MigrationCompleted(); // not defined
157 : : };
158 : :
159 : : struct LastCompatibilityCheckID: public comphelper::ConfigurationProperty<LastCompatibilityCheckID, rtl::OUString> {
160 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/LastCompatibilityCheckID")); }
161 : : private:
162 : : LastCompatibilityCheckID(); // not defined
163 : : ~LastCompatibilityCheckID(); // not defined
164 : : };
165 : :
166 : : struct Factories: public comphelper::ConfigurationSet< Factories> {
167 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/Factories")); }
168 : : private:
169 : : Factories(); // not defined
170 : : ~Factories(); // not defined
171 : : };
172 : :
173 : : struct OfficeRestartInProgress: public comphelper::ConfigurationProperty<OfficeRestartInProgress, bool> {
174 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Office/OfficeRestartInProgress")); }
175 : : private:
176 : : OfficeRestartInProgress(); // not defined
177 : : ~OfficeRestartInProgress(); // not defined
178 : : };
179 : :
180 : : private:
181 : : Office(); // not defined
182 : : ~Office(); // not defined
183 : : };
184 : :
185 : : struct L10N: public comphelper::ConfigurationGroup< L10N> {
186 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N")); }
187 : :
188 : : struct ooLocale: public comphelper::ConfigurationProperty<ooLocale, rtl::OUString> {
189 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooLocale")); }
190 : : private:
191 : : ooLocale(); // not defined
192 : : ~ooLocale(); // not defined
193 : : };
194 : :
195 : : struct ooSetupSystemLocale: public comphelper::ConfigurationProperty<ooSetupSystemLocale, rtl::OUString> {
196 : 3251 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooSetupSystemLocale")); }
197 : : private:
198 : : ooSetupSystemLocale(); // not defined
199 : : ~ooSetupSystemLocale(); // not defined
200 : : };
201 : :
202 : : struct ooSetupCurrency: public comphelper::ConfigurationProperty<ooSetupCurrency, rtl::OUString> {
203 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/ooSetupCurrency")); }
204 : : private:
205 : : ooSetupCurrency(); // not defined
206 : : ~ooSetupCurrency(); // not defined
207 : : };
208 : :
209 : : struct DecimalSeparatorAsLocale: public comphelper::ConfigurationProperty<DecimalSeparatorAsLocale, bool> {
210 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/L10N/DecimalSeparatorAsLocale")); }
211 : : private:
212 : : DecimalSeparatorAsLocale(); // not defined
213 : : ~DecimalSeparatorAsLocale(); // not defined
214 : : };
215 : :
216 : : private:
217 : : L10N(); // not defined
218 : : ~L10N(); // not defined
219 : : };
220 : :
221 : : struct Configuration: public comphelper::ConfigurationGroup< Configuration> {
222 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Configuration")); }
223 : :
224 : : struct TransferUserSettingsOnce: public comphelper::ConfigurationProperty<TransferUserSettingsOnce, bool> {
225 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Configuration/TransferUserSettingsOnce")); }
226 : : private:
227 : : TransferUserSettingsOnce(); // not defined
228 : : ~TransferUserSettingsOnce(); // not defined
229 : : };
230 : :
231 : : private:
232 : : Configuration(); // not defined
233 : : ~Configuration(); // not defined
234 : : };
235 : :
236 : : struct Migration: public comphelper::ConfigurationGroup< Migration> {
237 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Migration")); }
238 : :
239 : : struct SupportedVersions: public comphelper::ConfigurationSet< SupportedVersions> {
240 : : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup/Migration/SupportedVersions")); }
241 : : private:
242 : : SupportedVersions(); // not defined
243 : : ~SupportedVersions(); // not defined
244 : : };
245 : :
246 : : private:
247 : : Migration(); // not defined
248 : : ~Migration(); // not defined
249 : : };
250 : :
251 : : } }
252 : :
253 : : #endif
|