From 1268326e814837e111eaf320f72661f288393839 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 16 Apr 2013 15:34:41 +0200 Subject: Further clean-up related to removed library unloading feature Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278 --- udkapi/com/sun/star/uno/XUnloadingPreference.idl | 26 +++--------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'udkapi') diff --git a/udkapi/com/sun/star/uno/XUnloadingPreference.idl b/udkapi/com/sun/star/uno/XUnloadingPreference.idl index 25c99e0aea80..28dbea1fcbf9 100644 --- a/udkapi/com/sun/star/uno/XUnloadingPreference.idl +++ b/udkapi/com/sun/star/uno/XUnloadingPreference.idl @@ -24,32 +24,12 @@ module com { module sun { module star { module uno { -/** Components can implement XUnloadingPreference in order to indicate - how they should be treated when their hosting library is to be unloaded. - - When someone calls rtl_unloadUnusedModules then the unloading - listeners are notified by calling previously registered callback - functions. A listener is an entity that employs, registers, and - unregisters the callback functions on its behalf. Upon notification - (the callback function is being called) - a listener may release references to UNO components. Thus, the - loaded libraries can be unloaded, if no one else keeps any - objects from the library alive.
- Before a listener releases references, it should ask for this interface. - If the interface is not implemented, then the listener may release the - object; otherwise, it calls releaseOnNotification. If the function - returns false then the listener should keep the reference, otherwise - it may release it. +/** Backwards-compatibility remainder of a removed library unloading feature. + + @deprecated Do not use. */ published interface XUnloadingPreference: com::sun::star::uno::XInterface { - /** - The return value determines if the object wants to stay - alive in case of an unloading procedure. - @return - do not release references to this object,otherwise - - */ boolean releaseOnNotification(); }; -- cgit