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

#include <WinClipbImpl.hxx>

Collaboration diagram for CWinClipbImpl:
[legend]

Public Member Functions

 ~CWinClipbImpl ()
 

Protected Member Functions

 CWinClipbImpl (const OUString &aClipboardName, CWinClipboard *theWinClipboard)
 
css::uno::Reference< css::datatransfer::XTransferable > getContents ()
 
void setContents (const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &xClipboardOwner)
 
OUString getName ()
 
void flushClipboard ()
 
void dispose ()
 
void registerClipboardViewer ()
 
void unregisterClipboardViewer ()
 

Static Protected Member Functions

static sal_Int8 getRenderingCapabilities ()
 
static void WINAPI onClipboardContentChanged ()
 

Private Member Functions

void onReleaseDataObject (CXNotifyingDataObject *theCaller)
 
 CWinClipbImpl (const CWinClipbImpl &)
 
CWinClipbImploperator= (const CWinClipbImpl &)
 

Private Attributes

OUString m_itsName
 
CMtaOleClipboard m_MtaOleClipboard
 
CWinClipboardm_pWinClipboard
 
CXNotifyingDataObjectm_pCurrentClipContent
 
osl::Mutex m_ClipContentMutex
 

Static Private Attributes

static osl::Mutex s_aMutex
 
static CWinClipbImpls_pCWinClipbImpl = nullptr
 

Friends

class CWinClipboard
 
class CXNotifyingDataObject
 

Detailed Description

Definition at line 41 of file WinClipbImpl.hxx.

Constructor & Destructor Documentation

CWinClipbImpl::~CWinClipbImpl ( )

Definition at line 64 of file WinClipbImpl.cxx.

References s_aMutex, s_pCWinClipbImpl, and unregisterClipboardViewer().

CWinClipbImpl::CWinClipbImpl ( const OUString &  aClipboardName,
CWinClipboard theWinClipboard 
)
protected

Definition at line 51 of file WinClipbImpl.cxx.

References m_pWinClipboard, registerClipboardViewer(), and s_pCWinClipbImpl.

CWinClipbImpl::CWinClipbImpl ( const CWinClipbImpl )
private

Member Function Documentation

void CWinClipbImpl::dispose ( void  )
protected
Exceptions
css::uno::RuntimeException

Definition at line 168 of file WinClipbImpl.cxx.

References m_pCurrentClipContent.

void CWinClipbImpl::flushClipboard ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 142 of file WinClipbImpl.cxx.

References CMtaOleClipboard::flushClipboard(), m_MtaOleClipboard, and m_pCurrentClipContent.

Reference< XTransferable > CWinClipbImpl::getContents ( )
protected
OUString CWinClipbImpl::getName ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 132 of file WinClipbImpl.cxx.

References m_itsName.

sal_Int8 CWinClipbImpl::getRenderingCapabilities ( )
staticprotected
Exceptions
css::uno::RuntimeException

Definition at line 137 of file WinClipbImpl.cxx.

Referenced by CWinClipboard::getRenderingCapabilities().

void WINAPI CWinClipbImpl::onClipboardContentChanged ( )
staticprotected
void CWinClipbImpl::onReleaseDataObject ( CXNotifyingDataObject theCaller)
private
CWinClipbImpl& CWinClipbImpl::operator= ( const CWinClipbImpl )
private
void CWinClipbImpl::registerClipboardViewer ( )
protected
void CWinClipbImpl::setContents ( const css::uno::Reference< css::datatransfer::XTransferable > &  xTransferable,
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &  xClipboardOwner 
)
protected
void CWinClipbImpl::unregisterClipboardViewer ( )
protected

Definition at line 163 of file WinClipbImpl.cxx.

References m_MtaOleClipboard, and CMtaOleClipboard::registerClipViewer().

Referenced by ~CWinClipbImpl().

Friends And Related Function Documentation

friend class CWinClipboard
friend

Definition at line 99 of file WinClipbImpl.hxx.

friend class CXNotifyingDataObject
friend

Definition at line 100 of file WinClipbImpl.hxx.

Referenced by setContents().

Member Data Documentation

osl::Mutex CWinClipbImpl::m_ClipContentMutex
private

Definition at line 90 of file WinClipbImpl.hxx.

Referenced by getContents(), onReleaseDataObject(), and setContents().

OUString CWinClipbImpl::m_itsName
private

Definition at line 86 of file WinClipbImpl.hxx.

Referenced by getName().

CMtaOleClipboard CWinClipbImpl::m_MtaOleClipboard
private
CXNotifyingDataObject* CWinClipbImpl::m_pCurrentClipContent
private
CWinClipboard* CWinClipbImpl::m_pWinClipboard
private
osl::Mutex CWinClipbImpl::s_aMutex
staticprivate

Definition at line 92 of file WinClipbImpl.hxx.

Referenced by onClipboardContentChanged(), and ~CWinClipbImpl().

CWinClipbImpl * CWinClipbImpl::s_pCWinClipbImpl = nullptr
staticprivate

Definition at line 93 of file WinClipbImpl.hxx.

Referenced by CWinClipbImpl(), onClipboardContentChanged(), and ~CWinClipbImpl().


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