diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-10-21 15:10:42 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-10-21 15:10:42 +0200 |
commit | da622616ce54d5c5b4e2e299fbf0a8ae527fd413 (patch) | |
tree | 64059ae3c48381c99483927e4809ea11d7a37036 /desktop/source/deployment/manager/dp_commandenvironments.hxx | |
parent | 30316be0535df018c5b333979153b0339ab82de9 (diff) | |
parent | 8d22455d3e7c7e8e25bcb8724754fc764f0e713c (diff) |
CWS changehid: resync to m90
Notes
Notes:
split repo tag: libs-core_ooo/DEV300_m91
Diffstat (limited to 'desktop/source/deployment/manager/dp_commandenvironments.hxx')
-rw-r--r-- | desktop/source/deployment/manager/dp_commandenvironments.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/desktop/source/deployment/manager/dp_commandenvironments.hxx b/desktop/source/deployment/manager/dp_commandenvironments.hxx index aa21f8281c72..bea11586d462 100644 --- a/desktop/source/deployment/manager/dp_commandenvironments.hxx +++ b/desktop/source/deployment/manager/dp_commandenvironments.hxx @@ -135,6 +135,29 @@ public: }; +/* For use in XExtensionManager::addExtension in the call to + XPackage::checkPrerequisites + It prevents all user interactions. The license is always accepted. + It remembers if there was a platform or a dependency exception in + the member m_bException. if there was any other exception then m_bUnknownException + is set. + + */ +class SilentCheckPrerequisitesCommandEnv : public BaseCommandEnv +{ +public: + SilentCheckPrerequisitesCommandEnv(); + // XInteractionHandler + virtual void SAL_CALL handle( + css::uno::Reference<css::task::XInteractionRequest > const & xRequest ) + throw (css::uno::RuntimeException); + + // Set to true if a PlatformException or a DependencyException were handled. + css::uno::Any m_Exception; + // Set to true if an unknown exception was handled. + css::uno::Any m_UnknownException; +}; + // class NoExceptionCommandEnv : public BaseCommandEnv // { // css::uno::Type m_type; |