LibreOffice Module desktop (master)
1
|
#include <dispatchwatcher.hxx>
Classes | |
struct | DispatchRequest |
Public Member Functions | |
DispatchWatcher () | |
virtual | ~DispatchWatcher () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | dispatchFinished (const css::frame::DispatchResultEvent &aEvent) override |
bool | executeDispatchRequests (const std::vector< DispatchRequest > &aDispatches, bool bNoTerminate) |
Private Attributes | |
osl::Mutex | m_mutex |
sal_Int16 | m_nRequestCount |
Definition at line 38 of file dispatchwatcher.hxx.
Definition at line 41 of file dispatchwatcher.hxx.
desktop::DispatchWatcher::DispatchWatcher | ( | ) |
Definition at line 292 of file dispatchwatcher.cxx.
|
overridevirtual |
Definition at line 298 of file dispatchwatcher.cxx.
|
overridevirtual |
Definition at line 787 of file dispatchwatcher.cxx.
References desktop::RequestHandler::AreRequestsPending(), dp_registry::backend::bundle::create(), comphelper::getProcessComponentContext(), m_mutex, m_nRequestCount, nCount, and desktop::RequestHandler::RequestsCompleted().
|
overridevirtual |
Definition at line 782 of file dispatchwatcher.cxx.
bool desktop::DispatchWatcher::executeDispatchRequests | ( | const std::vector< DispatchRequest > & | aDispatches, |
bool | bNoTerminate | ||
) |
Definition at line 303 of file dispatchwatcher.cxx.
References Any, INetURLObject::Append(), aStr, aURL, comphelper::containerToSequence(), dp_registry::backend::bundle::create(), comphelper::SynchronousDispatch::dispatch(), Exception, INetURLObject::GetMainURL(), INetURLObject::getName(), comphelper::getProcessComponentContext(), INetURLObject::GetProtocol(), desktop::GetURL_Impl(), SvStream::good(), i, FStatHelper::IsDocument(), INetURLObject::LAST_SEGMENT, m_mutex, m_nRequestCount, INetURLObject::NONE, OUStringToOString(), utl::MediaDescriptor::PROP_DOCUMENTSERVICE(), SvStream::ReadLine(), REQUEST_BATCHPRINT, REQUEST_CAT, REQUEST_CONVERSION, REQUEST_FORCENEW, REQUEST_FORCEOPEN, REQUEST_INFILTER, REQUEST_OPEN, REQUEST_PRINT, REQUEST_PRINTTO, REQUEST_SCRIPT_CAT, REQUEST_START, REQUEST_VIEW, desktop::RequestHandler::RequestsCompleted(), SAL_MAX_INT32, SAL_WARN_IF, INetURLObject::SetExtension(), TOOLS_WARN_EXCEPTION, URL, xDispatch, and xModel.
|
private |
Definition at line 80 of file dispatchwatcher.hxx.
Referenced by dispatchFinished(), and executeDispatchRequests().
|
private |
Definition at line 82 of file dispatchwatcher.hxx.
Referenced by dispatchFinished(), and executeDispatchRequests().