LibreOffice Module ucbhelper (master) 1
|
This class implements a simple IO error interaction request. More...
#include <simpleioerrorrequest.hxx>
Public Member Functions | |
SimpleIOErrorRequest (const css::ucb::IOErrorCode eError, const css::uno::Sequence< css::uno::Any > &rArgs, const OUString &rMessage, const css::uno::Reference< css::ucb::XCommandProcessor > &xContext) | |
Constructor. More... | |
Public Member Functions inherited from ucbhelper::InteractionRequest | |
InteractionRequest (const css::uno::Any &rRequest) | |
Constructor. More... | |
void | setContinuations (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &rContinuations) |
This method sets the continuations for the request. More... | |
virtual css::uno::Any SAL_CALL | getRequest () override |
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL | getContinuations () override |
rtl::Reference< InteractionContinuation > const & | getSelection () const |
After passing this request to XInteractionHandler::handle, this method returns the continuation that was chosen by the interaction handler. More... | |
void | setSelection (const rtl::Reference< InteractionContinuation > &rxSelection) |
This method sets a continuation for the request. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ucbhelper::InteractionRequest | |
void | setRequest (const css::uno::Any &rRequest) |
InteractionRequest () | |
virtual | ~InteractionRequest () override |
This class implements a simple IO error interaction request.
Instances can be passed directly to XInteractionHandler::handle(...). Each instance contains an InteractiveIOException and one interaction continuation: "Abort".
Definition at line 39 of file simpleioerrorrequest.hxx.
SimpleIOErrorRequest::SimpleIOErrorRequest | ( | const css::ucb::IOErrorCode | eError, |
const css::uno::Sequence< css::uno::Any > & | rArgs, | ||
const OUString & | rMessage, | ||
const css::uno::Reference< css::ucb::XCommandProcessor > & | xContext | ||
) |
Constructor.
xContext | contains the command processor that executes the command related to the request. |
eError | is the error code to pass along with the request. |
qparam rArgs are additional parameters according to the specification of the error code. Refer to com/sun/star/ucb/IOErrorCode.idl for details.
Definition at line 28 of file simpleioerrorrequest.cxx.
References ucbhelper::InteractionRequest::setContinuations(), and ucbhelper::InteractionRequest::setRequest().