LibreOffice Module desktop (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions
dp_update.hxx File Reference
#include <com/sun/star/deployment/XPackage.hpp>
#include <com/sun/star/deployment/XExtensionManager.hpp>
#include <com/sun/star/deployment/XUpdateInformationProvider.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/dom/XNode.hpp>
#include "dp_misc_api.hxx"
#include <map>
#include <vector>
Include dependency graph for dp_update.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dp_misc::UpdateInfo
 

Namespaces

namespace  dp_misc
 

Typedefs

typedef std::map< OUString, UpdateInfodp_misc::UpdateInfoMap
 

Enumerations

enum  dp_misc::UPDATE_SOURCE {
  dp_misc::UPDATE_SOURCE_NONE ,
  dp_misc::UPDATE_SOURCE_SHARED ,
  dp_misc::UPDATE_SOURCE_BUNDLED ,
  dp_misc::UPDATE_SOURCE_ONLINE
}
 

Functions

DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString dp_misc::getExtensionDefaultUpdateURL ()
 returns the default update URL (for the update information) which is used when an extension does not provide its own URL. More...
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UPDATE_SOURCE dp_misc::isUpdateUserExtension (bool bReadOnlyShared, OUString const &userVersion, OUString const &sharedVersion, OUString const &bundledVersion, std::u16string_view onlineVersion)
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UPDATE_SOURCE dp_misc::isUpdateSharedExtension (bool bReadOnlyShared, OUString const &sharedVersion, OUString const &bundledVersion, std::u16string_view onlineVersion)
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Reference< css::deployment::XPackage > dp_misc::getExtensionWithHighestVersion (css::uno::Sequence< css::uno::Reference< css::deployment::XPackage > > const &seqExtensionsWithSameId)
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC UpdateInfoMap dp_misc::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)
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString dp_misc::getHighestVersion (OUString const &sharedVersion, OUString const &bundledVersion, OUString const &onlineVersion)