LibreOffice Module ucbhelper (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ucbhelper::CommandEnvironment Class Referencefinal

This class implements the interface css::ucb::XCommandEnvironment. More...

#include <commandenvironment.hxx>

Inheritance diagram for ucbhelper::CommandEnvironment:
[legend]
Collaboration diagram for ucbhelper::CommandEnvironment:
[legend]

Public Member Functions

 CommandEnvironment (const css::uno::Reference< css::task::XInteractionHandler > &rxInteractionHandler, const css::uno::Reference< css::ucb::XProgressHandler > &rxProgressHandler)
 Constructor. More...
 
virtual ~CommandEnvironment () override
 Destructor. More...
 
virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler () override
 
virtual css::uno::Reference< css::ucb::XProgressHandler > SAL_CALL getProgressHandler () override
 

Private Member Functions

 CommandEnvironment (const CommandEnvironment &)=delete
 
CommandEnvironmentoperator= (const CommandEnvironment &)=delete
 

Private Attributes

std::unique_ptr< CommandEnvironment_Implm_pImpl
 

Detailed Description

This class implements the interface css::ucb::XCommandEnvironment.

Instances of this class can be used to supply environments to commands executed by UCB contents.

Definition at line 40 of file commandenvironment.hxx.

Constructor & Destructor Documentation

ucbhelper::CommandEnvironment::CommandEnvironment ( const CommandEnvironment )
privatedelete
ucbhelper::CommandEnvironment::CommandEnvironment ( const css::uno::Reference< css::task::XInteractionHandler > &  rxInteractionHandler,
const css::uno::Reference< css::ucb::XProgressHandler > &  rxProgressHandler 
)

Constructor.

Parameters
rxInteractionHandleris the implementation of an Interaction Handler or an empty reference.
rxProgressHandleris the implementation of a Progress Handler or an empty reference.
ucbhelper::CommandEnvironment::~CommandEnvironment ( )
overridevirtual

Destructor.

Definition at line 64 of file commandenvironment.cxx.

Member Function Documentation

Reference< XInteractionHandler > SAL_CALL ucbhelper::CommandEnvironment::getInteractionHandler ( )
overridevirtual

Definition at line 71 of file commandenvironment.cxx.

References m_pImpl.

Reference< XProgressHandler > SAL_CALL ucbhelper::CommandEnvironment::getProgressHandler ( )
overridevirtual

Definition at line 77 of file commandenvironment.cxx.

References m_pImpl.

CommandEnvironment& ucbhelper::CommandEnvironment::operator= ( const CommandEnvironment )
privatedelete

Member Data Documentation

std::unique_ptr<CommandEnvironment_Impl> ucbhelper::CommandEnvironment::m_pImpl
private

Definition at line 42 of file commandenvironment.hxx.

Referenced by getInteractionHandler(), and getProgressHandler().


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