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

Public Member Functions

 TransferableClipboardNotifier (const Reference< XClipboard > &_rxClipboard, TransferableDataHelper &_rListener,::osl::Mutex &_rMutex)
 
bool isListening () const
 determines whether we're currently listening More...
 
void dispose ()
 makes the instance non-functional More...
 

Protected Member Functions

virtual void SAL_CALL changedContents (const clipboard::ClipboardEvent &event) override
 
virtual void SAL_CALL disposing (const EventObject &Source) override
 

Private Attributes

::osl::Mutex & mrMutex
 
Reference< XClipboardNotifier > mxNotifier
 
TransferableDataHelpermpListener
 

Detailed Description

Definition at line 1054 of file transfer.cxx.

Constructor & Destructor Documentation

TransferableClipboardNotifier::TransferableClipboardNotifier ( const Reference< XClipboard > &  _rxClipboard,
TransferableDataHelper _rListener,
::osl::Mutex &  _rMutex 
)

Definition at line 1079 of file transfer.cxx.

References mpListener, mpListener, and mxNotifier.

Member Function Documentation

void SAL_CALL TransferableClipboardNotifier::changedContents ( const clipboard::ClipboardEvent &  event)
overrideprotectedvirtual

Definition at line 1096 of file transfer.cxx.

References mpListener, mrMutex, and TransferableDataHelper::Rebind().

void TransferableClipboardNotifier::dispose ( void  )

makes the instance non-functional

Definition at line 1116 of file transfer.cxx.

References mpListener, mrMutex, and mxNotifier.

Referenced by disposing().

void SAL_CALL TransferableClipboardNotifier::disposing ( const EventObject &  Source)
overrideprotectedvirtual

Definition at line 1109 of file transfer.cxx.

References dispose().

bool TransferableClipboardNotifier::isListening ( ) const
inline

determines whether we're currently listening

Definition at line 1072 of file transfer.cxx.

Member Data Documentation

TransferableDataHelper* TransferableClipboardNotifier::mpListener
private

Definition at line 1059 of file transfer.cxx.

Referenced by changedContents(), dispose(), and TransferableClipboardNotifier().

::osl::Mutex& TransferableClipboardNotifier::mrMutex
private

Definition at line 1057 of file transfer.cxx.

Referenced by changedContents(), and dispose().

Reference< XClipboardNotifier > TransferableClipboardNotifier::mxNotifier
private

Definition at line 1058 of file transfer.cxx.

Referenced by dispose(), and TransferableClipboardNotifier().


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