LibreOffice Module desktop (master) 1
|
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 |
UpdateDialog & | m_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 |
Definition at line 145 of file dp_gui_updatedialog.cxx.
dp_gui::UpdateDialog::Thread::Thread | ( | uno::Reference< uno::XComponentContext > const & | context, |
UpdateDialog & | dialog, | ||
std::vector< uno::Reference< deployment::XPackage > > && | vExtensionList | ||
) |
|
overrideprivatevirtual |
Reimplemented from salhelper::Thread.
Definition at line 213 of file dp_gui_updatedialog.cxx.
|
overrideprivatevirtual |
Implements salhelper::Thread.
Definition at line 219 of file dp_gui_updatedialog.cxx.
References dp_gui::UpdateData::aUpdateSource, dp_gui::UpdateData::bIsShared, dp_misc::UpdateInfo::extension, dp_misc::getIdentifier(), dp_misc::getOnlineUpdateInfos(), dp_misc::UpdateInfo::info, dp_misc::isUpdateSharedExtension(), dp_misc::isUpdateUserExtension(), m_vExtensionList, update(), dp_misc::UPDATE_SOURCE_BUNDLED, dp_misc::UPDATE_SOURCE_NONE, dp_misc::UPDATE_SOURCE_SHARED, dp_gui::UpdateData::updateVersion, and dp_misc::UpdateInfo::version.
|
private |
Definition at line 334 of file dp_gui_updatedialog.cxx.
References dp_gui::UpdateData::aInstalledPackage, dp_gui::UpdateData::sWebsiteURL, and dp_gui::UpdateData::updateVersion.
|
private |
Definition at line 317 of file dp_gui_updatedialog.cxx.
References dp_gui::UpdateDialog::SpecificError::message, and dp_gui::UpdateDialog::SpecificError::name.
|
private |
out_data will only be filled if all dependencies are ok.
Definition at line 365 of file dp_gui_updatedialog.cxx.
References dp_gui::UpdateData::aUpdateInfo, dp_gui::UpdateDialog::DisabledUpdate::aUpdateInfo, dp_misc::Dependencies::check(), dp_misc::Dependencies::getErrorText(), dp_misc::DescriptionInfoset::getLocalizedUpdateWebsiteURL(), dp_misc::DescriptionInfoset::getVersion(), i, dp_gui::UpdateDialog::DisabledUpdate::name, dp_gui::UpdateData::sWebsiteURL, dp_gui::UpdateDialog::DisabledUpdate::unsatisfiedDependencies, and dp_gui::UpdateData::updateVersion.
void dp_gui::UpdateDialog::Thread::stop | ( | ) |
Definition at line 205 of file dp_gui_updatedialog.cxx.
|
private |
Definition at line 397 of file dp_gui_updatedialog.cxx.
References dp_gui::UpdateDialog::DisabledUpdate::unsatisfiedDependencies.
|
private |
Definition at line 175 of file dp_gui_updatedialog.cxx.
Referenced by dp_gui::UpdateDialog::Thread::Thread().
|
private |
Definition at line 176 of file dp_gui_updatedialog.cxx.
|
private |
Definition at line 182 of file dp_gui_updatedialog.cxx.
|
private |
Definition at line 178 of file dp_gui_updatedialog.cxx.
Referenced by dp_gui::UpdateDialog::Thread::Thread().
|
private |
Definition at line 177 of file dp_gui_updatedialog.cxx.
|
private |
Definition at line 179 of file dp_gui_updatedialog.cxx.
Referenced by dp_gui::UpdateDialog::Thread::Thread().