LibreOffice Module desktop (master)  1
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
desktop::DispatchWatcher Class Reference

#include <dispatchwatcher.hxx>

Inheritance diagram for desktop::DispatchWatcher:
[legend]
Collaboration diagram for desktop::DispatchWatcher:
[legend]

Classes

struct  DispatchRequest
 

Public Types

enum  RequestType {
  REQUEST_OPEN,
  REQUEST_VIEW,
  REQUEST_START,
  REQUEST_PRINT,
  REQUEST_PRINTTO,
  REQUEST_FORCEOPEN,
  REQUEST_FORCENEW,
  REQUEST_CONVERSION,
  REQUEST_INFILTER,
  REQUEST_BATCHPRINT,
  REQUEST_CAT,
  REQUEST_SCRIPT_CAT
}
 

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
 

Detailed Description

Definition at line 40 of file dispatchwatcher.hxx.

Member Enumeration Documentation

Enumerator
REQUEST_OPEN 
REQUEST_VIEW 
REQUEST_START 
REQUEST_PRINT 
REQUEST_PRINTTO 
REQUEST_FORCEOPEN 
REQUEST_FORCENEW 
REQUEST_CONVERSION 
REQUEST_INFILTER 
REQUEST_BATCHPRINT 
REQUEST_CAT 
REQUEST_SCRIPT_CAT 

Definition at line 43 of file dispatchwatcher.hxx.

Constructor & Destructor Documentation

desktop::DispatchWatcher::DispatchWatcher ( )

Definition at line 296 of file dispatchwatcher.cxx.

desktop::DispatchWatcher::~DispatchWatcher ( )
overridevirtual

Definition at line 302 of file dispatchwatcher.cxx.

Member Function Documentation

void SAL_CALL desktop::DispatchWatcher::dispatchFinished ( const css::frame::DispatchResultEvent &  aEvent)
overridevirtual
void SAL_CALL desktop::DispatchWatcher::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 789 of file dispatchwatcher.cxx.

bool desktop::DispatchWatcher::executeDispatchRequests ( const std::vector< DispatchRequest > &  aDispatches,
bool  bNoTerminate 
)

Member Data Documentation

osl::Mutex desktop::DispatchWatcher::m_mutex
private

Definition at line 82 of file dispatchwatcher.hxx.

Referenced by dispatchFinished(), and executeDispatchRequests().

sal_Int16 desktop::DispatchWatcher::m_nRequestCount
private

Definition at line 84 of file dispatchwatcher.hxx.

Referenced by dispatchFinished(), and executeDispatchRequests().


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