merged tag ooo/OOO330_m14
[LibreOffice.git] / udkapi / com / sun / star / reflection / XProxyFactory.idl
blob9b592e594031e2af43daf9a62acbb3d00d422b56
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_reflection_XProxyFactory_idl__
28 #define __com_sun_star_reflection_XProxyFactory_idl__
30 #ifndef __com_sun_star_uno_XInterface_idl__
31 #include <com/sun/star/uno/XInterface.idl>
32 #endif
33 #ifndef __com_sun_star_uno_XAggregation_idl__
34 #include <com/sun/star/uno/XAggregation.idl>
35 #endif
37 //=============================================================================
39 module com { module sun { module star { module reflection {
41 //=============================================================================
43 /** Factory interface to produce proxy objects.
45 @deprecated
46 Aggregation will no longer be supported as a high-level concept of UNO.
47 You may still have the option to implement an UNO object consisting of
48 several single objects in your specific programming language, though this
49 depends on your programming language.
50 Thus this interface is deprecated, too.
52 published interface XProxyFactory: com::sun::star::uno::XInterface
54 /** This method creates a new proxy object that acts on behalf of the given
55 target object.<br>
56 The proxy delegates calls to the given target object.
57 In addition, it is aggregatable, thus it is possible to
58 intercept calls on the proxy's interfaces.
60 @attention
61 The proxy object is UNO conform, but does NOT provide original target
62 interfaces on queryInterface() calls. This may lead to problems
63 regarding object identity, e.g. when dealing with listener proxies.
65 @param xTarget
66 target object
67 @return
68 proxy object
70 com::sun::star::uno::XAggregation createProxy(
71 [in] com::sun::star::uno::XInterface xTarget );
74 //=============================================================================
76 }; }; }; };
78 /*=============================================================================
80 =============================================================================*/
81 #endif