20#ifndef INCLUDED_COMPHELPER_INTERACTION_HXX
21#define INCLUDED_COMPHELPER_INTERACTION_HXX
24#include <com/sun/star/task/XInteractionApprove.hpp>
25#include <com/sun/star/task/XInteractionDisapprove.hpp>
26#include <com/sun/star/task/XInteractionAbort.hpp>
27#include <com/sun/star/task/XInteractionRetry.hpp>
28#include <com/sun/star/task/XInteractionRequest.hpp>
42 template <
class INTERACTION>
44 :
public ::cppu::WeakImplHelper< INTERACTION >
53 virtual void SAL_CALL
select()
override;
59 template <
class INTERACTION>
88 typedef ::cppu::WeakImplHelper < css::task::XInteractionRequest
97 std::vector< css::uno::Reference< css::task::XInteractionContinuation > >
103 std::vector<css::uno::Reference<css::task::XInteractionContinuation>>&& rContinuations);
106 void addContinuation(
const css::uno::Reference< css::task::XInteractionContinuation >& _rxContinuation);
109 virtual css::uno::Any SAL_CALL getRequest( )
override;
110 virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL
getContinuations( )
override;
implements an interaction request (com.sun.star.task::XInteractionRequest)at run time,...
std::vector< css::uno::Reference< css::task::XInteractionContinuation > > m_aContinuations
the request we represent
css::uno::Any const m_aRequest
OInteractionRequest(css::uno::Any aRequestDescription, std::vector< css::uno::Reference< css::task::XInteractionContinuation > > &&rContinuations)
OInteractionRequest(css::uno::Any aRequestDescription)
all registered continuations
template for instantiating concrete interaction handlersthe template argument must be an interface de...
bool wasSelected() const
determines whether or not this handler was selected
virtual void SAL_CALL select() override
#define COMPHELPER_DLLPUBLIC
void getContinuations(css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > const &rContinuations, css::uno::Reference< t1 > *pContinuation1, css::uno::Reference< t2 > *pContinuation2)
OInteraction< css::task::XInteractionDisapprove > OInteractionDisapprove
::cppu::WeakImplHelper< css::task::XInteractionRequest > OInteractionRequest_Base
OInteraction< css::task::XInteractionRetry > OInteractionRetry
OInteraction< css::task::XInteractionApprove > OInteractionApprove
OInteraction< css::task::XInteractionAbort > OInteractionAbort