23#include <com/sun/star/task/XInteractionHandler.hpp>
24#include <com/sun/star/task/XInteractionRequest.hpp>
25#include <com/sun/star/ucb/XProgressHandler.hpp>
26#include <com/sun/star/ucb/XCommandEnvironment.hpp>
36 :
public ::cppu::WeakImplHelper< css::ucb::XCommandEnvironment,
37 css::task::XInteractionHandler,
38 css::ucb::XProgressHandler >
43 css::uno::Reference< css::task::XInteractionRequest>
const & xRequest );
48 css::uno::Reference< css::task::XInteractionHandler>
const & handler);
51 virtual css::uno::Reference<css::task::XInteractionHandler > SAL_CALL
53 virtual css::uno::Reference<css::ucb::XProgressHandler >
57 virtual void SAL_CALL
handle(
58 css::uno::Reference<css::task::XInteractionRequest >
const & xRequest )
override;
61 virtual void SAL_CALL
push( css::uno::Any
const &
Status )
override;
62 virtual void SAL_CALL
update( css::uno::Any
const &
Status )
override;
63 virtual void SAL_CALL
pop()
override;
74 css::uno::Reference<css::task::XInteractionRequest >
const & xRequest )
override;
89 css::uno::Reference< css::task::XInteractionHandler>
const & handler,
90 bool bSuppressLicense,
94 virtual void SAL_CALL
handle(
95 css::uno::Reference<css::task::XInteractionRequest >
const & xRequest )
override;
107 explicit NoLicenseCommandEnv(css::uno::Reference< css::task::XInteractionHandler>
const & handler);
110 virtual void SAL_CALL
handle(
111 css::uno::Reference<css::task::XInteractionRequest >
const & xRequest )
override;
128 virtual void SAL_CALL
handle(
129 css::uno::Reference<css::task::XInteractionRequest >
const & xRequest )
override;
This command environment is to be used when an extension is temporarily stored in the "tmp" repositor...
void handle_(bool approve, css::uno::Reference< css::task::XInteractionRequest > const &xRequest)
virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler() override
css::uno::Reference< css::task::XInteractionHandler > m_forwardHandler
virtual ~BaseCommandEnv() override
virtual void SAL_CALL pop() override
virtual void SAL_CALL push(css::uno::Any const &Status) override
virtual css::uno::Reference< css::ucb::XProgressHandler > SAL_CALL getProgressHandler() override
BaseCommandEnv(css::uno::Reference< css::task::XInteractionHandler > const &handler)
virtual void SAL_CALL update(css::uno::Any const &Status) override
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
this class is for use in XPackageManager::synchronize.
LicenseCommandEnv(css::uno::Reference< css::task::XInteractionHandler > const &handler, bool bSuppressLicense, OUString repository)
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
this class is for use in XPackageManager::checkPrerequisites
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
NoLicenseCommandEnv(css::uno::Reference< css::task::XInteractionHandler > const &handler)
SilentCheckPrerequisitesCommandEnv()
css::uno::Any m_UnknownException
css::uno::Any m_Exception
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
TmpRepositoryCommandEnv()