summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/inc/dp_dependencies.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/inc/dp_dependencies.hxx')
-rw-r--r--desktop/source/deployment/inc/dp_dependencies.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/source/deployment/inc/dp_dependencies.hxx b/desktop/source/deployment/inc/dp_dependencies.hxx
index a602bb2e9c..a516099268 100644
--- a/desktop/source/deployment/inc/dp_dependencies.hxx
+++ b/desktop/source/deployment/inc/dp_dependencies.hxx
@@ -78,6 +78,20 @@ namespace Dependencies {
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC ::rtl::OUString name(
::com::sun::star::uno::Reference<
::com::sun::star::xml::dom::XElement > const & dependency);
+
+ /**
+ Obtain the (human-readable) error message of a failed dependency.
+
+ @param dependency
+ a dependency represented as a non-null XML element
+
+ @return
+ the name of the dependency; will never be empty, as a localized
+ &ldquo;unknown&rdquo; is substituted for an empty/missing name
+ */
+ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC ::rtl::OUString getErrorText(
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::dom::XElement > const & dependency);
}
}