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

#include <oxt_handler.hxx>

Inheritance diagram for framework::Oxt_Handler:
[legend]
Collaboration diagram for framework::Oxt_Handler:
[legend]

Public Member Functions

 Oxt_Handler (css::uno::Reference< css::uno::XComponentContext >)
 
virtual ~Oxt_Handler () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispatchWithNotification (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments, const css::uno::Reference< css::frame::XDispatchResultListener > &xListener) override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &, const css::util::URL &) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &, const css::util::URL &) override
 
virtual OUString SAL_CALL detect (css::uno::Sequence< css::beans::PropertyValue > &lDescriptor) override
 

Private Attributes

std::mutex m_mutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 46 of file oxt_handler.hxx.

Constructor & Destructor Documentation

◆ Oxt_Handler()

framework::Oxt_Handler::Oxt_Handler ( css::uno::Reference< css::uno::XComponentContext >  xContext)

Definition at line 59 of file oxt_handler.cxx.

◆ ~Oxt_Handler()

framework::Oxt_Handler::~Oxt_Handler ( )
overridevirtual

Definition at line 67 of file oxt_handler.cxx.

Member Function Documentation

◆ addStatusListener()

virtual void SAL_CALL framework::Oxt_Handler::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  ,
const css::util::URL &   
)
inlineoverridevirtual

Definition at line 73 of file oxt_handler.hxx.

◆ detect()

OUString SAL_CALL framework::Oxt_Handler::detect ( css::uno::Sequence< css::beans::PropertyValue > &  lDescriptor)
overridevirtual

◆ dispatch()

void SAL_CALL framework::Oxt_Handler::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  lArguments 
)
overridevirtual

Definition at line 112 of file oxt_handler.cxx.

References aURL, and dispatchWithNotification().

◆ dispatchWithNotification()

void SAL_CALL framework::Oxt_Handler::dispatchWithNotification ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  lArguments,
const css::uno::Reference< css::frame::XDispatchResultListener > &  xListener 
)
overridevirtual

Definition at line 91 of file oxt_handler.cxx.

References aEvent, aURL, m_mutex, and m_xContext.

Referenced by dispatch().

◆ getImplementationName()

OUString SAL_CALL framework::Oxt_Handler::getImplementationName ( )
overridevirtual

Definition at line 33 of file oxt_handler.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL framework::Oxt_Handler::getSupportedServiceNames ( )
overridevirtual

Definition at line 43 of file oxt_handler.cxx.

◆ removeStatusListener()

virtual void SAL_CALL framework::Oxt_Handler::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  ,
const css::util::URL &   
)
inlineoverridevirtual

Definition at line 75 of file oxt_handler.hxx.

◆ supportsService()

sal_Bool SAL_CALL framework::Oxt_Handler::supportsService ( const OUString &  sServiceName)
overridevirtual

Definition at line 38 of file oxt_handler.cxx.

References sServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_mutex

std::mutex framework::Oxt_Handler::m_mutex
private

Definition at line 82 of file oxt_handler.hxx.

Referenced by dispatchWithNotification().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::Oxt_Handler::m_xContext
private

Definition at line 84 of file oxt_handler.hxx.

Referenced by dispatchWithNotification().


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