LibreOffice Module desktop (master)  1
Public Member Functions | Private Attributes | List of all members
DispatchResultListener Class Reference

Class to react on finishing of a dispatched command. More...

Inheritance diagram for DispatchResultListener:
[legend]
Collaboration diagram for DispatchResultListener:
[legend]

Public Member Functions

 DispatchResultListener (const char *pCommand, std::shared_ptr< CallbackFlushHandler > const &pCallback)
 
virtual void SAL_CALL dispatchFinished (const css::frame::DispatchResultEvent &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &) override
 

Private Attributes

OString maCommand
 Command for which this is the result. More...
 
std::shared_ptr< CallbackFlushHandlermpCallback
 Callback to call. More...
 

Detailed Description

Class to react on finishing of a dispatched command.

This will call a LOK_COMMAND_FINISHED callback when postUnoCommand was called with the parameter requesting the notification.

See also
LibreOfficeKitCallbackType::LOK_CALLBACK_UNO_COMMAND_RESULT.

Definition at line 3247 of file init.cxx.

Constructor & Destructor Documentation

DispatchResultListener::DispatchResultListener ( const char *  pCommand,
std::shared_ptr< CallbackFlushHandler > const &  pCallback 
)
inline

Definition at line 3253 of file init.cxx.

Member Function Documentation

virtual void SAL_CALL DispatchResultListener::dispatchFinished ( const css::frame::DispatchResultEvent &  rEvent)
inlineoverridevirtual

Definition at line 3260 of file init.cxx.

References unoAnyToPropertyTree().

virtual void SAL_CALL DispatchResultListener::disposing ( const css::lang::EventObject &  )
inlineoverridevirtual

Definition at line 3279 of file init.cxx.

Member Data Documentation

OString DispatchResultListener::maCommand
private

Command for which this is the result.

Definition at line 3249 of file init.cxx.

std::shared_ptr<CallbackFlushHandler> DispatchResultListener::mpCallback
private

Callback to call.

Definition at line 3250 of file init.cxx.


The documentation for this class was generated from the following file: