LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
comphelper::OOfficeRestartManager Class Reference

#include <officerestartmanager.hxx>

Inheritance diagram for comphelper::OOfficeRestartManager:
[legend]
Collaboration diagram for comphelper::OOfficeRestartManager:
[legend]

Public Member Functions

 OOfficeRestartManager (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual void SAL_CALL requestRestart (const css::uno::Reference< css::task::XInteractionHandler > &xInteractionHandler) override
 
virtual sal_Bool SAL_CALL isRestartRequested (sal_Bool bInitialized) override
 
virtual void SAL_CALL notify (const css::uno::Any &aData) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Attributes

::osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
bool m_bOfficeInitialized
 
bool m_bRestartRequested
 

Detailed Description

Definition at line 33 of file officerestartmanager.hxx.

Constructor & Destructor Documentation

comphelper::OOfficeRestartManager::OOfficeRestartManager ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
inlineexplicit

Definition at line 44 of file officerestartmanager.hxx.

Member Function Documentation

OUString SAL_CALL comphelper::OOfficeRestartManager::getImplementationName ( )
overridevirtual

Definition at line 132 of file officerestartmanager.cxx.

uno::Sequence< OUString > SAL_CALL comphelper::OOfficeRestartManager::getSupportedServiceNames ( )
overridevirtual

Definition at line 142 of file officerestartmanager.cxx.

sal_Bool SAL_CALL comphelper::OOfficeRestartManager::isRestartRequested ( sal_Bool  bInitialized)
overridevirtual

Definition at line 78 of file officerestartmanager.cxx.

References m_aMutex, m_bOfficeInitialized, and m_bRestartRequested.

void SAL_CALL comphelper::OOfficeRestartManager::notify ( const css::uno::Any &  aData)
overridevirtual

Definition at line 90 of file officerestartmanager.cxx.

References m_bRestartRequested, and m_xContext.

void SAL_CALL comphelper::OOfficeRestartManager::requestRestart ( const css::uno::Reference< css::task::XInteractionHandler > &  xInteractionHandler)
overridevirtual
sal_Bool SAL_CALL comphelper::OOfficeRestartManager::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 137 of file officerestartmanager.cxx.

References cppu::supportsService().

Member Data Documentation

::osl::Mutex comphelper::OOfficeRestartManager::m_aMutex
private

Definition at line 37 of file officerestartmanager.hxx.

Referenced by isRestartRequested(), and requestRestart().

bool comphelper::OOfficeRestartManager::m_bOfficeInitialized
private

Definition at line 40 of file officerestartmanager.hxx.

Referenced by isRestartRequested(), and requestRestart().

bool comphelper::OOfficeRestartManager::m_bRestartRequested
private

Definition at line 41 of file officerestartmanager.hxx.

Referenced by isRestartRequested(), notify(), and requestRestart().

css::uno::Reference< css::uno::XComponentContext > comphelper::OOfficeRestartManager::m_xContext
private

Definition at line 38 of file officerestartmanager.hxx.

Referenced by notify(), and requestRestart().


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