LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::mozab::MozillaBootstrap Class Reference

#include <MMozillaBootstrap.hxx>

Inheritance diagram for connectivity::mozab::MozillaBootstrap:
[legend]
Collaboration diagram for connectivity::mozab::MozillaBootstrap:
[legend]

Public Member Functions

 MozillaBootstrap ()
 
virtual void SAL_CALL disposing () 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
 
virtual ::sal_Int32 SAL_CALL getProfileCount (css::mozilla::MozillaProductType product) override
 
virtual ::sal_Int32 SAL_CALL getProfileList (css::mozilla::MozillaProductType product, css::uno::Sequence< OUString > &list) override
 
virtual OUString SAL_CALL getDefaultProfile (css::mozilla::MozillaProductType product) override
 
virtual OUString SAL_CALL getProfilePath (css::mozilla::MozillaProductType product, const OUString &profileName) override
 
virtual sal_Bool SAL_CALL isProfileLocked (css::mozilla::MozillaProductType product, const OUString &profileName) override
 
virtual sal_Bool SAL_CALL getProfileExists (css::mozilla::MozillaProductType product, const OUString &profileName) override
 
virtual ::sal_Int32 SAL_CALL bootupProfile (css::mozilla::MozillaProductType product, const OUString &profileName) override
 
virtual ::sal_Int32 SAL_CALL shutdownProfile () override
 
virtual css::mozilla::MozillaProductType SAL_CALL getCurrentProduct () override
 
virtual OUString SAL_CALL getCurrentProfile () override
 
virtual sal_Bool SAL_CALL isCurrentProfileLocked () override
 
virtual OUString SAL_CALL setCurrentProfile (css::mozilla::MozillaProductType product, const OUString &profileName) override
 
virtual ::sal_Int32 SAL_CALL Run (const css::uno::Reference< css::mozilla::XCodeProxy > &aCode) override
 

Private Member Functions

virtual ~MozillaBootstrap () override
 

Private Attributes

::osl::Mutex m_aMutex
 
std::unique_ptr< ProfileAccessm_ProfileAccess
 

Detailed Description

Definition at line 36 of file MMozillaBootstrap.hxx.

Constructor & Destructor Documentation

◆ ~MozillaBootstrap()

MozillaBootstrap::~MozillaBootstrap ( )
overrideprivatevirtual

Definition at line 43 of file MMozillaBootstrap.cxx.

◆ MozillaBootstrap()

MozillaBootstrap::MozillaBootstrap ( )

Definition at line 36 of file MMozillaBootstrap.cxx.

References bootupProfile(), m_aMutex, and m_ProfileAccess.

Member Function Documentation

◆ bootupProfile()

sal_Int32 SAL_CALL MozillaBootstrap::bootupProfile ( css::mozilla::MozillaProductType  product,
const OUString &  profileName 
)
override

Definition at line 98 of file MMozillaBootstrap.cxx.

Referenced by MozillaBootstrap().

◆ disposing()

void MozillaBootstrap::disposing ( )
overridevirtual

Definition at line 47 of file MMozillaBootstrap.cxx.

References m_aMutex.

◆ getCurrentProduct()

css::mozilla::MozillaProductType SAL_CALL MozillaBootstrap::getCurrentProduct ( )
overridevirtual

Definition at line 106 of file MMozillaBootstrap.cxx.

◆ getCurrentProfile()

OUString SAL_CALL MozillaBootstrap::getCurrentProfile ( )
overridevirtual

Definition at line 110 of file MMozillaBootstrap.cxx.

◆ getDefaultProfile()

OUString SAL_CALL MozillaBootstrap::getDefaultProfile ( css::mozilla::MozillaProductType  product)
overridevirtual

Definition at line 80 of file MMozillaBootstrap.cxx.

References m_ProfileAccess.

◆ getImplementationName()

OUString SAL_CALL MozillaBootstrap::getImplementationName ( )
overridevirtual

Definition at line 53 of file MMozillaBootstrap.cxx.

◆ getProfileCount()

sal_Int32 SAL_CALL MozillaBootstrap::getProfileCount ( css::mozilla::MozillaProductType  product)
override

Definition at line 72 of file MMozillaBootstrap.cxx.

References m_ProfileAccess.

◆ getProfileExists()

sal_Bool SAL_CALL MozillaBootstrap::getProfileExists ( css::mozilla::MozillaProductType  product,
const OUString &  profileName 
)
overridevirtual

Definition at line 92 of file MMozillaBootstrap.cxx.

References m_ProfileAccess.

◆ getProfileList()

sal_Int32 SAL_CALL MozillaBootstrap::getProfileList ( css::mozilla::MozillaProductType  product,
css::uno::Sequence< OUString > &  list 
)
override

Definition at line 76 of file MMozillaBootstrap.cxx.

References m_ProfileAccess.

◆ getProfilePath()

OUString SAL_CALL MozillaBootstrap::getProfilePath ( css::mozilla::MozillaProductType  product,
const OUString &  profileName 
)
overridevirtual

Definition at line 84 of file MMozillaBootstrap.cxx.

References m_ProfileAccess.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL MozillaBootstrap::getSupportedServiceNames ( )
overridevirtual

Definition at line 63 of file MMozillaBootstrap.cxx.

◆ isCurrentProfileLocked()

sal_Bool SAL_CALL MozillaBootstrap::isCurrentProfileLocked ( )
overridevirtual

Definition at line 114 of file MMozillaBootstrap.cxx.

◆ isProfileLocked()

sal_Bool SAL_CALL MozillaBootstrap::isProfileLocked ( css::mozilla::MozillaProductType  product,
const OUString &  profileName 
)
overridevirtual

Definition at line 88 of file MMozillaBootstrap.cxx.

◆ Run()

sal_Int32 SAL_CALL MozillaBootstrap::Run ( const css::uno::Reference< css::mozilla::XCodeProxy > &  aCode)
override

Definition at line 124 of file MMozillaBootstrap.cxx.

◆ setCurrentProfile()

OUString SAL_CALL MozillaBootstrap::setCurrentProfile ( css::mozilla::MozillaProductType  product,
const OUString &  profileName 
)
overridevirtual

Definition at line 118 of file MMozillaBootstrap.cxx.

◆ shutdownProfile()

sal_Int32 SAL_CALL MozillaBootstrap::shutdownProfile ( )
override

Definition at line 102 of file MMozillaBootstrap.cxx.

◆ supportsService()

sal_Bool SAL_CALL MozillaBootstrap::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 58 of file MMozillaBootstrap.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex connectivity::mozab::MozillaBootstrap::m_aMutex
private

Definition at line 39 of file MMozillaBootstrap.hxx.

Referenced by disposing().

◆ m_ProfileAccess

std::unique_ptr<ProfileAccess> connectivity::mozab::MozillaBootstrap::m_ProfileAccess
private

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