Version 24.8.3.2, tag libreoffice-24.8.3.2
[LibreOffice.git] / stoc / test / testintrosp.idl
blobfbb53ffb7e46cfbbc385d7e45b4db012ff626c70
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 .
20 module ModuleA
22 //module com { module sun { module star { module beans {
24 //interface XPropertyChangeListener;
25 //interface XPropertiesChangeListener;
28 /** This is a test interface for introspection.
30 <p>IMPORTANT: FOR TEST ONLY!
32 <p>The following interface is just for testing purposes. It will not
33 stay in the product. It is only used as an exportable test class,
34 i.e. for BASIC integration.
36 @deprecated
38 interface XIntroTest: com::sun::star::uno::XInterface
41 /** contains the ID-String of the implementation.
43 [attribute] string ObjectName;
46 /** contains the first name of a person.
48 [readonly, attribute] string FirstName;
51 /** contains the last name of a person.
53 [readonly, attribute] string LastName;
56 /** contains the age of a person.
58 [readonly, attribute] short Age;
61 /** contains the number of children person has.
63 [attribute] short ChildrenCount;
66 /** contains a struct of type Property.
68 [attribute] com::sun::star::beans::Property FirstStruct;
71 /** contains a struct of type PropertyValue.
73 [attribute] com::sun::star::beans::PropertyValue SecondStruct;
76 /** output method
78 void writeln( [in] string Text );
81 /** ...
83 long getDroenk();
86 /** get further introspection test objects
88 XIntroTest getIntroTest();
89 //com::sun::star::beans::XIntroTest getIntroTest();
92 /** !!! No property, because parameter exists
94 long getUps( [in] long l );
97 /** ...
99 void setDroenk( [in] long l );
102 /** ...
104 short getBla();
107 /** !!! Not the set method for property Bla, because param type != return type.
109 void setBla( [in] long n );
112 /** ...
114 short getBlub();
117 /** ...
119 void setBlub( [in] short n );
122 /** ...
124 short getGulp();
127 /** !!! Not the set method for property Gulp, because return type != void.
129 short setGulp( [in] short n );
132 /** ...
134 com::sun::star::uno::TypeClass getTypeClass( [in] short n );
137 /** ...
139 void setTypeClass( [in] com::sun::star::uno::TypeClass t,
140 [in] double d1,
141 [in] double d2 );
146 sequence<string> getStrings();
149 /** ...
151 void setStrings( [in] sequence<string> Strings );
154 /** ...
156 void setStringsPerMethod( [in] sequence<string> Strings,
157 [in] short n );
162 sequence< sequence< sequence< short > > > getMultiSequence();
165 /** ...
167 void setMultiSequence( [in] sequence< sequence< sequence< short > > > Seq );
170 /**Add a PropertiesChangeListener
172 void addPropertiesChangeListener( [in] sequence< string > PropertyNames,
173 [in] com::sun::star::beans::XPropertiesChangeListener Listener );
176 /**Remove a PropertiesChangeListener
178 void removePropertiesChangeListener( [in] com::sun::star::beans::XPropertiesChangeListener Listener );
185 //}; }; }; };
187 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */