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

#include <generic_clipboard.hxx>

Inheritance diagram for dtrans::GenericClipboard:
Collaboration diagram for dtrans::GenericClipboard:

Public Member Functions

 GenericClipboard ()
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
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 css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getContents () override
virtual void SAL_CALL setContents (const css::uno::Reference< css::datatransfer::XTransferable > &xTrans, const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &xClipboardOwner) override
virtual OUString SAL_CALL getName () override
virtual sal_Int8 SAL_CALL getRenderingCapabilities () override
virtual void SAL_CALL addClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &listener) override
virtual void SAL_CALL removeClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &listener) override

Private Member Functions

virtual ~GenericClipboard () override

Private Attributes

::osl::Mutex m_aMutex
OUString m_aName
css::uno::Reference< css::datatransfer::XTransferable > m_aContents
css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > m_aOwner
bool m_bInitialized

Detailed Description

Definition at line 37 of file generic_clipboard.hxx.

Constructor & Destructor Documentation

GenericClipboard::~GenericClipboard ( )

Definition at line 40 of file generic_clipboard.cxx.

GenericClipboard::GenericClipboard ( )

Definition at line 34 of file generic_clipboard.cxx.

References m_aMutex.

Member Function Documentation

void SAL_CALL GenericClipboard::addClipboardListener ( const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)

Definition at line 123 of file generic_clipboard.cxx.

Reference< XTransferable > SAL_CALL GenericClipboard::getContents ( )

Definition at line 72 of file generic_clipboard.cxx.

References m_aContents, and m_aMutex.

OUString SAL_CALL GenericClipboard::getImplementationName ( )

Definition at line 57 of file generic_clipboard.cxx.


OUString SAL_CALL GenericClipboard::getName ( )

Definition at line 113 of file generic_clipboard.cxx.

References m_aName.

sal_Int8 SAL_CALL GenericClipboard::getRenderingCapabilities ( )

Definition at line 118 of file generic_clipboard.cxx.

Sequence< OUString > SAL_CALL GenericClipboard::getSupportedServiceNames ( )

Definition at line 67 of file generic_clipboard.cxx.

References GenericClipboard_getSupportedServiceNames().

void SAL_CALL GenericClipboard::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)

Definition at line 44 of file generic_clipboard.cxx.

References cppu::UnoType< class >::get(), m_aName, m_bInitialized, and n.

void SAL_CALL GenericClipboard::removeClipboardListener ( const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)

Definition at line 132 of file generic_clipboard.cxx.

void SAL_CALL GenericClipboard::setContents ( const css::uno::Reference< css::datatransfer::XTransferable > &  xTrans,
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &  xClipboardOwner 
sal_Bool SAL_CALL GenericClipboard::supportsService ( const OUString &  ServiceName)

Definition at line 62 of file generic_clipboard.cxx.

References cppu::supportsService().

Member Data Documentation

css::uno::Reference< css::datatransfer::XTransferable > dtrans::GenericClipboard::m_aContents

Definition at line 46 of file generic_clipboard.hxx.

Referenced by getContents(), and setContents().

::osl::Mutex dtrans::GenericClipboard::m_aMutex

Definition at line 43 of file generic_clipboard.hxx.

Referenced by getContents(), and setContents().

OUString dtrans::GenericClipboard::m_aName

Definition at line 44 of file generic_clipboard.hxx.

Referenced by getName(), and initialize().

css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > dtrans::GenericClipboard::m_aOwner

Definition at line 47 of file generic_clipboard.hxx.

Referenced by setContents().

bool dtrans::GenericClipboard::m_bInitialized

Definition at line 49 of file generic_clipboard.hxx.

Referenced by initialize().

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