1*3508ca0dSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*3508ca0dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*3508ca0dSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*3508ca0dSAndrew Rist * distributed with this work for additional information 6*3508ca0dSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*3508ca0dSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*3508ca0dSAndrew Rist * "License"); you may not use this file except in compliance 9*3508ca0dSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*3508ca0dSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*3508ca0dSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*3508ca0dSAndrew Rist * software distributed under the License is distributed on an 15*3508ca0dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3508ca0dSAndrew Rist * KIND, either express or implied. See the License for the 17*3508ca0dSAndrew Rist * specific language governing permissions and limitations 18*3508ca0dSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*3508ca0dSAndrew Rist *************************************************************/ 21*3508ca0dSAndrew Rist 22*3508ca0dSAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_beans_XIntroTest_idl__ 24cdf0e10cSrcweir#define __com_sun_star_beans_XIntroTest_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__ 27cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __com_sun_star_beans_Property_idl__ 31cdf0e10cSrcweir#include <com/sun/star/beans/Property.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir#ifndef __com_sun_star_beans_PropertyValue_idl__ 35cdf0e10cSrcweir#include <com/sun/star/beans/PropertyValue.idl> 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir 38cdf0e10cSrcweir#ifndef __com_sun_star_uno_TypeClass_idl__ 39cdf0e10cSrcweir#include <com/sun/star/uno/TypeClass.idl> 40cdf0e10cSrcweir#endif 41cdf0e10cSrcweir 42cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertiesChangeListener_idl__ 43cdf0e10cSrcweir#include <com/sun/star/beans/XPropertiesChangeListener.idl> 44cdf0e10cSrcweir#endif 45cdf0e10cSrcweir 46cdf0e10cSrcweir 47cdf0e10cSrcweir//============================================================================= 48cdf0e10cSrcweir 49cdf0e10cSrcweirmodule ModuleA 50cdf0e10cSrcweir{ 51cdf0e10cSrcweir//module com { module sun { module star { module beans { 52cdf0e10cSrcweir 53cdf0e10cSrcweir//interface XPropertyChangeListener; 54cdf0e10cSrcweir//interface XPropertiesChangeListener; 55cdf0e10cSrcweir 56cdf0e10cSrcweir//============================================================================= 57cdf0e10cSrcweir/** This is a test interface for introspection. 58cdf0e10cSrcweir 59cdf0e10cSrcweir <p>IMPORTANT: FOR TEST ONLY! 60cdf0e10cSrcweir 61cdf0e10cSrcweir <p>The following interface is just for testing purposes. It will not 62cdf0e10cSrcweir stay in the product. It is only used as an exportable test class, 63cdf0e10cSrcweir i.e. for BASIC integration. 64cdf0e10cSrcweir 65cdf0e10cSrcweir @deprecated 66cdf0e10cSrcweir*/ 67cdf0e10cSrcweirinterface XIntroTest: com::sun::star::uno::XInterface 68cdf0e10cSrcweir{ 69cdf0e10cSrcweir //------------------------------------------------------------------------- 70cdf0e10cSrcweir /** contains the ID-String of the implementation. 71cdf0e10cSrcweir */ 72cdf0e10cSrcweir [attribute] string ObjectName; 73cdf0e10cSrcweir 74cdf0e10cSrcweir //------------------------------------------------------------------------- 75cdf0e10cSrcweir /** contains the first name of a person. 76cdf0e10cSrcweir */ 77cdf0e10cSrcweir [readonly, attribute] string FirstName; 78cdf0e10cSrcweir 79cdf0e10cSrcweir //------------------------------------------------------------------------- 80cdf0e10cSrcweir /** contains the last name of a person. 81cdf0e10cSrcweir */ 82cdf0e10cSrcweir [readonly, attribute] string LastName; 83cdf0e10cSrcweir 84cdf0e10cSrcweir //------------------------------------------------------------------------- 85cdf0e10cSrcweir /** contains the age of a person. 86cdf0e10cSrcweir */ 87cdf0e10cSrcweir [readonly, attribute] short Age; 88cdf0e10cSrcweir 89cdf0e10cSrcweir //------------------------------------------------------------------------- 90cdf0e10cSrcweir /** contains the number of children person has. 91cdf0e10cSrcweir */ 92cdf0e10cSrcweir [attribute] short ChildrenCount; 93cdf0e10cSrcweir 94cdf0e10cSrcweir //------------------------------------------------------------------------- 95cdf0e10cSrcweir /** contains a struct of type Property. 96cdf0e10cSrcweir */ 97cdf0e10cSrcweir [attribute] com::sun::star::beans::Property FirstStruct; 98cdf0e10cSrcweir 99cdf0e10cSrcweir //------------------------------------------------------------------------- 100cdf0e10cSrcweir /** contains a struct of type PropertyValue. 101cdf0e10cSrcweir */ 102cdf0e10cSrcweir [attribute] com::sun::star::beans::PropertyValue SecondStruct; 103cdf0e10cSrcweir 104cdf0e10cSrcweir //------------------------------------------------------------------------- 105cdf0e10cSrcweir /** Ausgabe-Methode 106cdf0e10cSrcweir */ 107cdf0e10cSrcweir void writeln( [in] string Text ); 108cdf0e10cSrcweir 109cdf0e10cSrcweir //------------------------------------------------------------------------- 110cdf0e10cSrcweir /** ... 111cdf0e10cSrcweir */ 112cdf0e10cSrcweir long getDroenk(); 113cdf0e10cSrcweir 114cdf0e10cSrcweir //------------------------------------------------------------------------- 115cdf0e10cSrcweir /** Weitere Introspection-Test-Objekt holen 116cdf0e10cSrcweir */ 117cdf0e10cSrcweir XIntroTest getIntroTest(); 118cdf0e10cSrcweir //com::sun::star::beans::XIntroTest getIntroTest(); 119cdf0e10cSrcweir 120cdf0e10cSrcweir //------------------------------------------------------------------------- 121cdf0e10cSrcweir /** !!! No property, because parameter exists 122cdf0e10cSrcweir */ 123cdf0e10cSrcweir long getUps( [in] long l ); 124cdf0e10cSrcweir 125cdf0e10cSrcweir //------------------------------------------------------------------------- 126cdf0e10cSrcweir /** ... 127cdf0e10cSrcweir */ 128cdf0e10cSrcweir void setDroenk( [in] long l ); 129cdf0e10cSrcweir 130cdf0e10cSrcweir //------------------------------------------------------------------------- 131cdf0e10cSrcweir /** ... 132cdf0e10cSrcweir */ 133cdf0e10cSrcweir short getBla(); 134cdf0e10cSrcweir 135cdf0e10cSrcweir //------------------------------------------------------------------------- 136cdf0e10cSrcweir /** !!! Not the set method for property Bla, because param type != return type. 137cdf0e10cSrcweir */ 138cdf0e10cSrcweir void setBla( [in] long n ); 139cdf0e10cSrcweir 140cdf0e10cSrcweir //------------------------------------------------------------------------- 141cdf0e10cSrcweir /** ... 142cdf0e10cSrcweir */ 143cdf0e10cSrcweir short getBlub(); 144cdf0e10cSrcweir 145cdf0e10cSrcweir //------------------------------------------------------------------------- 146cdf0e10cSrcweir /** ... 147cdf0e10cSrcweir */ 148cdf0e10cSrcweir void setBlub( [in] short n ); 149cdf0e10cSrcweir 150cdf0e10cSrcweir //------------------------------------------------------------------------- 151cdf0e10cSrcweir /** ... 152cdf0e10cSrcweir */ 153cdf0e10cSrcweir short getGulp(); 154cdf0e10cSrcweir 155cdf0e10cSrcweir //------------------------------------------------------------------------- 156cdf0e10cSrcweir /** !!! Not the set method for property Gulp, because return type != void. 157cdf0e10cSrcweir */ 158cdf0e10cSrcweir short setGulp( [in] short n ); 159cdf0e10cSrcweir 160cdf0e10cSrcweir //------------------------------------------------------------------------- 161cdf0e10cSrcweir /** ... 162cdf0e10cSrcweir */ 163cdf0e10cSrcweir com::sun::star::uno::TypeClass getTypeClass( [in] short n ); 164cdf0e10cSrcweir 165cdf0e10cSrcweir //------------------------------------------------------------------------- 166cdf0e10cSrcweir /** ... 167cdf0e10cSrcweir */ 168cdf0e10cSrcweir void setTypeClass( [in] com::sun::star::uno::TypeClass t, 169cdf0e10cSrcweir [in] double d1, 170cdf0e10cSrcweir [in] double d2 ); 171cdf0e10cSrcweir 172cdf0e10cSrcweir //------------------------------------------------------------------------- 173cdf0e10cSrcweir /** 174cdf0e10cSrcweir */ 175cdf0e10cSrcweir sequence<string> getStrings(); 176cdf0e10cSrcweir 177cdf0e10cSrcweir //------------------------------------------------------------------------- 178cdf0e10cSrcweir /** ... 179cdf0e10cSrcweir */ 180cdf0e10cSrcweir void setStrings( [in] sequence<string> Strings ); 181cdf0e10cSrcweir 182cdf0e10cSrcweir //------------------------------------------------------------------------- 183cdf0e10cSrcweir /** ... 184cdf0e10cSrcweir */ 185cdf0e10cSrcweir void setStringsPerMethod( [in] sequence<string> Strings, 186cdf0e10cSrcweir [in] short n ); 187cdf0e10cSrcweir 188cdf0e10cSrcweir //------------------------------------------------------------------------- 189cdf0e10cSrcweir /** 190cdf0e10cSrcweir */ 191cdf0e10cSrcweir sequence< sequence< sequence< short > > > getMultiSequence(); 192cdf0e10cSrcweir 193cdf0e10cSrcweir //------------------------------------------------------------------------- 194cdf0e10cSrcweir /** ... 195cdf0e10cSrcweir */ 196cdf0e10cSrcweir void setMultiSequence( [in] sequence< sequence< sequence< short > > > Seq ); 197cdf0e10cSrcweir 198cdf0e10cSrcweir //------------------------------------------------------------------------- 199cdf0e10cSrcweir /**Add a PropertiesChangeListener 200cdf0e10cSrcweir */ 201cdf0e10cSrcweir [oneway] void addPropertiesChangeListener( [in] sequence< string > PropertyNames, 202cdf0e10cSrcweir [in] com::sun::star::beans::XPropertiesChangeListener Listener ); 203cdf0e10cSrcweir 204cdf0e10cSrcweir //------------------------------------------------------------------------- 205cdf0e10cSrcweir /**Remove a PropertiesChangeListener 206cdf0e10cSrcweir */ 207cdf0e10cSrcweir [oneway] void removePropertiesChangeListener( [in] com::sun::star::beans::XPropertiesChangeListener Listener ); 208cdf0e10cSrcweir 209cdf0e10cSrcweir}; 210cdf0e10cSrcweir 211cdf0e10cSrcweir//============================================================================= 212cdf0e10cSrcweir 213cdf0e10cSrcweir}; 214cdf0e10cSrcweir//}; }; }; }; 215cdf0e10cSrcweir 216cdf0e10cSrcweir#endif 217