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:
Collaboration diagram for dtrans::ClipboardManager:

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 ( )

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)

Definition at line 82 of file clipboardmanager.cxx.

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

void SAL_CALL ClipboardManager::dispose ( void  )

Definition at line 140 of file clipboardmanager.cxx.

References Exception, m_aClipboardMap, and xComponent.

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

Definition at line 182 of file clipboardmanager.cxx.

References removeClipboard().

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

Definition at line 64 of file clipboardmanager.cxx.

References m_aClipboardMap, m_aDefaultName, and m_aMutex.

OUString SAL_CALL ClipboardManager::getImplementationName ( )

Definition at line 49 of file clipboardmanager.cxx.


Sequence< OUString > SAL_CALL ClipboardManager::getSupportedServiceNames ( )

Definition at line 59 of file clipboardmanager.cxx.

References ClipboardManager_getSupportedServiceNames().

Sequence< OUString > SAL_CALL ClipboardManager::listClipboardNames ( )

Definition at line 126 of file clipboardmanager.cxx.

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

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

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)

Definition at line 54 of file clipboardmanager.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 46 of file clipboardmanager.hxx.

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

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

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