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 (css::uno::Reference< css::uno::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
 
css::uno::Reference< css::task::XAbortChannel > m_abort
 
css::uno::Reference< css::uno::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 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 63 of file dp_gui_updateinstalldialog.cxx.

Constructor & Destructor Documentation

◆ Thread()

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

Definition at line 126 of file dp_gui_updateinstalldialog.cxx.

◆ ~Thread()

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

Reimplemented from salhelper::Thread.

Definition at line 150 of file dp_gui_updateinstalldialog.cxx.

Member Function Documentation

◆ download()

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

◆ downloadExtensions()

void dp_gui::UpdateInstallDialog::Thread::downloadExtensions ( )
private

◆ execute()

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

Implements salhelper::Thread.

Definition at line 152 of file dp_gui_updateinstalldialog.cxx.

◆ installExtensions()

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

◆ removeTempDownloads()

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

Definition at line 522 of file dp_gui_updateinstalldialog.cxx.

References dp_misc::erase_path().

◆ stop()

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

Definition at line 138 of file dp_gui_updateinstalldialog.cxx.

Friends And Related Function Documentation

◆ UpdateCommandEnv

friend class UpdateCommandEnv
friend

Definition at line 64 of file dp_gui_updateinstalldialog.cxx.

Member Data Documentation

◆ m_abort

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

Definition at line 83 of file dp_gui_updateinstalldialog.cxx.

◆ m_aVecUpdateData

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

Definition at line 85 of file dp_gui_updateinstalldialog.cxx.

◆ m_dialog

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

Definition at line 80 of file dp_gui_updateinstalldialog.cxx.

◆ m_sDownloadFolder

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

Definition at line 89 of file dp_gui_updateinstalldialog.cxx.

◆ m_stop

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

Definition at line 91 of file dp_gui_updateinstalldialog.cxx.

◆ m_updateCmdEnv

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

Definition at line 86 of file dp_gui_updateinstalldialog.cxx.

◆ m_xComponentContext

css::uno::Reference< css::uno::XComponentContext > dp_gui::UpdateInstallDialog::Thread::m_xComponentContext
private

Definition at line 84 of file dp_gui_updateinstalldialog.cxx.


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