| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
This is the server-side interface to a weak adapter. More...
import "XAdapter.idl";
 
  
| Public Member Functions | |
| com::sun::star::uno::XInterface | queryAdapted () | 
| queries the adapted object if it is alive. | |
| void | addReference ([in] com::sun::star::uno::XReference xRef) | 
| adds a reference to the adapter. | |
| void | removeReference ([in] com::sun::star::uno::XReference xRef) | 
| removes a reference from the adapter. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
This is the server-side interface to a weak adapter.
The implementation of XAdapter must know but not hold the adapted object, because it must not affect the lifetime of the adapted object.
| void addReference | ( | [in] com::sun::star::uno::XReference | xRef | ) | 
adds a reference to the adapter.
All added references are called when the adapted object dies.
| com::sun::star::uno::XInterface queryAdapted | ( | ) | 
queries the adapted object if it is alive.
| void removeReference | ( | [in] com::sun::star::uno::XReference | xRef | ) | 
removes a reference from the adapter.