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:
Collaboration diagram for dp_gui::UpdateInstallDialog::Thread:

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

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


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

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

Reimplemented from salhelper::Thread.

Definition at line 150 of file dp_gui_updateinstalldialog.cxx.

Member Function Documentation

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

Implements salhelper::Thread.

Definition at line 152 of file dp_gui_updateinstalldialog.cxx.

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

Definition at line 522 of file dp_gui_updateinstalldialog.cxx.

References dp_misc::erase_path().

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

Definition at line 138 of file dp_gui_updateinstalldialog.cxx.

Friends And Related Function Documentation

friend class UpdateCommandEnv

Definition at line 64 of file dp_gui_updateinstalldialog.cxx.

Member Data Documentation

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

Definition at line 83 of file dp_gui_updateinstalldialog.cxx.

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

Definition at line 85 of file dp_gui_updateinstalldialog.cxx.

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

Definition at line 80 of file dp_gui_updateinstalldialog.cxx.

OUString dp_gui::UpdateInstallDialog::Thread::m_sDownloadFolder

Definition at line 89 of file dp_gui_updateinstalldialog.cxx.

bool dp_gui::UpdateInstallDialog::Thread::m_stop

Definition at line 91 of file dp_gui_updateinstalldialog.cxx.

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

Definition at line 86 of file dp_gui_updateinstalldialog.cxx.

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

Definition at line 84 of file dp_gui_updateinstalldialog.cxx.

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