LibreOffice Module desktop (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dp_gui::UpdateDialog::Thread Class Reference
Inheritance diagram for dp_gui::UpdateDialog::Thread:
[legend]
Collaboration diagram for dp_gui::UpdateDialog::Thread:
[legend]

Public Member Functions

 Thread (uno::Reference< uno::XComponentContext > const &context, UpdateDialog &dialog, std::vector< uno::Reference< deployment::XPackage > > &&vExtensionList)
 
void stop ()
 
- Public Member Functions inherited from salhelper::Thread
 Thread (char const *name)
 
void launch ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~Thread () override
 
virtual void execute () override
 
void handleSpecificError (uno::Reference< deployment::XPackage > const &package, uno::Any const &exception) const
 
OUString getUpdateDisplayString (dp_gui::UpdateData const &data, std::u16string_view version=std::u16string_view()) const
 
void prepareUpdateData (css::uno::Reference< css::xml::dom::XNode > const &updateInfo, UpdateDialog::DisabledUpdate &out_du, dp_gui::UpdateData &out_data) const
 out_data will only be filled if all dependencies are ok. More...
 
bool update (UpdateDialog::DisabledUpdate const &du, dp_gui::UpdateData const &data) const
 

Private Attributes

uno::Reference< uno::XComponentContext > m_context
 
UpdateDialogm_dialog
 
std::vector< uno::Reference< deployment::XPackage > > m_vExtensionList
 
uno::Reference< deployment::XUpdateInformationProvider > m_updateInformation
 
uno::Reference< task::XInteractionHandler > m_xInteractionHdl
 
bool m_stop
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::Thread
static void * operator new (std::size_t size)
 
static void operator delete (void *pointer)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
virtual ~Thread () SAL_OVERRIDE
 
virtual void execute ()=0
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 145 of file dp_gui_updatedialog.cxx.

Constructor & Destructor Documentation

◆ Thread()

dp_gui::UpdateDialog::Thread::Thread ( uno::Reference< uno::XComponentContext > const &  context,
UpdateDialog dialog,
std::vector< uno::Reference< deployment::XPackage > > &&  vExtensionList 
)

◆ ~Thread()

dp_gui::UpdateDialog::Thread::~Thread ( )
overrideprivatevirtual

Reimplemented from salhelper::Thread.

Definition at line 213 of file dp_gui_updatedialog.cxx.

Member Function Documentation

◆ execute()

void dp_gui::UpdateDialog::Thread::execute ( )
overrideprivatevirtual

◆ getUpdateDisplayString()

OUString dp_gui::UpdateDialog::Thread::getUpdateDisplayString ( dp_gui::UpdateData const &  data,
std::u16string_view  version = std::u16string_view() 
) const
private

◆ handleSpecificError()

void dp_gui::UpdateDialog::Thread::handleSpecificError ( uno::Reference< deployment::XPackage > const &  package,
uno::Any const &  exception 
) const
private

◆ prepareUpdateData()

void dp_gui::UpdateDialog::Thread::prepareUpdateData ( css::uno::Reference< css::xml::dom::XNode > const &  updateInfo,
UpdateDialog::DisabledUpdate out_du,
dp_gui::UpdateData out_data 
) const
private

◆ stop()

void dp_gui::UpdateDialog::Thread::stop ( )

Definition at line 205 of file dp_gui_updatedialog.cxx.

◆ update()

bool dp_gui::UpdateDialog::Thread::update ( UpdateDialog::DisabledUpdate const &  du,
dp_gui::UpdateData const &  data 
) const
private

Member Data Documentation

◆ m_context

uno::Reference< uno::XComponentContext > dp_gui::UpdateDialog::Thread::m_context
private

Definition at line 175 of file dp_gui_updatedialog.cxx.

Referenced by dp_gui::UpdateDialog::Thread::Thread().

◆ m_dialog

UpdateDialog& dp_gui::UpdateDialog::Thread::m_dialog
private

Definition at line 176 of file dp_gui_updatedialog.cxx.

◆ m_stop

bool dp_gui::UpdateDialog::Thread::m_stop
private

Definition at line 182 of file dp_gui_updatedialog.cxx.

◆ m_updateInformation

uno::Reference< deployment::XUpdateInformationProvider > dp_gui::UpdateDialog::Thread::m_updateInformation
private

Definition at line 178 of file dp_gui_updatedialog.cxx.

Referenced by dp_gui::UpdateDialog::Thread::Thread().

◆ m_vExtensionList

std::vector< uno::Reference< deployment::XPackage > > dp_gui::UpdateDialog::Thread::m_vExtensionList
private

Definition at line 177 of file dp_gui_updatedialog.cxx.

◆ m_xInteractionHdl

uno::Reference< task::XInteractionHandler > dp_gui::UpdateDialog::Thread::m_xInteractionHdl
private

Definition at line 179 of file dp_gui_updatedialog.cxx.

Referenced by dp_gui::UpdateDialog::Thread::Thread().


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