bump product version to 6.4.0.3
[LibreOffice.git] / stoc / test / testintrosp.idl
blobd50352fe5427ab1d73b9f0678759c2c74a275151
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_beans_XIntroTest_idl__
20 #define __com_sun_star_beans_XIntroTest_idl__
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <com/sun/star/beans/Property.idl>
24 #include <com/sun/star/beans/PropertyValue.idl>
25 #include <com/sun/star/uno/TypeClass.idl>
26 #include <com/sun/star/beans/XPropertiesChangeListener.idl>
28 module ModuleA
30 //module com { module sun { module star { module beans {
32 //interface XPropertyChangeListener;
33 //interface XPropertiesChangeListener;
36 /** This is a test interface for introspection.
38 <p>IMPORTANT: FOR TEST ONLY!
40 <p>The following interface is just for testing purposes. It will not
41 stay in the product. It is only used as an exportable test class,
42 i.e. for BASIC integration.
44 @deprecated
46 interface XIntroTest: com::sun::star::uno::XInterface
49 /** contains the ID-String of the implementation.
51 [attribute] string ObjectName;
54 /** contains the first name of a person.
56 [readonly, attribute] string FirstName;
59 /** contains the last name of a person.
61 [readonly, attribute] string LastName;
64 /** contains the age of a person.
66 [readonly, attribute] short Age;
69 /** contains the number of children person has.
71 [attribute] short ChildrenCount;
74 /** contains a struct of type Property.
76 [attribute] com::sun::star::beans::Property FirstStruct;
79 /** contains a struct of type PropertyValue.
81 [attribute] com::sun::star::beans::PropertyValue SecondStruct;
84 /** output method
86 void writeln( [in] string Text );
89 /** ...
91 long getDroenk();
94 /** get further introspection test objects
96 XIntroTest getIntroTest();
97 //com::sun::star::beans::XIntroTest getIntroTest();
100 /** !!! No property, because parameter exists
102 long getUps( [in] long l );
105 /** ...
107 void setDroenk( [in] long l );
110 /** ...
112 short getBla();
115 /** !!! Not the set method for property Bla, because param type != return type.
117 void setBla( [in] long n );
120 /** ...
122 short getBlub();
125 /** ...
127 void setBlub( [in] short n );
130 /** ...
132 short getGulp();
135 /** !!! Not the set method for property Gulp, because return type != void.
137 short setGulp( [in] short n );
140 /** ...
142 com::sun::star::uno::TypeClass getTypeClass( [in] short n );
145 /** ...
147 void setTypeClass( [in] com::sun::star::uno::TypeClass t,
148 [in] double d1,
149 [in] double d2 );
154 sequence<string> getStrings();
157 /** ...
159 void setStrings( [in] sequence<string> Strings );
162 /** ...
164 void setStringsPerMethod( [in] sequence<string> Strings,
165 [in] short n );
170 sequence< sequence< sequence< short > > > getMultiSequence();
173 /** ...
175 void setMultiSequence( [in] sequence< sequence< sequence< short > > > Seq );
178 /**Add a PropertiesChangeListener
180 void addPropertiesChangeListener( [in] sequence< string > PropertyNames,
181 [in] com::sun::star::beans::XPropertiesChangeListener Listener );
184 /**Remove a PropertiesChangeListener
186 void removePropertiesChangeListener( [in] com::sun::star::beans::XPropertiesChangeListener Listener );
193 //}; }; }; };
195 #endif
197 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */