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 2 : ::com::sun::star::uno::Type * operator()() const
29 : {
30 2 : ::rtl::OUString sTypeName( "com.sun.star.registry.XRegistryKey" );
31 :
32 : // Start inline typedescription generation
33 2 : typelib_InterfaceTypeDescription * pTD = 0;
34 :
35 : typelib_TypeDescriptionReference * aSuperTypes[1];
36 2 : aSuperTypes[0] = ::cppu::UnoType< ::com::sun::star::uno::Reference< css::uno::XInterface > >::get().getTypeLibType();
37 2 : 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 2 : ::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 2 : sAttributeName0.pData );
42 2 : ::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 2 : sMethodName0.pData );
46 2 : ::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 2 : sMethodName1.pData );
50 2 : ::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 2 : sMethodName2.pData );
54 2 : ::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 2 : sMethodName3.pData );
58 2 : ::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 2 : sMethodName4.pData );
62 2 : ::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 2 : sMethodName5.pData );
66 2 : ::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 2 : sMethodName6.pData );
70 2 : ::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 2 : sMethodName7.pData );
74 2 : ::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 2 : sMethodName8.pData );
78 2 : ::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 2 : sMethodName9.pData );
82 2 : ::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 2 : sMethodName10.pData );
86 2 : ::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 2 : sMethodName11.pData );
90 2 : ::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 2 : sMethodName12.pData );
94 2 : ::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 2 : sMethodName13.pData );
98 2 : ::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 2 : sMethodName14.pData );
102 2 : ::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 2 : sMethodName15.pData );
106 2 : ::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 2 : sMethodName16.pData );
110 2 : ::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 2 : sMethodName17.pData );
114 2 : ::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 2 : sMethodName18.pData );
118 2 : ::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 2 : sMethodName19.pData );
122 2 : ::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 2 : sMethodName20.pData );
126 2 : ::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 2 : sMethodName21.pData );
130 2 : ::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 2 : sMethodName22.pData );
134 2 : ::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 2 : sMethodName23.pData );
138 2 : ::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 2 : sMethodName24.pData );
142 2 : ::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 2 : sMethodName25.pData );
146 2 : ::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 2 : sMethodName26.pData );
150 2 : ::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 2 : sMethodName27.pData );
154 :
155 : typelib_typedescription_newMIInterface(
156 : &pTD,
157 : sTypeName.pData, 0x00000000, 0x0000, 0x0000, 0x00000000, 0x00000000,
158 : 1, aSuperTypes,
159 : 29,
160 2 : pMembers );
161 :
162 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pTD );
163 2 : typelib_typedescriptionreference_release( pMembers[0] );
164 2 : typelib_typedescriptionreference_release( pMembers[1] );
165 2 : typelib_typedescriptionreference_release( pMembers[2] );
166 2 : typelib_typedescriptionreference_release( pMembers[3] );
167 2 : typelib_typedescriptionreference_release( pMembers[4] );
168 2 : typelib_typedescriptionreference_release( pMembers[5] );
169 2 : typelib_typedescriptionreference_release( pMembers[6] );
170 2 : typelib_typedescriptionreference_release( pMembers[7] );
171 2 : typelib_typedescriptionreference_release( pMembers[8] );
172 2 : typelib_typedescriptionreference_release( pMembers[9] );
173 2 : typelib_typedescriptionreference_release( pMembers[10] );
174 2 : typelib_typedescriptionreference_release( pMembers[11] );
175 2 : typelib_typedescriptionreference_release( pMembers[12] );
176 2 : typelib_typedescriptionreference_release( pMembers[13] );
177 2 : typelib_typedescriptionreference_release( pMembers[14] );
178 2 : typelib_typedescriptionreference_release( pMembers[15] );
179 2 : typelib_typedescriptionreference_release( pMembers[16] );
180 2 : typelib_typedescriptionreference_release( pMembers[17] );
181 2 : typelib_typedescriptionreference_release( pMembers[18] );
182 2 : typelib_typedescriptionreference_release( pMembers[19] );
183 2 : typelib_typedescriptionreference_release( pMembers[20] );
184 2 : typelib_typedescriptionreference_release( pMembers[21] );
185 2 : typelib_typedescriptionreference_release( pMembers[22] );
186 2 : typelib_typedescriptionreference_release( pMembers[23] );
187 2 : typelib_typedescriptionreference_release( pMembers[24] );
188 2 : typelib_typedescriptionreference_release( pMembers[25] );
189 2 : typelib_typedescriptionreference_release( pMembers[26] );
190 2 : typelib_typedescriptionreference_release( pMembers[27] );
191 2 : typelib_typedescriptionreference_release( pMembers[28] );
192 2 : typelib_typedescription_release( (typelib_TypeDescription*)pTD );
193 :
194 2 : 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 6 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::registry::XRegistryKey const *) {
203 6 : const ::com::sun::star::uno::Type &rRet = *detail::theXRegistryKeyType::get();
204 : // End inline typedescription generation
205 : static bool bInitStarted = false;
206 6 : if (!bInitStarted)
207 : {
208 2 : ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
209 2 : if (!bInitStarted)
210 : {
211 : OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
212 2 : bInitStarted = true;
213 2 : ::cppu::UnoType< css::uno::RuntimeException >::get();
214 2 : ::cppu::UnoType< css::registry::InvalidRegistryException >::get();
215 2 : ::cppu::UnoType< css::registry::RegistryKeyType >::get();
216 2 : ::cppu::UnoType< css::registry::RegistryValueType >::get();
217 2 : ::cppu::UnoType< css::registry::InvalidValueException >::get();
218 2 : ::cppu::UnoType< ::cppu::UnoSequenceType< ::sal_Int32 > >::get();
219 2 : ::cppu::UnoType< ::cppu::UnoSequenceType< ::rtl::OUString > >::get();
220 2 : ::cppu::UnoType< ::cppu::UnoSequenceType< ::sal_Int8 > >::get();
221 2 : ::cppu::UnoType< ::com::sun::star::uno::Reference< css::registry::XRegistryKey > >::get();
222 2 : ::cppu::UnoType< ::cppu::UnoSequenceType< ::com::sun::star::uno::Reference< css::registry::XRegistryKey > > >::get();
223 :
224 2 : typelib_InterfaceAttributeTypeDescription * pAttribute = 0;
225 : {
226 2 : ::rtl::OUString sAttributeType0( "string" );
227 2 : ::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 2 : sal_True, 0, 0, 0, 0 );
232 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pAttribute );
233 : }
234 2 : typelib_typedescription_release( (typelib_TypeDescription*)pAttribute );
235 :
236 2 : typelib_InterfaceMethodTypeDescription * pMethod = 0;
237 : {
238 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
239 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
240 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
241 2 : ::rtl::OUString sReturnType0( "boolean" );
242 2 : ::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 2 : 2, the_Exceptions );
249 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
250 : }
251 : {
252 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.uno.RuntimeException" );
253 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData };
254 2 : ::rtl::OUString sReturnType1( "boolean" );
255 2 : ::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 2 : 1, the_Exceptions );
262 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
263 : }
264 : {
265 : typelib_Parameter_Init aParameters[1];
266 2 : ::rtl::OUString sParamName0( "rKeyName" );
267 2 : ::rtl::OUString sParamType0( "string" );
268 2 : aParameters[0].pParamName = sParamName0.pData;
269 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
270 2 : aParameters[0].pTypeName = sParamType0.pData;
271 2 : aParameters[0].bIn = sal_True;
272 2 : aParameters[0].bOut = sal_False;
273 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
274 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
275 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
276 2 : ::rtl::OUString sReturnType2( "com.sun.star.registry.RegistryKeyType" );
277 2 : ::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 2 : 2, the_Exceptions );
284 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
285 : }
286 : {
287 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
288 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
289 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
290 2 : ::rtl::OUString sReturnType3( "com.sun.star.registry.RegistryValueType" );
291 2 : ::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 2 : 2, the_Exceptions );
298 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
299 : }
300 : {
301 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
302 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
303 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
304 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
305 2 : ::rtl::OUString sReturnType4( "long" );
306 2 : ::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 2 : 3, the_Exceptions );
313 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
314 : }
315 : {
316 : typelib_Parameter_Init aParameters[1];
317 2 : ::rtl::OUString sParamName0( "value" );
318 2 : ::rtl::OUString sParamType0( "long" );
319 2 : aParameters[0].pParamName = sParamName0.pData;
320 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_LONG;
321 2 : aParameters[0].pTypeName = sParamType0.pData;
322 2 : aParameters[0].bIn = sal_True;
323 2 : aParameters[0].bOut = sal_False;
324 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
325 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
326 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
327 2 : ::rtl::OUString sReturnType5( "void" );
328 2 : ::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 2 : 2, the_Exceptions );
335 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
336 : }
337 : {
338 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
339 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
340 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
341 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
342 2 : ::rtl::OUString sReturnType6( "[]long" );
343 2 : ::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 2 : 3, the_Exceptions );
350 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
351 : }
352 : {
353 : typelib_Parameter_Init aParameters[1];
354 2 : ::rtl::OUString sParamName0( "seqValue" );
355 2 : ::rtl::OUString sParamType0( "[]long" );
356 2 : aParameters[0].pParamName = sParamName0.pData;
357 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_SEQUENCE;
358 2 : aParameters[0].pTypeName = sParamType0.pData;
359 2 : aParameters[0].bIn = sal_True;
360 2 : aParameters[0].bOut = sal_False;
361 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
362 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
363 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
364 2 : ::rtl::OUString sReturnType7( "void" );
365 2 : ::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 2 : 2, the_Exceptions );
372 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
373 : }
374 : {
375 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
376 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
377 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
378 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
379 2 : ::rtl::OUString sReturnType8( "string" );
380 2 : ::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 2 : 3, the_Exceptions );
387 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
388 : }
389 : {
390 : typelib_Parameter_Init aParameters[1];
391 2 : ::rtl::OUString sParamName0( "value" );
392 2 : ::rtl::OUString sParamType0( "string" );
393 2 : aParameters[0].pParamName = sParamName0.pData;
394 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
395 2 : aParameters[0].pTypeName = sParamType0.pData;
396 2 : aParameters[0].bIn = sal_True;
397 2 : aParameters[0].bOut = sal_False;
398 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
399 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
400 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
401 2 : ::rtl::OUString sReturnType9( "void" );
402 2 : ::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 2 : 2, the_Exceptions );
409 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
410 : }
411 : {
412 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
413 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
414 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
415 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
416 2 : ::rtl::OUString sReturnType10( "[]string" );
417 2 : ::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 2 : 3, the_Exceptions );
424 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
425 : }
426 : {
427 : typelib_Parameter_Init aParameters[1];
428 2 : ::rtl::OUString sParamName0( "seqValue" );
429 2 : ::rtl::OUString sParamType0( "[]string" );
430 2 : aParameters[0].pParamName = sParamName0.pData;
431 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_SEQUENCE;
432 2 : aParameters[0].pTypeName = sParamType0.pData;
433 2 : aParameters[0].bIn = sal_True;
434 2 : aParameters[0].bOut = sal_False;
435 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
436 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
437 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
438 2 : ::rtl::OUString sReturnType11( "void" );
439 2 : ::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 2 : 2, the_Exceptions );
446 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
447 : }
448 : {
449 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
450 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
451 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
452 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
453 2 : ::rtl::OUString sReturnType12( "string" );
454 2 : ::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 2 : 3, the_Exceptions );
461 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
462 : }
463 : {
464 : typelib_Parameter_Init aParameters[1];
465 2 : ::rtl::OUString sParamName0( "value" );
466 2 : ::rtl::OUString sParamType0( "string" );
467 2 : aParameters[0].pParamName = sParamName0.pData;
468 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
469 2 : aParameters[0].pTypeName = sParamType0.pData;
470 2 : aParameters[0].bIn = sal_True;
471 2 : aParameters[0].bOut = sal_False;
472 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
473 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
474 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
475 2 : ::rtl::OUString sReturnType13( "void" );
476 2 : ::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 2 : 2, the_Exceptions );
483 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
484 : }
485 : {
486 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
487 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
488 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
489 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
490 2 : ::rtl::OUString sReturnType14( "[]string" );
491 2 : ::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 2 : 3, the_Exceptions );
498 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
499 : }
500 : {
501 : typelib_Parameter_Init aParameters[1];
502 2 : ::rtl::OUString sParamName0( "seqValue" );
503 2 : ::rtl::OUString sParamType0( "[]string" );
504 2 : aParameters[0].pParamName = sParamName0.pData;
505 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_SEQUENCE;
506 2 : aParameters[0].pTypeName = sParamType0.pData;
507 2 : aParameters[0].bIn = sal_True;
508 2 : aParameters[0].bOut = sal_False;
509 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
510 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
511 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
512 2 : ::rtl::OUString sReturnType15( "void" );
513 2 : ::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 2 : 2, the_Exceptions );
520 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
521 : }
522 : {
523 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
524 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.registry.InvalidValueException" );
525 2 : ::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
526 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
527 2 : ::rtl::OUString sReturnType16( "[]byte" );
528 2 : ::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 2 : 3, the_Exceptions );
535 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
536 : }
537 : {
538 : typelib_Parameter_Init aParameters[1];
539 2 : ::rtl::OUString sParamName0( "value" );
540 2 : ::rtl::OUString sParamType0( "[]byte" );
541 2 : aParameters[0].pParamName = sParamName0.pData;
542 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_SEQUENCE;
543 2 : aParameters[0].pTypeName = sParamType0.pData;
544 2 : aParameters[0].bIn = sal_True;
545 2 : aParameters[0].bOut = sal_False;
546 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
547 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
548 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
549 2 : ::rtl::OUString sReturnType17( "void" );
550 2 : ::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 2 : 2, the_Exceptions );
557 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
558 : }
559 : {
560 : typelib_Parameter_Init aParameters[1];
561 2 : ::rtl::OUString sParamName0( "aKeyName" );
562 2 : ::rtl::OUString sParamType0( "string" );
563 2 : aParameters[0].pParamName = sParamName0.pData;
564 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
565 2 : aParameters[0].pTypeName = sParamType0.pData;
566 2 : aParameters[0].bIn = sal_True;
567 2 : aParameters[0].bOut = sal_False;
568 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
569 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
570 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
571 2 : ::rtl::OUString sReturnType18( "com.sun.star.registry.XRegistryKey" );
572 2 : ::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 2 : 2, the_Exceptions );
579 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
580 : }
581 : {
582 : typelib_Parameter_Init aParameters[1];
583 2 : ::rtl::OUString sParamName0( "aKeyName" );
584 2 : ::rtl::OUString sParamType0( "string" );
585 2 : aParameters[0].pParamName = sParamName0.pData;
586 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
587 2 : aParameters[0].pTypeName = sParamType0.pData;
588 2 : aParameters[0].bIn = sal_True;
589 2 : aParameters[0].bOut = sal_False;
590 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
591 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
592 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
593 2 : ::rtl::OUString sReturnType19( "com.sun.star.registry.XRegistryKey" );
594 2 : ::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 2 : 2, the_Exceptions );
601 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
602 : }
603 : {
604 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
605 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
606 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
607 2 : ::rtl::OUString sReturnType20( "void" );
608 2 : ::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 2 : 2, the_Exceptions );
615 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
616 : }
617 : {
618 : typelib_Parameter_Init aParameters[1];
619 2 : ::rtl::OUString sParamName0( "rKeyName" );
620 2 : ::rtl::OUString sParamType0( "string" );
621 2 : aParameters[0].pParamName = sParamName0.pData;
622 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
623 2 : aParameters[0].pTypeName = sParamType0.pData;
624 2 : aParameters[0].bIn = sal_True;
625 2 : aParameters[0].bOut = sal_False;
626 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
627 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
628 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
629 2 : ::rtl::OUString sReturnType21( "void" );
630 2 : ::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 2 : 2, the_Exceptions );
637 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
638 : }
639 : {
640 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
641 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
642 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
643 2 : ::rtl::OUString sReturnType22( "[]com.sun.star.registry.XRegistryKey" );
644 2 : ::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 2 : 2, the_Exceptions );
651 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
652 : }
653 : {
654 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
655 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
656 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
657 2 : ::rtl::OUString sReturnType23( "[]string" );
658 2 : ::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 2 : 2, the_Exceptions );
665 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
666 : }
667 : {
668 : typelib_Parameter_Init aParameters[2];
669 2 : ::rtl::OUString sParamName0( "aLinkName" );
670 2 : ::rtl::OUString sParamType0( "string" );
671 2 : aParameters[0].pParamName = sParamName0.pData;
672 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
673 2 : aParameters[0].pTypeName = sParamType0.pData;
674 2 : aParameters[0].bIn = sal_True;
675 2 : aParameters[0].bOut = sal_False;
676 2 : ::rtl::OUString sParamName1( "aLinkTarget" );
677 2 : ::rtl::OUString sParamType1( "string" );
678 2 : aParameters[1].pParamName = sParamName1.pData;
679 2 : aParameters[1].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
680 2 : aParameters[1].pTypeName = sParamType1.pData;
681 2 : aParameters[1].bIn = sal_True;
682 2 : aParameters[1].bOut = sal_False;
683 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
684 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
685 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
686 2 : ::rtl::OUString sReturnType24( "boolean" );
687 2 : ::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 2 : 2, the_Exceptions );
694 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
695 : }
696 : {
697 : typelib_Parameter_Init aParameters[1];
698 2 : ::rtl::OUString sParamName0( "rLinkName" );
699 2 : ::rtl::OUString sParamType0( "string" );
700 2 : aParameters[0].pParamName = sParamName0.pData;
701 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
702 2 : aParameters[0].pTypeName = sParamType0.pData;
703 2 : aParameters[0].bIn = sal_True;
704 2 : aParameters[0].bOut = sal_False;
705 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
706 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
707 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
708 2 : ::rtl::OUString sReturnType25( "void" );
709 2 : ::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 2 : 2, the_Exceptions );
716 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
717 : }
718 : {
719 : typelib_Parameter_Init aParameters[1];
720 2 : ::rtl::OUString sParamName0( "rLinkName" );
721 2 : ::rtl::OUString sParamType0( "string" );
722 2 : aParameters[0].pParamName = sParamName0.pData;
723 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
724 2 : aParameters[0].pTypeName = sParamType0.pData;
725 2 : aParameters[0].bIn = sal_True;
726 2 : aParameters[0].bOut = sal_False;
727 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
728 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
729 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
730 2 : ::rtl::OUString sReturnType26( "string" );
731 2 : ::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 2 : 2, the_Exceptions );
738 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
739 : }
740 : {
741 : typelib_Parameter_Init aParameters[1];
742 2 : ::rtl::OUString sParamName0( "aKeyName" );
743 2 : ::rtl::OUString sParamType0( "string" );
744 2 : aParameters[0].pParamName = sParamName0.pData;
745 2 : aParameters[0].eTypeClass = (typelib_TypeClass)::com::sun::star::uno::TypeClass_STRING;
746 2 : aParameters[0].pTypeName = sParamType0.pData;
747 2 : aParameters[0].bIn = sal_True;
748 2 : aParameters[0].bOut = sal_False;
749 2 : ::rtl::OUString the_ExceptionName0( "com.sun.star.registry.InvalidRegistryException" );
750 2 : ::rtl::OUString the_ExceptionName1( "com.sun.star.uno.RuntimeException" );
751 2 : rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData };
752 2 : ::rtl::OUString sReturnType27( "string" );
753 2 : ::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 2 : 2, the_Exceptions );
760 2 : typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
761 : }
762 2 : typelib_typedescription_release( (typelib_TypeDescription*)pMethod );
763 2 : }
764 : }
765 : else
766 : {
767 : OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
768 : }
769 6 : 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
|