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