LibreOffice Module dtrans (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dtrans::ClipboardManager Class Reference

#include <clipboardmanager.hxx>

Inheritance diagram for dtrans::ClipboardManager:
[legend]
Collaboration diagram for dtrans::ClipboardManager:
[legend]

Public Member Functions

 ClipboardManager ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL getClipboard (const OUString &aName) override
 
virtual void SAL_CALL addClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard) override
 
virtual void SAL_CALL removeClipboard (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL listClipboardNames () override
 

Private Member Functions

virtual ~ClipboardManager () override
 

Private Attributes

ClipboardMap m_aClipboardMap
 
::osl::Mutex m_aMutex
 
const OUString m_aDefaultName
 

Detailed Description

Definition at line 38 of file clipboardmanager.hxx.

Constructor & Destructor Documentation

ClipboardManager::~ClipboardManager ( )
overrideprivatevirtual

Definition at line 45 of file clipboardmanager.cxx.

ClipboardManager::ClipboardManager ( )

Definition at line 39 of file clipboardmanager.cxx.

References m_aMutex.

Member Function Documentation

void SAL_CALL ClipboardManager::addClipboard ( const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &  xClipboard)
overridevirtual

Definition at line 82 of file clipboardmanager.cxx.

References aName, m_aClipboardMap, m_aDefaultName, m_aMutex, value, and xComponent.

void SAL_CALL ClipboardManager::dispose ( void  )
overridevirtual

Definition at line 140 of file clipboardmanager.cxx.

References Exception, m_aClipboardMap, and xComponent.

void SAL_CALL ClipboardManager::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 182 of file clipboardmanager.cxx.

References removeClipboard().

Reference< XClipboard > SAL_CALL ClipboardManager::getClipboard ( const OUString &  aName)
overridevirtual

Definition at line 64 of file clipboardmanager.cxx.

References m_aClipboardMap, m_aDefaultName, and m_aMutex.

OUString SAL_CALL ClipboardManager::getImplementationName ( )
overridevirtual

Definition at line 49 of file clipboardmanager.cxx.

References CLIPBOARDMANAGER_IMPLEMENTATION_NAME.

Sequence< OUString > SAL_CALL ClipboardManager::getSupportedServiceNames ( )
overridevirtual

Definition at line 59 of file clipboardmanager.cxx.

References ClipboardManager_getSupportedServiceNames().

Sequence< OUString > SAL_CALL ClipboardManager::listClipboardNames ( )
overridevirtual

Definition at line 126 of file clipboardmanager.cxx.

References m_aClipboardMap, m_aMutex, and comphelper::mapKeysToSequence().

void SAL_CALL ClipboardManager::removeClipboard ( const OUString &  aName)
overridevirtual

Definition at line 119 of file clipboardmanager.cxx.

References m_aClipboardMap, m_aDefaultName, and m_aMutex.

Referenced by disposing().

sal_Bool SAL_CALL ClipboardManager::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 54 of file clipboardmanager.cxx.

References cppu::supportsService().

Member Data Documentation

ClipboardMap dtrans::ClipboardManager::m_aClipboardMap
private
const OUString dtrans::ClipboardManager::m_aDefaultName
private

Definition at line 46 of file clipboardmanager.hxx.

Referenced by addClipboard(), getClipboard(), and removeClipboard().

::osl::Mutex dtrans::ClipboardManager::m_aMutex
private

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