update dev300-m58
[ooovba.git] / stoc / test / testintrosp.idl
blob9547c3d46c809d2abea5466703a2bec80209a044
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: testintrosp.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_beans_XIntroTest_idl__
31 #define __com_sun_star_beans_XIntroTest_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include <com/sun/star/uno/XInterface.idl>
35 #endif
37 #ifndef __com_sun_star_beans_Property_idl__
38 #include <com/sun/star/beans/Property.idl>
39 #endif
41 #ifndef __com_sun_star_beans_PropertyValue_idl__
42 #include <com/sun/star/beans/PropertyValue.idl>
43 #endif
45 #ifndef __com_sun_star_uno_TypeClass_idl__
46 #include <com/sun/star/uno/TypeClass.idl>
47 #endif
49 #ifndef __com_sun_star_beans_XPropertiesChangeListener_idl__
50 #include <com/sun/star/beans/XPropertiesChangeListener.idl>
51 #endif
54 //=============================================================================
56 module ModuleA
58 //module com { module sun { module star { module beans {
60 //interface XPropertyChangeListener;
61 //interface XPropertiesChangeListener;
63 //=============================================================================
64 /** This is a test interface for introspection.
66 <p>IMPORTANT: FOR TEST ONLY!
68 <p>The following interface is just for testing purposes. It will not
69 stay in the product. It is only used as an exportable test class,
70 i.e. for BASIC integration.
72 @deprecated
74 interface XIntroTest: com::sun::star::uno::XInterface
76 //-------------------------------------------------------------------------
77 /** contains the ID-String of the implementation.
79 [attribute] string ObjectName;
81 //-------------------------------------------------------------------------
82 /** contains the first name of a person.
84 [readonly, attribute] string FirstName;
86 //-------------------------------------------------------------------------
87 /** contains the last name of a person.
89 [readonly, attribute] string LastName;
91 //-------------------------------------------------------------------------
92 /** contains the age of a person.
94 [readonly, attribute] short Age;
96 //-------------------------------------------------------------------------
97 /** contains the number of children person has.
99 [attribute] short ChildrenCount;
101 //-------------------------------------------------------------------------
102 /** contains a struct of type Property.
104 [attribute] com::sun::star::beans::Property FirstStruct;
106 //-------------------------------------------------------------------------
107 /** contains a struct of type PropertyValue.
109 [attribute] com::sun::star::beans::PropertyValue SecondStruct;
111 //-------------------------------------------------------------------------
112 /** Ausgabe-Methode
114 void writeln( [in] string Text );
116 //-------------------------------------------------------------------------
117 /** ...
119 long getDroenk();
121 //-------------------------------------------------------------------------
122 /** Weitere Introspection-Test-Objekt holen
124 XIntroTest getIntroTest();
125 //com::sun::star::beans::XIntroTest getIntroTest();
127 //-------------------------------------------------------------------------
128 /** !!! No property, because parameter exists
130 long getUps( [in] long l );
132 //-------------------------------------------------------------------------
133 /** ...
135 void setDroenk( [in] long l );
137 //-------------------------------------------------------------------------
138 /** ...
140 short getBla();
142 //-------------------------------------------------------------------------
143 /** !!! Not the set method for property Bla, because param type != return type.
145 void setBla( [in] long n );
147 //-------------------------------------------------------------------------
148 /** ...
150 short getBlub();
152 //-------------------------------------------------------------------------
153 /** ...
155 void setBlub( [in] short n );
157 //-------------------------------------------------------------------------
158 /** ...
160 short getGulp();
162 //-------------------------------------------------------------------------
163 /** !!! Not the set method for property Gulp, because return type != void.
165 short setGulp( [in] short n );
167 //-------------------------------------------------------------------------
168 /** ...
170 com::sun::star::uno::TypeClass getTypeClass( [in] short n );
172 //-------------------------------------------------------------------------
173 /** ...
175 void setTypeClass( [in] com::sun::star::uno::TypeClass t,
176 [in] double d1,
177 [in] double d2 );
179 //-------------------------------------------------------------------------
182 sequence<string> getStrings();
184 //-------------------------------------------------------------------------
185 /** ...
187 void setStrings( [in] sequence<string> Strings );
189 //-------------------------------------------------------------------------
190 /** ...
192 void setStringsPerMethod( [in] sequence<string> Strings,
193 [in] short n );
195 //-------------------------------------------------------------------------
198 sequence< sequence< sequence< short > > > getMultiSequence();
200 //-------------------------------------------------------------------------
201 /** ...
203 void setMultiSequence( [in] sequence< sequence< sequence< short > > > Seq );
205 //-------------------------------------------------------------------------
206 /**Add a PropertiesChangeListener
208 [oneway] void addPropertiesChangeListener( [in] sequence< string > PropertyNames,
209 [in] com::sun::star::beans::XPropertiesChangeListener Listener );
211 //-------------------------------------------------------------------------
212 /**Remove a PropertiesChangeListener
214 [oneway] void removePropertiesChangeListener( [in] com::sun::star::beans::XPropertiesChangeListener Listener );
218 //=============================================================================
221 //}; }; }; };
223 #endif