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 (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 34 of file officerestartmanager.hxx.

Constructor & Destructor Documentation

◆ OOfficeRestartManager()

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

Definition at line 45 of file officerestartmanager.hxx.

Member Function Documentation

◆ getImplementationName()

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

Definition at line 131 of file officerestartmanager.cxx.

◆ getSupportedServiceNames()

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

Definition at line 141 of file officerestartmanager.cxx.

◆ isRestartRequested()

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

Definition at line 77 of file officerestartmanager.cxx.

References m_aMutex, m_bOfficeInitialized, and m_bRestartRequested.

◆ notify()

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

Definition at line 89 of file officerestartmanager.cxx.

References m_bRestartRequested, and m_xContext.

◆ requestRestart()

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

◆ supportsService()

sal_Bool SAL_CALL comphelper::OOfficeRestartManager::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 136 of file officerestartmanager.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

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

Definition at line 38 of file officerestartmanager.hxx.

Referenced by isRestartRequested(), and requestRestart().

◆ m_bOfficeInitialized

bool comphelper::OOfficeRestartManager::m_bOfficeInitialized
private

Definition at line 41 of file officerestartmanager.hxx.

Referenced by isRestartRequested(), and requestRestart().

◆ m_bRestartRequested

bool comphelper::OOfficeRestartManager::m_bRestartRequested
private

Definition at line 42 of file officerestartmanager.hxx.

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

◆ m_xContext

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

Definition at line 39 of file officerestartmanager.hxx.

Referenced by notify(), and requestRestart().


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