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

Public Member Functions

 Thread (cssu::Reference< cssu::XComponentContext > const &ctx, UpdateInstallDialog &dialog, std::vector< dp_gui::UpdateData > &aVecUpdateData)
 
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 downloadExtensions ()
 
bool download (OUString const &aUrls, UpdateData &aUpdatData)
 
void installExtensions ()
 
void removeTempDownloads ()
 

Private Attributes

UpdateInstallDialogm_dialog
 
cssu::Reference< css::task::XAbortChannel > m_abort
 
cssu::Reference< cssu::XComponentContext > m_xComponentContext
 
std::vector< dp_gui::UpdateData > & m_aVecUpdateData
 
::rtl::Reference< UpdateCommandEnvm_updateCmdEnv
 
OUString m_sDownloadFolder
 
bool m_stop
 

Friends

class UpdateCommandEnv
 

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 78 of file dp_gui_updateinstalldialog.cxx.

Constructor & Destructor Documentation

dp_gui::UpdateInstallDialog::Thread::Thread ( cssu::Reference< cssu::XComponentContext > const &  ctx,
UpdateInstallDialog dialog,
std::vector< dp_gui::UpdateData > &  aVecUpdateData 
)

Definition at line 141 of file dp_gui_updateinstalldialog.cxx.

dp_gui::UpdateInstallDialog::Thread::~Thread ( )
overrideprivatevirtual

Reimplemented from salhelper::Thread.

Definition at line 165 of file dp_gui_updateinstalldialog.cxx.

Member Function Documentation

bool dp_gui::UpdateInstallDialog::Thread::download ( OUString const &  aUrls,
UpdateData aUpdatData 
)
private
void dp_gui::UpdateInstallDialog::Thread::downloadExtensions ( )
private
void dp_gui::UpdateInstallDialog::Thread::execute ( )
overrideprivatevirtual

Implements salhelper::Thread.

Definition at line 167 of file dp_gui_updateinstalldialog.cxx.

void dp_gui::UpdateInstallDialog::Thread::installExtensions ( )
private
void dp_gui::UpdateInstallDialog::Thread::removeTempDownloads ( )
private

Definition at line 538 of file dp_gui_updateinstalldialog.cxx.

References dp_misc::erase_path().

void dp_gui::UpdateInstallDialog::Thread::stop ( )

Definition at line 153 of file dp_gui_updateinstalldialog.cxx.

Friends And Related Function Documentation

friend class UpdateCommandEnv
friend

Definition at line 79 of file dp_gui_updateinstalldialog.cxx.

Member Data Documentation

cssu::Reference< css::task::XAbortChannel > dp_gui::UpdateInstallDialog::Thread::m_abort
private

Definition at line 98 of file dp_gui_updateinstalldialog.cxx.

std::vector< dp_gui::UpdateData >& dp_gui::UpdateInstallDialog::Thread::m_aVecUpdateData
private

Definition at line 100 of file dp_gui_updateinstalldialog.cxx.

UpdateInstallDialog& dp_gui::UpdateInstallDialog::Thread::m_dialog
private

Definition at line 95 of file dp_gui_updateinstalldialog.cxx.

OUString dp_gui::UpdateInstallDialog::Thread::m_sDownloadFolder
private

Definition at line 104 of file dp_gui_updateinstalldialog.cxx.

bool dp_gui::UpdateInstallDialog::Thread::m_stop
private

Definition at line 106 of file dp_gui_updateinstalldialog.cxx.

::rtl::Reference<UpdateCommandEnv> dp_gui::UpdateInstallDialog::Thread::m_updateCmdEnv
private

Definition at line 101 of file dp_gui_updateinstalldialog.cxx.

cssu::Reference< cssu::XComponentContext > dp_gui::UpdateInstallDialog::Thread::m_xComponentContext
private

Definition at line 99 of file dp_gui_updateinstalldialog.cxx.


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