23#include <com/sun/star/deployment/XPackage.hpp>
24#include <com/sun/star/deployment/XExtensionManager.hpp>
25#include <com/sun/star/deployment/XUpdateInformationProvider.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
27#include <com/sun/star/xml/dom/XNode.hpp>
60 OUString
const & userVersion,
61 OUString
const & sharedVersion,
62 OUString
const & bundledVersion,
63 std::u16string_view onlineVersion);
75 OUString
const & sharedVersion,
76 OUString
const & bundledVersion,
77 std::u16string_view onlineVersion);
83css::uno::Reference< css::deployment::XPackage>
87 css::deployment::XPackage> >
const & seqExtensionsWithSameId);
92 UpdateInfo( css::uno::Reference< css::deployment::XPackage>
const & ext);
94 css::uno::Reference< css::deployment::XPackage>
extension;
97 css::uno::Reference< css::xml::dom::XNode >
info;
119 css::uno::Reference< css::uno::XComponentContext>
const &
xContext,
120 css::uno::Reference< css::deployment::XExtensionManager>
const & xExtMgr,
121 css::uno::Reference< css::deployment::XUpdateInformationProvider >
const & updateInformation,
122 std::vector< css::uno::Reference< css::deployment::XPackage > >
const * extensionList,
123 std::vector< std::pair< css::uno::Reference<
124 css::deployment::XPackage>, css::uno::Any> > & out_errors);
130 OUString
const & sharedVersion,
131 OUString
const & bundledVersion,
132 OUString
const & onlineVersion);
#define DESKTOP_DEPLOYMENTMISC_DLLPUBLIC
static uno::Reference< css::uno::XComponentContext > xContext
std::map< OUString, UpdateInfo > UpdateInfoMap
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString getExtensionDefaultUpdateURL()
returns the default update URL (for the update information) which is used when an extension does not ...
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString getHighestVersion(OUString const &sharedVersion, OUString const &bundledVersion, OUString const &onlineVersion)
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UPDATE_SOURCE isUpdateUserExtension(bool bReadOnlyShared, OUString const &userVersion, OUString const &sharedVersion, OUString const &bundledVersion, std::u16string_view onlineVersion)
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UPDATE_SOURCE isUpdateSharedExtension(bool bReadOnlyShared, OUString const &sharedVersion, OUString const &bundledVersion, std::u16string_view onlineVersion)
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Reference< css::deployment::XPackage > getExtensionWithHighestVersion(css::uno::Sequence< css::uno::Reference< css::deployment::XPackage > > const &seqExtensionsWithSameId)
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UpdateInfoMap getOnlineUpdateInfos(css::uno::Reference< css::uno::XComponentContext > const &xContext, css::uno::Reference< css::deployment::XExtensionManager > const &xExtMgr, css::uno::Reference< css::deployment::XUpdateInformationProvider > const &updateInformation, std::vector< css::uno::Reference< css::deployment::XPackage > > const *extensionList, std::vector< std::pair< css::uno::Reference< css::deployment::XPackage >, css::uno::Any > > &out_errors)
css::uno::Reference< css::xml::dom::XNode > info
UpdateInfo(css::uno::Reference< css::deployment::XPackage > const &ext)
css::uno::Reference< css::deployment::XPackage > extension