|
LibreOffice Module extensions (master) 1
|
#include <config_folders.h>#include <com/sun/star/xml/xpath/XPathAPI.hpp>#include <com/sun/star/xml/xpath/XPathException.hpp>#include "updateprotocol.hxx"#include "updatecheckconfig.hxx"#include <com/sun/star/deployment/UpdateInformationEntry.hpp>#include <com/sun/star/deployment/XPackageInformationProvider.hpp>#include <rtl/ref.hxx>#include <rtl/bootstrap.hxx>#include <osl/diagnose.h>Go to the source code of this file.
Functions | |
| static bool | getBootstrapData (uno::Sequence< OUString > &rRepositoryList, OUString &rGitID, OUString &rInstallSetID) |
| bool | checkForUpdates (UpdateInfo &o_rUpdateInfo, uno::Reference< uno::XComponentContext > const &rxContext, uno::Reference< task::XInteractionHandler > const &rxInteractionHandler, const uno::Reference< deployment::XUpdateInformationProvider > &rUpdateInfoProvider) |
| bool | checkForUpdates (UpdateInfo &o_rUpdateInfo, const uno::Reference< uno::XComponentContext > &rxContext, const uno::Reference< task::XInteractionHandler > &rxInteractionHandler, const uno::Reference< deployment::XUpdateInformationProvider > &rUpdateInfoProvider, std::u16string_view rOS, std::u16string_view rArch, const uno::Sequence< OUString > &rRepositoryList, std::u16string_view rGitID, const OUString &rInstallSetID) |
| bool | storeExtensionUpdateInfos (const uno::Reference< uno::XComponentContext > &rxContext, const uno::Sequence< uno::Sequence< OUString > > &rUpdateInfos) |
| bool | checkForExtensionUpdates (const uno::Reference< uno::XComponentContext > &rxContext) |
| bool | checkForPendingUpdates (const uno::Reference< uno::XComponentContext > &rxContext) |
| bool checkForExtensionUpdates | ( | const uno::Reference< uno::XComponentContext > & | rxContext | ) |
Definition at line 255 of file updateprotocol.cxx.
References storeExtensionUpdateInfos().
| bool checkForPendingUpdates | ( | const uno::Reference< uno::XComponentContext > & | rxContext | ) |
Definition at line 282 of file updateprotocol.cxx.
References UpdateCheckConfig::get(), and i.
Referenced by UpdateCheck::initialize().
| bool checkForUpdates | ( | UpdateInfo & | o_rUpdateInfo, |
| const uno::Reference< uno::XComponentContext > & | rxContext, | ||
| const uno::Reference< task::XInteractionHandler > & | rxInteractionHandler, | ||
| const uno::Reference< deployment::XUpdateInformationProvider > & | rUpdateInfoProvider, | ||
| std::u16string_view | rOS, | ||
| std::u16string_view | rArch, | ||
| const uno::Sequence< OUString > & | rRepositoryList, | ||
| std::u16string_view | rGitID, | ||
| const OUString & | rInstallSetID | ||
| ) |
Definition at line 98 of file updateprotocol.cxx.
References UpdateInfo::BuildId, UpdateInfo::Description, i, pos, ReleaseNote::Pos2, UpdateInfo::ReleaseNotes, UpdateInfo::Sources, ReleaseNote::URL2, and UpdateInfo::Version.
| bool checkForUpdates | ( | UpdateInfo & | o_rUpdateInfo, |
| uno::Reference< uno::XComponentContext > const & | rxContext, | ||
| uno::Reference< task::XInteractionHandler > const & | rxInteractionHandler, | ||
| const uno::Reference< deployment::XUpdateInformationProvider > & | rUpdateInfoProvider | ||
| ) |
Definition at line 73 of file updateprotocol.cxx.
References checkForUpdates(), and getBootstrapData().
Referenced by checkForUpdates(), and SAL_IMPLEMENT_MAIN().
|
static |
Definition at line 44 of file updateprotocol.cxx.
References SAL_CONFIGFILE.
Referenced by checkForUpdates().
| bool storeExtensionUpdateInfos | ( | const uno::Reference< uno::XComponentContext > & | rxContext, |
| const uno::Sequence< uno::Sequence< OUString > > & | rUpdateInfos | ||
| ) |
Definition at line 235 of file updateprotocol.cxx.
References UpdateCheckConfig::get(), and i.
Referenced by checkForExtensionUpdates().