summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
diff options
context:
space:
mode:
authorUwe Fischer <ufi@openoffice.org>2010-04-23 10:48:45 +0200
committerUwe Fischer <ufi@openoffice.org>2010-04-23 10:48:45 +0200
commit7061ee1d7e8d196950fa5a82b9000dc4eaac000e (patch)
treec7e238b94fb3beca82ad7d19818dd0f3941a356e /desktop/source/deployment/inc/dp_descriptioninfoset.hxx
parent6ed48a59cf65d12799e5db469447487a35f78489 (diff)
parenteeaf2f34f56d815040b0e80b5e3abd6b08400bdc (diff)
hcshared25: merge with DEV300_m77
Diffstat (limited to 'desktop/source/deployment/inc/dp_descriptioninfoset.hxx')
-rw-r--r--desktop/source/deployment/inc/dp_descriptioninfoset.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
index cd964761da..80c46df937 100644
--- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
+++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
@@ -53,6 +53,15 @@ namespace rtl { class OUString; }
namespace dp_misc {
+struct DESKTOP_DEPLOYMENTMISC_DLLPUBLIC SimpleLicenseAttributes
+{
+ ::rtl::OUString acceptBy;
+ //Attribute suppress-on-update. Default is false.
+ bool suppressOnUpdate;
+ //Attribute suppress-if-required. Default is false.
+ bool suppressIfRequired;
+};
+
/**
Access to the content of an XML <code>description</code> element.
@@ -132,6 +141,13 @@ public:
*/
::rtl::OUString getLocalizedLicenseURL() const;
+ /** returns the attributes of the simple-license element
+
+ As long as there is a simple-license element, the function will return
+ the structure. If it does not exist, then the optional object is uninitialized.
+ */
+ ::boost::optional<SimpleLicenseAttributes> getSimpleLicenseAttributes() const;
+
/** returns the localized display name of the extensions.
In case there is no localized display-name then an empty string is returned.