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:
[legend]
Collaboration diagram for dtrans::GenericClipboard:
[legend]

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

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

virtual void SAL_CALL dtrans::GenericClipboard::addClipboardListener ( const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)
overridevirtual
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL dtrans::GenericClipboard::getContents ( )
overridevirtual
virtual OUString SAL_CALL dtrans::GenericClipboard::getImplementationName ( )
overridevirtual
virtual OUString SAL_CALL dtrans::GenericClipboard::getName ( )
overridevirtual
virtual sal_Int8 SAL_CALL dtrans::GenericClipboard::getRenderingCapabilities ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL dtrans::GenericClipboard::getSupportedServiceNames ( )
overridevirtual
void SAL_CALL GenericClipboard::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Definition at line 44 of file generic_clipboard.cxx.

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

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

Member Data Documentation

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

Definition at line 46 of file generic_clipboard.hxx.

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

Definition at line 43 of file generic_clipboard.hxx.

OUString dtrans::GenericClipboard::m_aName
private

Definition at line 44 of file generic_clipboard.hxx.

Referenced by initialize().

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

Definition at line 47 of file generic_clipboard.hxx.

bool dtrans::GenericClipboard::m_bInitialized
private

Definition at line 49 of file generic_clipboard.hxx.

Referenced by initialize().


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