summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/manager/dp_commandenvironments.hxx
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2010-10-07 17:20:55 +0200
committerJoachim Lingner <jl@openoffice.org>2010-10-07 17:20:55 +0200
commit8c1f6c9b46671bc9d3a7dc16d1343cd12a9d0411 (patch)
treee680b86b9964e47f2b3377af7e7c52f98dbe8a86 /desktop/source/deployment/manager/dp_commandenvironments.hxx
parent8281fcfc6399d8f9d77bf848fc2ed2bf44321d24 (diff)
jl161 #i114933# solve deadlock problem when adding an extension
Diffstat (limited to 'desktop/source/deployment/manager/dp_commandenvironments.hxx')
-rw-r--r--desktop/source/deployment/manager/dp_commandenvironments.hxx23
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;