1 | #ifndef INCLUDED_COM_SUN_STAR_REGISTRY_XREGISTRYKEY_HPP |
2 | #define INCLUDED_COM_SUN_STAR_REGISTRY_XREGISTRYKEY_HPP |
3 | |
4 | #include "sal/config.h" |
5 | |
6 | #include <exception> |
7 | |
8 | #include "com/sun/star/registry/XRegistryKey.hdl" |
9 | |
10 | #include "com/sun/star/registry/InvalidRegistryException.hpp" |
11 | #include "com/sun/star/registry/InvalidValueException.hpp" |
12 | #include "com/sun/star/registry/RegistryKeyType.hpp" |
13 | #include "com/sun/star/registry/RegistryValueType.hpp" |
14 | #include "com/sun/star/registry/XRegistryKey.hpp" |
15 | #include "com/sun/star/uno/RuntimeException.hpp" |
16 | #include "com/sun/star/uno/XInterface.hpp" |
17 | #include "com/sun/star/uno/Reference.hxx" |
18 | #include "com/sun/star/uno/Sequence.hxx" |
19 | #include "com/sun/star/uno/Type.hxx" |
20 | #include "cppu/unotype.hxx" |
21 | #include "osl/mutex.hxx" |
22 | #include "rtl/ustring.hxx" |
23 | #include "rtl/instance.hxx" |
24 | #include "sal/types.h" |
25 | |
26 | namespace com { namespace sun { namespace star { namespace registry { namespace detail { |
27 | |
28 | struct theXRegistryKeyType : public rtl::StaticWithInit< ::css::uno::Type *, theXRegistryKeyType > |
29 | { |
30 | ::css::uno::Type * operator()() const |
31 | { |
32 | ::rtl::OUString sTypeName( "com.sun.star.registry.XRegistryKey" ); |
33 | |
34 | // Start inline typedescription generation |
35 | typelib_InterfaceTypeDescription * pTD = 0; |
36 | |
37 | typelib_TypeDescriptionReference * aSuperTypes[1]; |
38 | aSuperTypes[0] = ::cppu::UnoType< ::css::uno::Reference< ::css::uno::XInterface > >::get().getTypeLibType(); |
39 | typelib_TypeDescriptionReference * pMembers[29] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; |
40 | ::rtl::OUString sAttributeName0( "com.sun.star.registry.XRegistryKey::KeyName" ); |
41 | typelib_typedescriptionreference_new( &pMembers[0], |
42 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_ATTRIBUTE, |
43 | sAttributeName0.pData ); |
44 | ::rtl::OUString sMethodName0( "com.sun.star.registry.XRegistryKey::isReadOnly" ); |
45 | typelib_typedescriptionreference_new( &pMembers[1], |
46 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
47 | sMethodName0.pData ); |
48 | ::rtl::OUString sMethodName1( "com.sun.star.registry.XRegistryKey::isValid" ); |
49 | typelib_typedescriptionreference_new( &pMembers[2], |
50 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
51 | sMethodName1.pData ); |
52 | ::rtl::OUString sMethodName2( "com.sun.star.registry.XRegistryKey::getKeyType" ); |
53 | typelib_typedescriptionreference_new( &pMembers[3], |
54 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
55 | sMethodName2.pData ); |
56 | ::rtl::OUString sMethodName3( "com.sun.star.registry.XRegistryKey::getValueType" ); |
57 | typelib_typedescriptionreference_new( &pMembers[4], |
58 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
59 | sMethodName3.pData ); |
60 | ::rtl::OUString sMethodName4( "com.sun.star.registry.XRegistryKey::getLongValue" ); |
61 | typelib_typedescriptionreference_new( &pMembers[5], |
62 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
63 | sMethodName4.pData ); |
64 | ::rtl::OUString sMethodName5( "com.sun.star.registry.XRegistryKey::setLongValue" ); |
65 | typelib_typedescriptionreference_new( &pMembers[6], |
66 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
67 | sMethodName5.pData ); |
68 | ::rtl::OUString sMethodName6( "com.sun.star.registry.XRegistryKey::getLongListValue" ); |
69 | typelib_typedescriptionreference_new( &pMembers[7], |
70 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
71 | sMethodName6.pData ); |
72 | ::rtl::OUString sMethodName7( "com.sun.star.registry.XRegistryKey::setLongListValue" ); |
73 | typelib_typedescriptionreference_new( &pMembers[8], |
74 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
75 | sMethodName7.pData ); |
76 | ::rtl::OUString sMethodName8( "com.sun.star.registry.XRegistryKey::getAsciiValue" ); |
77 | typelib_typedescriptionreference_new( &pMembers[9], |
78 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
79 | sMethodName8.pData ); |
80 | ::rtl::OUString sMethodName9( "com.sun.star.registry.XRegistryKey::setAsciiValue" ); |
81 | typelib_typedescriptionreference_new( &pMembers[10], |
82 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
83 | sMethodName9.pData ); |
84 | ::rtl::OUString sMethodName10( "com.sun.star.registry.XRegistryKey::getAsciiListValue" ); |
85 | typelib_typedescriptionreference_new( &pMembers[11], |
86 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
87 | sMethodName10.pData ); |
88 | ::rtl::OUString sMethodName11( "com.sun.star.registry.XRegistryKey::setAsciiListValue" ); |
89 | typelib_typedescriptionreference_new( &pMembers[12], |
90 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
91 | sMethodName11.pData ); |
92 | ::rtl::OUString sMethodName12( "com.sun.star.registry.XRegistryKey::getStringValue" ); |
93 | typelib_typedescriptionreference_new( &pMembers[13], |
94 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
95 | sMethodName12.pData ); |
96 | ::rtl::OUString sMethodName13( "com.sun.star.registry.XRegistryKey::setStringValue" ); |
97 | typelib_typedescriptionreference_new( &pMembers[14], |
98 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
99 | sMethodName13.pData ); |
100 | ::rtl::OUString sMethodName14( "com.sun.star.registry.XRegistryKey::getStringListValue" ); |
101 | typelib_typedescriptionreference_new( &pMembers[15], |
102 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
103 | sMethodName14.pData ); |
104 | ::rtl::OUString sMethodName15( "com.sun.star.registry.XRegistryKey::setStringListValue" ); |
105 | typelib_typedescriptionreference_new( &pMembers[16], |
106 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
107 | sMethodName15.pData ); |
108 | ::rtl::OUString sMethodName16( "com.sun.star.registry.XRegistryKey::getBinaryValue" ); |
109 | typelib_typedescriptionreference_new( &pMembers[17], |
110 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
111 | sMethodName16.pData ); |
112 | ::rtl::OUString sMethodName17( "com.sun.star.registry.XRegistryKey::setBinaryValue" ); |
113 | typelib_typedescriptionreference_new( &pMembers[18], |
114 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
115 | sMethodName17.pData ); |
116 | ::rtl::OUString sMethodName18( "com.sun.star.registry.XRegistryKey::openKey" ); |
117 | typelib_typedescriptionreference_new( &pMembers[19], |
118 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
119 | sMethodName18.pData ); |
120 | ::rtl::OUString sMethodName19( "com.sun.star.registry.XRegistryKey::createKey" ); |
121 | typelib_typedescriptionreference_new( &pMembers[20], |
122 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
123 | sMethodName19.pData ); |
124 | ::rtl::OUString sMethodName20( "com.sun.star.registry.XRegistryKey::closeKey" ); |
125 | typelib_typedescriptionreference_new( &pMembers[21], |
126 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
127 | sMethodName20.pData ); |
128 | ::rtl::OUString sMethodName21( "com.sun.star.registry.XRegistryKey::deleteKey" ); |
129 | typelib_typedescriptionreference_new( &pMembers[22], |
130 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
131 | sMethodName21.pData ); |
132 | ::rtl::OUString sMethodName22( "com.sun.star.registry.XRegistryKey::openKeys" ); |
133 | typelib_typedescriptionreference_new( &pMembers[23], |
134 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
135 | sMethodName22.pData ); |
136 | ::rtl::OUString sMethodName23( "com.sun.star.registry.XRegistryKey::getKeyNames" ); |
137 | typelib_typedescriptionreference_new( &pMembers[24], |
138 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
139 | sMethodName23.pData ); |
140 | ::rtl::OUString sMethodName24( "com.sun.star.registry.XRegistryKey::createLink" ); |
141 | typelib_typedescriptionreference_new( &pMembers[25], |
142 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
143 | sMethodName24.pData ); |
144 | ::rtl::OUString sMethodName25( "com.sun.star.registry.XRegistryKey::deleteLink" ); |
145 | typelib_typedescriptionreference_new( &pMembers[26], |
146 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
147 | sMethodName25.pData ); |
148 | ::rtl::OUString sMethodName26( "com.sun.star.registry.XRegistryKey::getLinkTarget" ); |
149 | typelib_typedescriptionreference_new( &pMembers[27], |
150 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
151 | sMethodName26.pData ); |
152 | ::rtl::OUString sMethodName27( "com.sun.star.registry.XRegistryKey::getResolvedName" ); |
153 | typelib_typedescriptionreference_new( &pMembers[28], |
154 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE_METHOD, |
155 | sMethodName27.pData ); |
156 | |
157 | typelib_typedescription_newMIInterface( |
158 | &pTD, |
159 | sTypeName.pData, 0, 0, 0, 0, 0, |
160 | 1, aSuperTypes, |
161 | 29, |
162 | pMembers ); |
163 | |
164 | typelib_typedescription_register( (typelib_TypeDescription**)&pTD ); |
165 | typelib_typedescriptionreference_release( pMembers[0] ); |
166 | typelib_typedescriptionreference_release( pMembers[1] ); |
167 | typelib_typedescriptionreference_release( pMembers[2] ); |
168 | typelib_typedescriptionreference_release( pMembers[3] ); |
169 | typelib_typedescriptionreference_release( pMembers[4] ); |
170 | typelib_typedescriptionreference_release( pMembers[5] ); |
171 | typelib_typedescriptionreference_release( pMembers[6] ); |
172 | typelib_typedescriptionreference_release( pMembers[7] ); |
173 | typelib_typedescriptionreference_release( pMembers[8] ); |
174 | typelib_typedescriptionreference_release( pMembers[9] ); |
175 | typelib_typedescriptionreference_release( pMembers[10] ); |
176 | typelib_typedescriptionreference_release( pMembers[11] ); |
177 | typelib_typedescriptionreference_release( pMembers[12] ); |
178 | typelib_typedescriptionreference_release( pMembers[13] ); |
179 | typelib_typedescriptionreference_release( pMembers[14] ); |
180 | typelib_typedescriptionreference_release( pMembers[15] ); |
181 | typelib_typedescriptionreference_release( pMembers[16] ); |
182 | typelib_typedescriptionreference_release( pMembers[17] ); |
183 | typelib_typedescriptionreference_release( pMembers[18] ); |
184 | typelib_typedescriptionreference_release( pMembers[19] ); |
185 | typelib_typedescriptionreference_release( pMembers[20] ); |
186 | typelib_typedescriptionreference_release( pMembers[21] ); |
187 | typelib_typedescriptionreference_release( pMembers[22] ); |
188 | typelib_typedescriptionreference_release( pMembers[23] ); |
189 | typelib_typedescriptionreference_release( pMembers[24] ); |
190 | typelib_typedescriptionreference_release( pMembers[25] ); |
191 | typelib_typedescriptionreference_release( pMembers[26] ); |
192 | typelib_typedescriptionreference_release( pMembers[27] ); |
193 | typelib_typedescriptionreference_release( pMembers[28] ); |
194 | typelib_typedescription_release( (typelib_TypeDescription*)pTD ); |
195 | |
196 | return new ::css::uno::Type( ::css::uno::TypeClass_INTERFACE, sTypeName ); // leaked |
197 | } |
198 | }; |
199 | |
200 | } } } } } |
201 | |
202 | namespace com { namespace sun { namespace star { namespace registry { |
203 | |
204 | inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::registry::XRegistryKey const *) { |
205 | const ::css::uno::Type &rRet = *detail::theXRegistryKeyType::get(); |
206 | // End inline typedescription generation |
207 | static bool bInitStarted = false; |
208 | if (!bInitStarted) |
209 | { |
210 | ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); |
211 | if (!bInitStarted) |
212 | { |
213 | OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); |
214 | bInitStarted = true; |
215 | ::cppu::UnoType< ::css::uno::RuntimeException >::get(); |
216 | ::cppu::UnoType< ::css::registry::InvalidRegistryException >::get(); |
217 | ::cppu::UnoType< ::css::registry::InvalidValueException >::get(); |
218 | |
219 | typelib_InterfaceAttributeTypeDescription * pAttribute = 0; |
220 | { |
221 | ::rtl::OUString sAttributeType0( "string" ); |
222 | ::rtl::OUString sAttributeName0( "com.sun.star.registry.XRegistryKey::KeyName" ); |
223 | typelib_typedescription_newExtendedInterfaceAttribute( &pAttribute, |
224 | 3, sAttributeName0.pData, |
225 | (typelib_TypeClass)::css::uno::TypeClass_STRING, sAttributeType0.pData, |
226 | sal_True, 0, 0, 0, 0 ); |
227 | typelib_typedescription_register( (typelib_TypeDescription**)&pAttribute ); |
228 | } |
229 | typelib_typedescription_release( (typelib_TypeDescription*)pAttribute ); |
230 | |
231 | typelib_InterfaceMethodTypeDescription * pMethod = 0; |
232 | { |
233 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
234 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
235 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
236 | ::rtl::OUString sReturnType0( "boolean" ); |
237 | ::rtl::OUString sMethodName0( "com.sun.star.registry.XRegistryKey::isReadOnly" ); |
238 | typelib_typedescription_newInterfaceMethod( &pMethod, |
239 | 4, sal_False, |
240 | sMethodName0.pData, |
241 | (typelib_TypeClass)::css::uno::TypeClass_BOOLEAN, sReturnType0.pData, |
242 | 0, 0, |
243 | 2, the_Exceptions ); |
244 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
245 | } |
246 | { |
247 | ::rtl::OUString the_ExceptionName0( "com.sun.star.uno.RuntimeException" ); |
248 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData }; |
249 | ::rtl::OUString sReturnType1( "boolean" ); |
250 | ::rtl::OUString sMethodName1( "com.sun.star.registry.XRegistryKey::isValid" ); |
251 | typelib_typedescription_newInterfaceMethod( &pMethod, |
252 | 5, sal_False, |
253 | sMethodName1.pData, |
254 | (typelib_TypeClass)::css::uno::TypeClass_BOOLEAN, sReturnType1.pData, |
255 | 0, 0, |
256 | 1, the_Exceptions ); |
257 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
258 | } |
259 | { |
260 | typelib_Parameter_Init aParameters[1]; |
261 | ::rtl::OUString sParamName0( "rKeyName" ); |
262 | ::rtl::OUString sParamType0( "string" ); |
263 | aParameters[0].pParamName = sParamName0.pData; |
264 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
265 | aParameters[0].pTypeName = sParamType0.pData; |
266 | aParameters[0].bIn = sal_True; |
267 | aParameters[0].bOut = sal_False; |
268 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
269 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
270 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
271 | ::rtl::OUString sReturnType2( "com.sun.star.registry.RegistryKeyType" ); |
272 | ::rtl::OUString sMethodName2( "com.sun.star.registry.XRegistryKey::getKeyType" ); |
273 | typelib_typedescription_newInterfaceMethod( &pMethod, |
274 | 6, sal_False, |
275 | sMethodName2.pData, |
276 | (typelib_TypeClass)::css::uno::TypeClass_ENUM, sReturnType2.pData, |
277 | 1, aParameters, |
278 | 2, the_Exceptions ); |
279 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
280 | } |
281 | { |
282 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
283 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
284 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
285 | ::rtl::OUString sReturnType3( "com.sun.star.registry.RegistryValueType" ); |
286 | ::rtl::OUString sMethodName3( "com.sun.star.registry.XRegistryKey::getValueType" ); |
287 | typelib_typedescription_newInterfaceMethod( &pMethod, |
288 | 7, sal_False, |
289 | sMethodName3.pData, |
290 | (typelib_TypeClass)::css::uno::TypeClass_ENUM, sReturnType3.pData, |
291 | 0, 0, |
292 | 2, the_Exceptions ); |
293 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
294 | } |
295 | { |
296 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
297 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
298 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
299 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
300 | ::rtl::OUString sReturnType4( "long" ); |
301 | ::rtl::OUString sMethodName4( "com.sun.star.registry.XRegistryKey::getLongValue" ); |
302 | typelib_typedescription_newInterfaceMethod( &pMethod, |
303 | 8, sal_False, |
304 | sMethodName4.pData, |
305 | (typelib_TypeClass)::css::uno::TypeClass_LONG, sReturnType4.pData, |
306 | 0, 0, |
307 | 3, the_Exceptions ); |
308 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
309 | } |
310 | { |
311 | typelib_Parameter_Init aParameters[1]; |
312 | ::rtl::OUString sParamName0( "value" ); |
313 | ::rtl::OUString sParamType0( "long" ); |
314 | aParameters[0].pParamName = sParamName0.pData; |
315 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_LONG; |
316 | aParameters[0].pTypeName = sParamType0.pData; |
317 | aParameters[0].bIn = sal_True; |
318 | aParameters[0].bOut = sal_False; |
319 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
320 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
321 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
322 | ::rtl::OUString sReturnType5( "void" ); |
323 | ::rtl::OUString sMethodName5( "com.sun.star.registry.XRegistryKey::setLongValue" ); |
324 | typelib_typedescription_newInterfaceMethod( &pMethod, |
325 | 9, sal_False, |
326 | sMethodName5.pData, |
327 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType5.pData, |
328 | 1, aParameters, |
329 | 2, the_Exceptions ); |
330 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
331 | } |
332 | { |
333 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
334 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
335 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
336 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
337 | ::rtl::OUString sReturnType6( "[]long" ); |
338 | ::rtl::OUString sMethodName6( "com.sun.star.registry.XRegistryKey::getLongListValue" ); |
339 | typelib_typedescription_newInterfaceMethod( &pMethod, |
340 | 10, sal_False, |
341 | sMethodName6.pData, |
342 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType6.pData, |
343 | 0, 0, |
344 | 3, the_Exceptions ); |
345 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
346 | } |
347 | { |
348 | typelib_Parameter_Init aParameters[1]; |
349 | ::rtl::OUString sParamName0( "seqValue" ); |
350 | ::rtl::OUString sParamType0( "[]long" ); |
351 | aParameters[0].pParamName = sParamName0.pData; |
352 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE; |
353 | aParameters[0].pTypeName = sParamType0.pData; |
354 | aParameters[0].bIn = sal_True; |
355 | aParameters[0].bOut = sal_False; |
356 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
357 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
358 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
359 | ::rtl::OUString sReturnType7( "void" ); |
360 | ::rtl::OUString sMethodName7( "com.sun.star.registry.XRegistryKey::setLongListValue" ); |
361 | typelib_typedescription_newInterfaceMethod( &pMethod, |
362 | 11, sal_False, |
363 | sMethodName7.pData, |
364 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType7.pData, |
365 | 1, aParameters, |
366 | 2, the_Exceptions ); |
367 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
368 | } |
369 | { |
370 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
371 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
372 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
373 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
374 | ::rtl::OUString sReturnType8( "string" ); |
375 | ::rtl::OUString sMethodName8( "com.sun.star.registry.XRegistryKey::getAsciiValue" ); |
376 | typelib_typedescription_newInterfaceMethod( &pMethod, |
377 | 12, sal_False, |
378 | sMethodName8.pData, |
379 | (typelib_TypeClass)::css::uno::TypeClass_STRING, sReturnType8.pData, |
380 | 0, 0, |
381 | 3, the_Exceptions ); |
382 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
383 | } |
384 | { |
385 | typelib_Parameter_Init aParameters[1]; |
386 | ::rtl::OUString sParamName0( "value" ); |
387 | ::rtl::OUString sParamType0( "string" ); |
388 | aParameters[0].pParamName = sParamName0.pData; |
389 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
390 | aParameters[0].pTypeName = sParamType0.pData; |
391 | aParameters[0].bIn = sal_True; |
392 | aParameters[0].bOut = sal_False; |
393 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
394 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
395 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
396 | ::rtl::OUString sReturnType9( "void" ); |
397 | ::rtl::OUString sMethodName9( "com.sun.star.registry.XRegistryKey::setAsciiValue" ); |
398 | typelib_typedescription_newInterfaceMethod( &pMethod, |
399 | 13, sal_False, |
400 | sMethodName9.pData, |
401 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType9.pData, |
402 | 1, aParameters, |
403 | 2, the_Exceptions ); |
404 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
405 | } |
406 | { |
407 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
408 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
409 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
410 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
411 | ::rtl::OUString sReturnType10( "[]string" ); |
412 | ::rtl::OUString sMethodName10( "com.sun.star.registry.XRegistryKey::getAsciiListValue" ); |
413 | typelib_typedescription_newInterfaceMethod( &pMethod, |
414 | 14, sal_False, |
415 | sMethodName10.pData, |
416 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType10.pData, |
417 | 0, 0, |
418 | 3, the_Exceptions ); |
419 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
420 | } |
421 | { |
422 | typelib_Parameter_Init aParameters[1]; |
423 | ::rtl::OUString sParamName0( "seqValue" ); |
424 | ::rtl::OUString sParamType0( "[]string" ); |
425 | aParameters[0].pParamName = sParamName0.pData; |
426 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE; |
427 | aParameters[0].pTypeName = sParamType0.pData; |
428 | aParameters[0].bIn = sal_True; |
429 | aParameters[0].bOut = sal_False; |
430 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
431 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
432 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
433 | ::rtl::OUString sReturnType11( "void" ); |
434 | ::rtl::OUString sMethodName11( "com.sun.star.registry.XRegistryKey::setAsciiListValue" ); |
435 | typelib_typedescription_newInterfaceMethod( &pMethod, |
436 | 15, sal_False, |
437 | sMethodName11.pData, |
438 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType11.pData, |
439 | 1, aParameters, |
440 | 2, the_Exceptions ); |
441 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
442 | } |
443 | { |
444 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
445 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
446 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
447 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
448 | ::rtl::OUString sReturnType12( "string" ); |
449 | ::rtl::OUString sMethodName12( "com.sun.star.registry.XRegistryKey::getStringValue" ); |
450 | typelib_typedescription_newInterfaceMethod( &pMethod, |
451 | 16, sal_False, |
452 | sMethodName12.pData, |
453 | (typelib_TypeClass)::css::uno::TypeClass_STRING, sReturnType12.pData, |
454 | 0, 0, |
455 | 3, the_Exceptions ); |
456 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
457 | } |
458 | { |
459 | typelib_Parameter_Init aParameters[1]; |
460 | ::rtl::OUString sParamName0( "value" ); |
461 | ::rtl::OUString sParamType0( "string" ); |
462 | aParameters[0].pParamName = sParamName0.pData; |
463 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
464 | aParameters[0].pTypeName = sParamType0.pData; |
465 | aParameters[0].bIn = sal_True; |
466 | aParameters[0].bOut = sal_False; |
467 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
468 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
469 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
470 | ::rtl::OUString sReturnType13( "void" ); |
471 | ::rtl::OUString sMethodName13( "com.sun.star.registry.XRegistryKey::setStringValue" ); |
472 | typelib_typedescription_newInterfaceMethod( &pMethod, |
473 | 17, sal_False, |
474 | sMethodName13.pData, |
475 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType13.pData, |
476 | 1, aParameters, |
477 | 2, the_Exceptions ); |
478 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
479 | } |
480 | { |
481 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
482 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
483 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
484 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
485 | ::rtl::OUString sReturnType14( "[]string" ); |
486 | ::rtl::OUString sMethodName14( "com.sun.star.registry.XRegistryKey::getStringListValue" ); |
487 | typelib_typedescription_newInterfaceMethod( &pMethod, |
488 | 18, sal_False, |
489 | sMethodName14.pData, |
490 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType14.pData, |
491 | 0, 0, |
492 | 3, the_Exceptions ); |
493 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
494 | } |
495 | { |
496 | typelib_Parameter_Init aParameters[1]; |
497 | ::rtl::OUString sParamName0( "seqValue" ); |
498 | ::rtl::OUString sParamType0( "[]string" ); |
499 | aParameters[0].pParamName = sParamName0.pData; |
500 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE; |
501 | aParameters[0].pTypeName = sParamType0.pData; |
502 | aParameters[0].bIn = sal_True; |
503 | aParameters[0].bOut = sal_False; |
504 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
505 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
506 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
507 | ::rtl::OUString sReturnType15( "void" ); |
508 | ::rtl::OUString sMethodName15( "com.sun.star.registry.XRegistryKey::setStringListValue" ); |
509 | typelib_typedescription_newInterfaceMethod( &pMethod, |
510 | 19, sal_False, |
511 | sMethodName15.pData, |
512 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType15.pData, |
513 | 1, aParameters, |
514 | 2, the_Exceptions ); |
515 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
516 | } |
517 | { |
518 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
519 | ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" ); |
520 | ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" ); |
521 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData }; |
522 | ::rtl::OUString sReturnType16( "[]byte" ); |
523 | ::rtl::OUString sMethodName16( "com.sun.star.registry.XRegistryKey::getBinaryValue" ); |
524 | typelib_typedescription_newInterfaceMethod( &pMethod, |
525 | 20, sal_False, |
526 | sMethodName16.pData, |
527 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType16.pData, |
528 | 0, 0, |
529 | 3, the_Exceptions ); |
530 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
531 | } |
532 | { |
533 | typelib_Parameter_Init aParameters[1]; |
534 | ::rtl::OUString sParamName0( "value" ); |
535 | ::rtl::OUString sParamType0( "[]byte" ); |
536 | aParameters[0].pParamName = sParamName0.pData; |
537 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE; |
538 | aParameters[0].pTypeName = sParamType0.pData; |
539 | aParameters[0].bIn = sal_True; |
540 | aParameters[0].bOut = sal_False; |
541 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
542 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
543 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
544 | ::rtl::OUString sReturnType17( "void" ); |
545 | ::rtl::OUString sMethodName17( "com.sun.star.registry.XRegistryKey::setBinaryValue" ); |
546 | typelib_typedescription_newInterfaceMethod( &pMethod, |
547 | 21, sal_False, |
548 | sMethodName17.pData, |
549 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType17.pData, |
550 | 1, aParameters, |
551 | 2, the_Exceptions ); |
552 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
553 | } |
554 | { |
555 | typelib_Parameter_Init aParameters[1]; |
556 | ::rtl::OUString sParamName0( "aKeyName" ); |
557 | ::rtl::OUString sParamType0( "string" ); |
558 | aParameters[0].pParamName = sParamName0.pData; |
559 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
560 | aParameters[0].pTypeName = sParamType0.pData; |
561 | aParameters[0].bIn = sal_True; |
562 | aParameters[0].bOut = sal_False; |
563 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
564 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
565 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
566 | ::rtl::OUString sReturnType18( "com.sun.star.registry.XRegistryKey" ); |
567 | ::rtl::OUString sMethodName18( "com.sun.star.registry.XRegistryKey::openKey" ); |
568 | typelib_typedescription_newInterfaceMethod( &pMethod, |
569 | 22, sal_False, |
570 | sMethodName18.pData, |
571 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE, sReturnType18.pData, |
572 | 1, aParameters, |
573 | 2, the_Exceptions ); |
574 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
575 | } |
576 | { |
577 | typelib_Parameter_Init aParameters[1]; |
578 | ::rtl::OUString sParamName0( "aKeyName" ); |
579 | ::rtl::OUString sParamType0( "string" ); |
580 | aParameters[0].pParamName = sParamName0.pData; |
581 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
582 | aParameters[0].pTypeName = sParamType0.pData; |
583 | aParameters[0].bIn = sal_True; |
584 | aParameters[0].bOut = sal_False; |
585 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
586 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
587 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
588 | ::rtl::OUString sReturnType19( "com.sun.star.registry.XRegistryKey" ); |
589 | ::rtl::OUString sMethodName19( "com.sun.star.registry.XRegistryKey::createKey" ); |
590 | typelib_typedescription_newInterfaceMethod( &pMethod, |
591 | 23, sal_False, |
592 | sMethodName19.pData, |
593 | (typelib_TypeClass)::css::uno::TypeClass_INTERFACE, sReturnType19.pData, |
594 | 1, aParameters, |
595 | 2, the_Exceptions ); |
596 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
597 | } |
598 | { |
599 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
600 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
601 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
602 | ::rtl::OUString sReturnType20( "void" ); |
603 | ::rtl::OUString sMethodName20( "com.sun.star.registry.XRegistryKey::closeKey" ); |
604 | typelib_typedescription_newInterfaceMethod( &pMethod, |
605 | 24, sal_False, |
606 | sMethodName20.pData, |
607 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType20.pData, |
608 | 0, 0, |
609 | 2, the_Exceptions ); |
610 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
611 | } |
612 | { |
613 | typelib_Parameter_Init aParameters[1]; |
614 | ::rtl::OUString sParamName0( "rKeyName" ); |
615 | ::rtl::OUString sParamType0( "string" ); |
616 | aParameters[0].pParamName = sParamName0.pData; |
617 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
618 | aParameters[0].pTypeName = sParamType0.pData; |
619 | aParameters[0].bIn = sal_True; |
620 | aParameters[0].bOut = sal_False; |
621 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
622 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
623 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
624 | ::rtl::OUString sReturnType21( "void" ); |
625 | ::rtl::OUString sMethodName21( "com.sun.star.registry.XRegistryKey::deleteKey" ); |
626 | typelib_typedescription_newInterfaceMethod( &pMethod, |
627 | 25, sal_False, |
628 | sMethodName21.pData, |
629 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType21.pData, |
630 | 1, aParameters, |
631 | 2, the_Exceptions ); |
632 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
633 | } |
634 | { |
635 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
636 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
637 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
638 | ::rtl::OUString sReturnType22( "[]com.sun.star.registry.XRegistryKey" ); |
639 | ::rtl::OUString sMethodName22( "com.sun.star.registry.XRegistryKey::openKeys" ); |
640 | typelib_typedescription_newInterfaceMethod( &pMethod, |
641 | 26, sal_False, |
642 | sMethodName22.pData, |
643 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType22.pData, |
644 | 0, 0, |
645 | 2, the_Exceptions ); |
646 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
647 | } |
648 | { |
649 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
650 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
651 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
652 | ::rtl::OUString sReturnType23( "[]string" ); |
653 | ::rtl::OUString sMethodName23( "com.sun.star.registry.XRegistryKey::getKeyNames" ); |
654 | typelib_typedescription_newInterfaceMethod( &pMethod, |
655 | 27, sal_False, |
656 | sMethodName23.pData, |
657 | (typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType23.pData, |
658 | 0, 0, |
659 | 2, the_Exceptions ); |
660 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
661 | } |
662 | { |
663 | typelib_Parameter_Init aParameters[2]; |
664 | ::rtl::OUString sParamName0( "aLinkName" ); |
665 | ::rtl::OUString sParamType0( "string" ); |
666 | aParameters[0].pParamName = sParamName0.pData; |
667 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
668 | aParameters[0].pTypeName = sParamType0.pData; |
669 | aParameters[0].bIn = sal_True; |
670 | aParameters[0].bOut = sal_False; |
671 | ::rtl::OUString sParamName1( "aLinkTarget" ); |
672 | ::rtl::OUString sParamType1( "string" ); |
673 | aParameters[1].pParamName = sParamName1.pData; |
674 | aParameters[1].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
675 | aParameters[1].pTypeName = sParamType1.pData; |
676 | aParameters[1].bIn = sal_True; |
677 | aParameters[1].bOut = sal_False; |
678 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
679 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
680 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
681 | ::rtl::OUString sReturnType24( "boolean" ); |
682 | ::rtl::OUString sMethodName24( "com.sun.star.registry.XRegistryKey::createLink" ); |
683 | typelib_typedescription_newInterfaceMethod( &pMethod, |
684 | 28, sal_False, |
685 | sMethodName24.pData, |
686 | (typelib_TypeClass)::css::uno::TypeClass_BOOLEAN, sReturnType24.pData, |
687 | 2, aParameters, |
688 | 2, the_Exceptions ); |
689 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
690 | } |
691 | { |
692 | typelib_Parameter_Init aParameters[1]; |
693 | ::rtl::OUString sParamName0( "rLinkName" ); |
694 | ::rtl::OUString sParamType0( "string" ); |
695 | aParameters[0].pParamName = sParamName0.pData; |
696 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
697 | aParameters[0].pTypeName = sParamType0.pData; |
698 | aParameters[0].bIn = sal_True; |
699 | aParameters[0].bOut = sal_False; |
700 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
701 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
702 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
703 | ::rtl::OUString sReturnType25( "void" ); |
704 | ::rtl::OUString sMethodName25( "com.sun.star.registry.XRegistryKey::deleteLink" ); |
705 | typelib_typedescription_newInterfaceMethod( &pMethod, |
706 | 29, sal_False, |
707 | sMethodName25.pData, |
708 | (typelib_TypeClass)::css::uno::TypeClass_VOID, sReturnType25.pData, |
709 | 1, aParameters, |
710 | 2, the_Exceptions ); |
711 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
712 | } |
713 | { |
714 | typelib_Parameter_Init aParameters[1]; |
715 | ::rtl::OUString sParamName0( "rLinkName" ); |
716 | ::rtl::OUString sParamType0( "string" ); |
717 | aParameters[0].pParamName = sParamName0.pData; |
718 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
719 | aParameters[0].pTypeName = sParamType0.pData; |
720 | aParameters[0].bIn = sal_True; |
721 | aParameters[0].bOut = sal_False; |
722 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
723 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
724 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
725 | ::rtl::OUString sReturnType26( "string" ); |
726 | ::rtl::OUString sMethodName26( "com.sun.star.registry.XRegistryKey::getLinkTarget" ); |
727 | typelib_typedescription_newInterfaceMethod( &pMethod, |
728 | 30, sal_False, |
729 | sMethodName26.pData, |
730 | (typelib_TypeClass)::css::uno::TypeClass_STRING, sReturnType26.pData, |
731 | 1, aParameters, |
732 | 2, the_Exceptions ); |
733 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
734 | } |
735 | { |
736 | typelib_Parameter_Init aParameters[1]; |
737 | ::rtl::OUString sParamName0( "aKeyName" ); |
738 | ::rtl::OUString sParamType0( "string" ); |
739 | aParameters[0].pParamName = sParamName0.pData; |
740 | aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING; |
741 | aParameters[0].pTypeName = sParamType0.pData; |
742 | aParameters[0].bIn = sal_True; |
743 | aParameters[0].bOut = sal_False; |
744 | ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" ); |
745 | ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" ); |
746 | rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData }; |
747 | ::rtl::OUString sReturnType27( "string" ); |
748 | ::rtl::OUString sMethodName27( "com.sun.star.registry.XRegistryKey::getResolvedName" ); |
749 | typelib_typedescription_newInterfaceMethod( &pMethod, |
750 | 31, sal_False, |
751 | sMethodName27.pData, |
752 | (typelib_TypeClass)::css::uno::TypeClass_STRING, sReturnType27.pData, |
753 | 1, aParameters, |
754 | 2, the_Exceptions ); |
755 | typelib_typedescription_register( (typelib_TypeDescription**)&pMethod ); |
756 | } |
757 | typelib_typedescription_release( (typelib_TypeDescription*)pMethod ); |
758 | } |
759 | } |
760 | else |
761 | { |
762 | OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); |
763 | } |
764 | return rRet; |
765 | } |
766 | |
767 | } } } } |
768 | |
769 | inline ::css::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::css::uno::Reference< ::css::registry::XRegistryKey > const *) SAL_THROW(()) { |
770 | return ::cppu::UnoType< ::css::uno::Reference< ::css::registry::XRegistryKey > >::get(); |
771 | } |
772 | |
773 | ::css::uno::Type const & ::css::registry::XRegistryKey::static_type(SAL_UNUSED_PARAMETER void *) { |
774 | return ::getCppuType(static_cast< ::css::uno::Reference< ::css::registry::XRegistryKey > * >(0)); |
775 | } |
776 | |
777 | #endif // INCLUDED_COM_SUN_STAR_REGISTRY_XREGISTRYKEY_HPP |
778 | |