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, const 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, OUString const &version=OUString()) 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 voidoperator new (std::size_t size)
 
static void operator delete (void *pointer)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator 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)
 
- 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 186 of file dp_gui_updatedialog.cxx.

Constructor & Destructor Documentation

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

Reimplemented from salhelper::Thread.

Definition at line 255 of file dp_gui_updatedialog.cxx.

Member Function Documentation

void dp_gui::UpdateDialog::Thread::execute ( )
overrideprivatevirtual
OUString dp_gui::UpdateDialog::Thread::getUpdateDisplayString ( dp_gui::UpdateData const &  data,
OUString const &  version = OUString() 
) const
private
void dp_gui::UpdateDialog::Thread::handleSpecificError ( uno::Reference< deployment::XPackage > const &  package,
uno::Any const &  exception 
) const
private
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
void dp_gui::UpdateDialog::Thread::stop ( )

Definition at line 247 of file dp_gui_updatedialog.cxx.

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

Member Data Documentation

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

Definition at line 216 of file dp_gui_updatedialog.cxx.

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

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

Definition at line 217 of file dp_gui_updatedialog.cxx.

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

Definition at line 223 of file dp_gui_updatedialog.cxx.

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

Definition at line 219 of file dp_gui_updatedialog.cxx.

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

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

Definition at line 218 of file dp_gui_updatedialog.cxx.

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

Definition at line 220 of file dp_gui_updatedialog.cxx.

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


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