From 25cedf1dc717227d532e96062d03ba3ef1140a73 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 7 Mar 2014 10:31:07 +0100 Subject: Introduce com.sun.star.beans.theIntrospection singleton ...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882 --- udkapi/com/sun/star/beans/Introspection.idl | 10 +++----- udkapi/com/sun/star/beans/theIntrospection.idl | 34 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 7 deletions(-) create mode 100644 udkapi/com/sun/star/beans/theIntrospection.idl (limited to 'udkapi/com/sun/star') diff --git a/udkapi/com/sun/star/beans/Introspection.idl b/udkapi/com/sun/star/beans/Introspection.idl index 45b33ce83e84..1904d601dfc9 100644 --- a/udkapi/com/sun/star/beans/Introspection.idl +++ b/udkapi/com/sun/star/beans/Introspection.idl @@ -25,14 +25,10 @@ module com { module sun { module star { module beans { -/** provides functionality to get information about an object's - properties and methods. -

Important note:An object can only be - inspected completely if it supports the - com::sun::star::lang::XTypeProvider interface.

+/** A legacy (single-instance) service variant of theIntrospection singleton. -

For details see method XIntrospection::inspect() .

- */ + @deprecated Use theIntrospection instead. +*/ published service Introspection : com::sun::star::beans::XIntrospection; diff --git a/udkapi/com/sun/star/beans/theIntrospection.idl b/udkapi/com/sun/star/beans/theIntrospection.idl new file mode 100644 index 000000000000..ba100f4b6b7f --- /dev/null +++ b/udkapi/com/sun/star/beans/theIntrospection.idl @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_com_sun_star_beans_theIntrospection_idl +#define INCLUDED_com_sun_star_beans_theIntrospection_idl + +module com { module sun { module star { module beans { + +published interface XIntrospection; + +/** provides functionality to get information about an object's + properties and methods. + +

Important note:An object can only be inspected + completely if it supports the com::sun::star::lang::XTypeProvider + interface.

+ +

For details, see method XIntrospection::inspect().

+ + @since LibreOffice 4.3 +*/ +published singleton theIntrospection: XIntrospection; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit