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

#include <WinClipboard.hxx>

Inheritance diagram for CWinClipboard:
[legend]
Collaboration diagram for CWinClipboard:
[legend]

Public Member Functions

 CWinClipboard (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &aClipboardName)
 
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getContents () override
 
virtual void SAL_CALL setContents (const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &xClipboardOwner) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL flushClipboard () 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
 
virtual void SAL_CALL disposing () 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
 

Private Member Functions

void notifyAllClipboardListener ()
 

Private Attributes

std::unique_ptr< CWinClipbImplm_pImpl
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Friends

class CWinClipbImpl
 

Additional Inherited Members

- Protected Attributes inherited from CWinClipboardDummy
osl::Mutex m_aMutex
 
osl::Mutex m_aCbListenerMutex
 

Detailed Description

Definition at line 61 of file WinClipboard.hxx.

Constructor & Destructor Documentation

CWinClipboard::CWinClipboard ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const OUString &  aClipboardName 
)

Definition at line 49 of file WinClipboard.cxx.

References CWinClipbImpl, m_pImpl, and m_xContext.

Member Function Documentation

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

Definition at line 133 of file WinClipboard.cxx.

void SAL_CALL CWinClipboard::disposing ( )
overridevirtual

Definition at line 213 of file WinClipboard.cxx.

References m_pImpl.

void SAL_CALL CWinClipboard::flushClipboard ( )
overridevirtual

Definition at line 105 of file WinClipboard.cxx.

References CWinClipboardDummy::m_aMutex, and m_pImpl.

Reference< XTransferable > SAL_CALL CWinClipboard::getContents ( )
overridevirtual

Definition at line 64 of file WinClipboard.cxx.

References CWinClipboardDummy::m_aMutex, and m_pImpl.

OUString SAL_CALL CWinClipboard::getImplementationName ( )
overridevirtual

Definition at line 224 of file WinClipboard.cxx.

References WINCLIPBOARD_IMPL_NAME.

OUString SAL_CALL CWinClipboard::getName ( )
overridevirtual

Definition at line 91 of file WinClipboard.cxx.

References m_pImpl.

sal_Int8 SAL_CALL CWinClipboard::getRenderingCapabilities ( )
overridevirtual

Definition at line 119 of file WinClipboard.cxx.

References CWinClipbImpl::getRenderingCapabilities(), and m_pImpl.

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

Definition at line 234 of file WinClipboard.cxx.

void CWinClipboard::notifyAllClipboardListener ( )
private
void SAL_CALL CWinClipboard::removeClipboardListener ( const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &  listener)
overridevirtual

Definition at line 148 of file WinClipboard.cxx.

void SAL_CALL CWinClipboard::setContents ( const css::uno::Reference< css::datatransfer::XTransferable > &  xTransferable,
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &  xClipboardOwner 
)
overridevirtual

Definition at line 78 of file WinClipboard.cxx.

References CWinClipboardDummy::m_aMutex, and m_pImpl.

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

Definition at line 229 of file WinClipboard.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class CWinClipbImpl
friend

Definition at line 118 of file WinClipboard.hxx.

Referenced by CWinClipboard().

Member Data Documentation

std::unique_ptr< CWinClipbImpl > CWinClipboard::m_pImpl
private
css::uno::Reference< css::uno::XComponentContext > CWinClipboard::m_xContext
private

Definition at line 116 of file WinClipboard.hxx.

Referenced by CWinClipbImpl::getContents(), and CWinClipbImpl::setContents().


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