diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:18:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:18:36 +0000 |
commit | 14afa426c9925e044f615d1d10f948a11bef3990 (patch) | |
tree | bdc4a07ee9d1d6b2ae56d2e112d0032e001cd94e /cppuhelper | |
parent | 33a14dc5653e96e54a6b09a51e00e2a997fb8474 (diff) |
INTEGRATION: CWS skeletonmaker (1.1.2); FILE ADDED
2005/09/06 16:07:47 jsc 1.1.2.3: #i51720# change licence header
2005/08/17 15:40:11 sb 1.1.2.2: #i53316# Added absentOptional; added oldValue/newValue to prepareSet; fixed handle numbering.
2005/07/20 08:23:39 jsc 1.1.2.1: #i51720# new, moved from comphelper
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/qa/propertysetmixin/types.idl | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/cppuhelper/qa/propertysetmixin/types.idl b/cppuhelper/qa/propertysetmixin/types.idl new file mode 100644 index 000000000000..1ee81ecb6483 --- /dev/null +++ b/cppuhelper/qa/propertysetmixin/types.idl @@ -0,0 +1,93 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: types.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: hr $ $Date: 2005-10-27 17:18:36 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef __testtools_servicetests_TestService1_idl__ +#define __testtools_servicetests_TestService1_idl__ + +#include <com/sun/star/beans/Ambiguous.idl> +#include <com/sun/star/beans/Defaulted.idl> +#include <com/sun/star/beans/Optional.idl> +#include <com/sun/star/beans/PropertyVetoException.idl> +#include <com/sun/star/beans/UnknownPropertyException.idl> +#include <com/sun/star/lang/XComponent.idl> +#include <com/sun/star/uno/XInterface.idl> + +module test { module cppuhelper { module propertysetmixin { + +interface XTest1 { + [attribute] long First; +}; + +interface XTest2 { + [attribute, bound] + com::sun::star::beans::Ambiguous< + com::sun::star::beans::Defaulted< + com::sun::star::beans::Optional< long > > > Second + { + get raises (com::sun::star::beans::UnknownPropertyException); + set raises ( + com::sun::star::beans::PropertyVetoException, + com::sun::star::beans::UnknownPropertyException); + }; +}; + +interface XTest3 { + interface XTest1; + interface XTest2; + [attribute] long Third { + get raises (com::sun::star::beans::UnknownPropertyException); + set raises (com::sun::star::beans::UnknownPropertyException); + }; + [attribute] long Fourth { + get raises (com::sun::star::beans::UnknownPropertyException); + set raises (com::sun::star::beans::UnknownPropertyException); + }; +}; + +interface XSupplier { + com::sun::star::lang::XComponent getEmpty1(); + + com::sun::star::lang::XComponent getEmpty2(); + + XTest3 getFull(); +}; + +service CppSupplier: XSupplier; + +service JavaSupplier: XSupplier; + +}; }; }; + +#endif |