LibreOffice Module desktop (master)  1
dp_misc::Dependencies Namespace Reference

Dependency handling. More...


DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Sequence< css::uno::Reference< css::xml::dom::XElement > > check (dp_misc::DescriptionInfoset const &infoset)
 Check for unsatisfied dependencies. More...
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString getErrorText (css::uno::Reference< css::xml::dom::XElement > const &dependency)
 Obtain the (human-readable) error message of a failed dependency. More...

Detailed Description

Dependency handling.

Function Documentation

css::uno::Sequence< css::uno::Reference< css::xml::dom::XElement > > dp_misc::Dependencies::check ( dp_misc::DescriptionInfoset const &  infoset)

Check for unsatisfied dependencies.

infosetthe infoset containing the dependencies to check
a list of the unsatisfied dependencies from infoset (in no specific order)

Definition at line 101 of file dp_dependencies.cxx.

References dp_misc::DescriptionInfoset::getDependencies(), i, and n.

Referenced by dp_gui::UpdateDialog::Thread::prepareUpdateData().

OUString dp_misc::Dependencies::getErrorText ( css::uno::Reference< css::xml::dom::XElement > const &  dependency)

Obtain the (human-readable) error message of a failed dependency.

dependencya dependency represented as a non-null XML element
the name of the dependency; will never be empty, as a localized “unknown” is substituted for an empty/missing name

Definition at line 157 of file dp_dependencies.cxx.

References DpResId().

Referenced by dp_gui::Entry_Impl::checkDependencies(), and dp_gui::UpdateDialog::Thread::prepareUpdateData().