Bump for 4.0-15
[LibreOffice.git] / stoc / test / testintrosp.idl
blob0ff92e10cf8a89aeaaa5d9fd8621b9a31a637607
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef __com_sun_star_beans_XIntroTest_idl__
19 #define __com_sun_star_beans_XIntroTest_idl__
21 #ifndef __com_sun_star_uno_XInterface_idl__
22 #include <com/sun/star/uno/XInterface.idl>
23 #endif
25 #ifndef __com_sun_star_beans_Property_idl__
26 #include <com/sun/star/beans/Property.idl>
27 #endif
29 #ifndef __com_sun_star_beans_PropertyValue_idl__
30 #include <com/sun/star/beans/PropertyValue.idl>
31 #endif
33 #ifndef __com_sun_star_uno_TypeClass_idl__
34 #include <com/sun/star/uno/TypeClass.idl>
35 #endif
37 #ifndef __com_sun_star_beans_XPropertiesChangeListener_idl__
38 #include <com/sun/star/beans/XPropertiesChangeListener.idl>
39 #endif
42 //=============================================================================
44 module ModuleA
46 //module com { module sun { module star { module beans {
48 //interface XPropertyChangeListener;
49 //interface XPropertiesChangeListener;
51 //=============================================================================
52 /** This is a test interface for introspection.
54 <p>IMPORTANT: FOR TEST ONLY!
56 <p>The following interface is just for testing purposes. It will not
57 stay in the product. It is only used as an exportable test class,
58 i.e. for BASIC integration.
60 @deprecated
62 interface XIntroTest: com::sun::star::uno::XInterface
64 //-------------------------------------------------------------------------
65 /** contains the ID-String of the implementation.
67 [attribute] string ObjectName;
69 //-------------------------------------------------------------------------
70 /** contains the first name of a person.
72 [readonly, attribute] string FirstName;
74 //-------------------------------------------------------------------------
75 /** contains the last name of a person.
77 [readonly, attribute] string LastName;
79 //-------------------------------------------------------------------------
80 /** contains the age of a person.
82 [readonly, attribute] short Age;
84 //-------------------------------------------------------------------------
85 /** contains the number of children person has.
87 [attribute] short ChildrenCount;
89 //-------------------------------------------------------------------------
90 /** contains a struct of type Property.
92 [attribute] com::sun::star::beans::Property FirstStruct;
94 //-------------------------------------------------------------------------
95 /** contains a struct of type PropertyValue.
97 [attribute] com::sun::star::beans::PropertyValue SecondStruct;
99 //-------------------------------------------------------------------------
100 /** Ausgabe-Methode
102 void writeln( [in] string Text );
104 //-------------------------------------------------------------------------
105 /** ...
107 long getDroenk();
109 //-------------------------------------------------------------------------
110 /** Weitere Introspection-Test-Objekt holen
112 XIntroTest getIntroTest();
113 //com::sun::star::beans::XIntroTest getIntroTest();
115 //-------------------------------------------------------------------------
116 /** !!! No property, because parameter exists
118 long getUps( [in] long l );
120 //-------------------------------------------------------------------------
121 /** ...
123 void setDroenk( [in] long l );
125 //-------------------------------------------------------------------------
126 /** ...
128 short getBla();
130 //-------------------------------------------------------------------------
131 /** !!! Not the set method for property Bla, because param type != return type.
133 void setBla( [in] long n );
135 //-------------------------------------------------------------------------
136 /** ...
138 short getBlub();
140 //-------------------------------------------------------------------------
141 /** ...
143 void setBlub( [in] short n );
145 //-------------------------------------------------------------------------
146 /** ...
148 short getGulp();
150 //-------------------------------------------------------------------------
151 /** !!! Not the set method for property Gulp, because return type != void.
153 short setGulp( [in] short n );
155 //-------------------------------------------------------------------------
156 /** ...
158 com::sun::star::uno::TypeClass getTypeClass( [in] short n );
160 //-------------------------------------------------------------------------
161 /** ...
163 void setTypeClass( [in] com::sun::star::uno::TypeClass t,
164 [in] double d1,
165 [in] double d2 );
167 //-------------------------------------------------------------------------
170 sequence<string> getStrings();
172 //-------------------------------------------------------------------------
173 /** ...
175 void setStrings( [in] sequence<string> Strings );
177 //-------------------------------------------------------------------------
178 /** ...
180 void setStringsPerMethod( [in] sequence<string> Strings,
181 [in] short n );
183 //-------------------------------------------------------------------------
186 sequence< sequence< sequence< short > > > getMultiSequence();
188 //-------------------------------------------------------------------------
189 /** ...
191 void setMultiSequence( [in] sequence< sequence< sequence< short > > > Seq );
193 //-------------------------------------------------------------------------
194 /**Add a PropertiesChangeListener
196 void addPropertiesChangeListener( [in] sequence< string > PropertyNames,
197 [in] com::sun::star::beans::XPropertiesChangeListener Listener );
199 //-------------------------------------------------------------------------
200 /**Remove a PropertiesChangeListener
202 void removePropertiesChangeListener( [in] com::sun::star::beans::XPropertiesChangeListener Listener );
206 //=============================================================================
209 //}; }; }; };
211 #endif