LibreOffice Module test (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TestInteractionHandler Class Reference

#include <testinteractionhandler.hxx>

Inheritance diagram for TestInteractionHandler:
[legend]
Collaboration diagram for TestInteractionHandler:
[legend]

Public Member Functions

 TestInteractionHandler (const OUString &sPassword)
 
bool wasPasswordRequested ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (OUString const &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (css::uno::Sequence< css::uno::Any > const &) override
 
virtual void SAL_CALL handle (css::uno::Reference< css::task::XInteractionRequest > const &rRequest) override
 
virtual sal_Bool SAL_CALL handleInteractionRequest (const css::uno::Reference< css::task::XInteractionRequest > &rRequest) override
 
bool handlePasswordRequest (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &rContinuations, const css::uno::Any &rRequest)
 

Private Member Functions

 TestInteractionHandler (const TestInteractionHandler &)=delete
 
TestInteractionHandleroperator= (const TestInteractionHandler &)=delete
 

Private Attributes

OUString msPassword
 
bool mbPasswordRequested
 

Detailed Description

Definition at line 27 of file testinteractionhandler.hxx.

Constructor & Destructor Documentation

◆ TestInteractionHandler() [1/2]

TestInteractionHandler::TestInteractionHandler ( const TestInteractionHandler )
privatedelete

◆ TestInteractionHandler() [2/2]

TestInteractionHandler::TestInteractionHandler ( const OUString &  sPassword)
inline

Definition at line 38 of file testinteractionhandler.hxx.

Member Function Documentation

◆ getImplementationName()

virtual OUString SAL_CALL TestInteractionHandler::getImplementationName ( )
inlineoverridevirtual

Definition at line 48 of file testinteractionhandler.hxx.

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL TestInteractionHandler::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 58 of file testinteractionhandler.hxx.

◆ handle()

virtual void SAL_CALL TestInteractionHandler::handle ( css::uno::Reference< css::task::XInteractionRequest > const &  rRequest)
inlineoverridevirtual

Definition at line 70 of file testinteractionhandler.hxx.

References handleInteractionRequest().

◆ handleInteractionRequest()

virtual sal_Bool SAL_CALL TestInteractionHandler::handleInteractionRequest ( const css::uno::Reference< css::task::XInteractionRequest > &  rRequest)
inlineoverridevirtual

Definition at line 75 of file testinteractionhandler.hxx.

References handlePasswordRequest(), and mbPasswordRequested.

Referenced by handle().

◆ handlePasswordRequest()

bool TestInteractionHandler::handlePasswordRequest ( const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &  rContinuations,
const css::uno::Any &  rRequest 
)
inline

Definition at line 95 of file testinteractionhandler.hxx.

References mbPasswordRequested, mode, and msPassword.

Referenced by handleInteractionRequest().

◆ initialize()

virtual void SAL_CALL TestInteractionHandler::initialize ( css::uno::Sequence< css::uno::Any > const &  )
inlineoverridevirtual

Definition at line 67 of file testinteractionhandler.hxx.

◆ operator=()

TestInteractionHandler & TestInteractionHandler::operator= ( const TestInteractionHandler )
privatedelete

◆ supportsService()

virtual sal_Bool SAL_CALL TestInteractionHandler::supportsService ( OUString const &  rServiceName)
inlineoverridevirtual

Definition at line 53 of file testinteractionhandler.hxx.

References cppu::supportsService().

◆ wasPasswordRequested()

bool TestInteractionHandler::wasPasswordRequested ( )
inline

Definition at line 43 of file testinteractionhandler.hxx.

References mbPasswordRequested.

Member Data Documentation

◆ mbPasswordRequested

bool TestInteractionHandler::mbPasswordRequested
private

◆ msPassword

OUString TestInteractionHandler::msPassword
private

Definition at line 31 of file testinteractionhandler.hxx.

Referenced by handlePasswordRequest().


The documentation for this class was generated from the following file: