27#include <com/sun/star/uno/Reference.hxx>
51 ::std::optional< OUString >
const & optional,
52 std::u16string_view fileName);
67 css::uno::Reference< css::deployment::XPackage >
80 std::u16string_view fileName);
#define DESKTOP_DEPLOYMENTMISC_DLLPUBLIC
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString generateIdentifier(::std::optional< OUString > const &optional, std::u16string_view fileName)
Generates an identifier from an optional identifier.
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString generateLegacyIdentifier(std::u16string_view fileName)
Generates a legacy identifier based on a file name.
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString getIdentifier(css::uno::Reference< css::deployment::XPackage > const &package)
Gets the identifier of a package.