LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
vcl::GenericClipboard Class Reference
Inheritance diagram for vcl::GenericClipboard:
[legend]
Collaboration diagram for vcl::GenericClipboard:
[legend]

Public Member Functions

 GenericClipboard ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual Reference< css::datatransfer::XTransferable > SAL_CALL getContents () override
 
virtual void SAL_CALL setContents (const Reference< css::datatransfer::XTransferable > &xTrans, const 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 Reference< css::datatransfer::clipboard::XClipboardListener > &listener) override
 
virtual void SAL_CALL removeClipboardListener (const Reference< css::datatransfer::clipboard::XClipboardListener > &listener) override
 

Static Public Member Functions

static Sequence< OUString > getSupportedServiceNames_static ()
 

Private Attributes

osl::Mutex m_aMutex
 
Reference< css::datatransfer::XTransferable > m_aContents
 
Reference< css::datatransfer::clipboard::XClipboardOwner > m_aOwner
 
std::vector< Reference< css::datatransfer::clipboard::XClipboardListener > > m_aListeners
 

Detailed Description

Definition at line 49 of file dtranscomp.cxx.

Constructor & Destructor Documentation

vcl::GenericClipboard::GenericClipboard ( )
inline

Definition at line 62 of file dtranscomp.cxx.

Member Function Documentation

virtual void SAL_CALL vcl::GenericClipboard::addClipboardListener ( const Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)
overridevirtual
Reference< css::datatransfer::XTransferable > vcl::GenericClipboard::getContents ( )
overridevirtual

Definition at line 127 of file dtranscomp.cxx.

OUString vcl::GenericClipboard::getImplementationName ( )
overridevirtual

Definition at line 112 of file dtranscomp.cxx.

OUString vcl::GenericClipboard::getName ( )
overridevirtual

Definition at line 156 of file dtranscomp.cxx.

sal_Int8 vcl::GenericClipboard::getRenderingCapabilities ( )
overridevirtual

Definition at line 161 of file dtranscomp.cxx.

Sequence< OUString > vcl::GenericClipboard::getSupportedServiceNames ( )
overridevirtual

Definition at line 117 of file dtranscomp.cxx.

Sequence< OUString > vcl::GenericClipboard::getSupportedServiceNames_static ( )
static

Definition at line 106 of file dtranscomp.cxx.

virtual void SAL_CALL vcl::GenericClipboard::removeClipboardListener ( const Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)
overridevirtual
void vcl::GenericClipboard::setContents ( const Reference< css::datatransfer::XTransferable > &  xTrans,
const Reference< css::datatransfer::clipboard::XClipboardOwner > &  xClipboardOwner 
)
overridevirtual

Definition at line 132 of file dtranscomp.cxx.

References aListeners, and m_aMutex.

sal_Bool vcl::GenericClipboard::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 122 of file dtranscomp.cxx.

References cppu::supportsService().

Member Data Documentation

Reference< css::datatransfer::XTransferable > vcl::GenericClipboard::m_aContents
private

Definition at line 56 of file dtranscomp.cxx.

std::vector< Reference< css::datatransfer::clipboard::XClipboardListener > > vcl::GenericClipboard::m_aListeners
private

Definition at line 58 of file dtranscomp.cxx.

osl::Mutex vcl::GenericClipboard::m_aMutex
private

Definition at line 55 of file dtranscomp.cxx.

Reference< css::datatransfer::clipboard::XClipboardOwner > vcl::GenericClipboard::m_aOwner
private

Definition at line 57 of file dtranscomp.cxx.


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