|
Syntax
- boolean addRemoteContentProvider
(
- string Identifier,
- com::sun::star::lang::XMultiServiceFactory Factory,
- sequence< string > Templates,
- com::sun::star::ucb::XRemoteContentProviderDoneListener DoneListener );
Description
Add a remote content provider.
Parameter Identifier
- An arbitrary identifier uniquely identifying the
remote content provider.
Parameter Factory
- A factory through which the remote content provider's
UniversalContentBroker service can be instantiated.
Parameter Templates
- A sequence of URL templates the remote content
provider is willing to handle.
Parameter DoneListener
- If not null, the implementation of this interface
can---through this callback---tell the calling side that the
implementation no longer needs the remote content provider. (And the
calling side should call
XRemoteContentProviderAcceptor::removeRemoteContentProvider
then.)
To enable connection control, it is recommended that this argument
also implements the interface
XRemoteContentProviderConnectionControl .
Returns
- true if the remote content provider has successfully been
added.
Syntax
- boolean removeRemoteContentProvider
(
- string Identifier );
Description
Remove a remote content provider.
Parameter Identifier
- An arbitrary identifier uniquely identifying the
remote content provider.
Returns
- true if the remote content provider has successfully been
removed.
|