20#ifndef INCLUDED_COMPHELPER_STILLREADWRITEINTERACTION_HXX
21#define INCLUDED_COMPHELPER_STILLREADWRITEINTERACTION_HXX
23#include <config_options.h>
38 static const sal_Int32 HANDLE_AUTHENTICATIONREQUESTEXCEPTION = 2;
39 static const sal_Int32 HANDLE_CERTIFICATEVALIDATIONREQUESTEXCEPTION = 3;
42 bool m_bHandledByMySelf;
45 StillReadWriteInteraction(
const css::uno::Reference< css::task::XInteractionHandler >& xHandler,
46 css::uno::Reference< css::task::XInteractionHandler > xAuxiliaryHandler);
48 void resetInterceptions();
49 void resetErrorStates();
50 bool wasWriteError()
const {
return (m_bUsed && m_bHandledByMySelf);}
53 css::uno::Reference< css::task::XInteractionHandler > m_xAuxiliaryHandler;
56 const css::uno::Reference< css::task::XInteractionRequest >& xRequest)
override;
const sal_Int32 HANDLE_INTERACTIVEIOEXCEPTION
Will handle com::sun::star::ucb::InteractiveIOException and derived classes.
const sal_Int32 HANDLE_UNSUPPORTEDDATASINKEXCEPTION
Will handle com::sun::star::ucb::UnsupportedDataSinkException.