diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-16 15:34:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-16 17:52:37 +0200 |
commit | 1268326e814837e111eaf320f72661f288393839 (patch) | |
tree | 5518044c0fc0c952ae365560c287e7b3d5162929 /udkapi | |
parent | b98617b3c86863fe5b4e3d9a96519707ae8cf58c (diff) |
Further clean-up related to removed library unloading feature
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
Diffstat (limited to 'udkapi')
-rw-r--r-- | udkapi/com/sun/star/uno/XUnloadingPreference.idl | 26 |
1 files changed, 3 insertions, 23 deletions
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 <code>XUnloadingPreference</code> in order to indicate - how they should be treated when their hosting library is to be unloaded. - - When someone calls <code>rtl_unloadUnusedModules</code> 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. <br> - 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 <code>releaseOnNotification</code>. 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 - <FALSE/>do not release references to this object,otherwise - <TRUE/> - */ boolean releaseOnNotification(); }; |