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

#include <sourcecontext.hxx>

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

Public Member Functions

 SourceContext (DragSource *pSource, const Reference< XDragSourceListener > &listener)
 
 ~SourceContext () override
 
 SourceContext (const SourceContext &)=delete
 
SourceContextoperator= (const SourceContext &)=delete
 
virtual void addDragSourceListener (const Reference< XDragSourceListener > &dsl)
 
virtual void removeDragSourceListener (const Reference< XDragSourceListener > &dsl)
 
virtual sal_Int32 SAL_CALL getCurrentCursor () override
 
virtual void SAL_CALL setCursor (sal_Int32 cursorId) override
 
virtual void SAL_CALL setImage (sal_Int32 imageId) override
 
virtual void SAL_CALL transferablesFlavorsChanged () override
 
void fire_dragDropEnd (bool success, sal_Int8 byte)
 
void fire_dropActionChanged (sal_Int8 dropAction, sal_Int8 userAction)
 

Private Attributes

DragSourcem_pDragSource
 
Reference< XDragSource > m_dragSource
 
sal_Int8 m_currentAction
 

Additional Inherited Members

- Public Attributes inherited from MutexDummy
osl::Mutex m_mutex
 

Detailed Description

Definition at line 39 of file sourcecontext.hxx.

Constructor & Destructor Documentation

SourceContext::SourceContext ( DragSource pSource,
const Reference< XDragSourceListener > &  listener 
)

Definition at line 27 of file sourcecontext.cxx.

SourceContext::~SourceContext ( )
override

Definition at line 39 of file sourcecontext.cxx.

SourceContext::SourceContext ( const SourceContext )
delete

Member Function Documentation

void SourceContext::addDragSourceListener ( const Reference< XDragSourceListener > &  dsl)
virtual
Exceptions
RuntimeException

Definition at line 43 of file sourcecontext.cxx.

void SourceContext::fire_dragDropEnd ( bool  success,
sal_Int8  byte 
)
void SourceContext::fire_dropActionChanged ( sal_Int8  dropAction,
sal_Int8  userAction 
)
sal_Int32 SAL_CALL SourceContext::getCurrentCursor ( )
overridevirtual

Definition at line 53 of file sourcecontext.cxx.

SourceContext& SourceContext::operator= ( const SourceContext )
delete
void SourceContext::removeDragSourceListener ( const Reference< XDragSourceListener > &  dsl)
virtual
Exceptions
RuntimeException

Definition at line 48 of file sourcecontext.cxx.

void SAL_CALL SourceContext::setCursor ( sal_Int32  cursorId)
overridevirtual

Definition at line 58 of file sourcecontext.cxx.

void SAL_CALL SourceContext::setImage ( sal_Int32  imageId)
overridevirtual

Definition at line 62 of file sourcecontext.cxx.

void SAL_CALL SourceContext::transferablesFlavorsChanged ( )
overridevirtual

Definition at line 66 of file sourcecontext.cxx.

Member Data Documentation

sal_Int8 SourceContext::m_currentAction
private

Definition at line 45 of file sourcecontext.hxx.

Referenced by fire_dropActionChanged().

Reference<XDragSource> SourceContext::m_dragSource
private

Definition at line 43 of file sourcecontext.hxx.

Referenced by fire_dragDropEnd(), and fire_dropActionChanged().

DragSource* SourceContext::m_pDragSource
private

Definition at line 42 of file sourcecontext.hxx.


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