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