LibreOffice Module dtrans (master)  1
Classes | Namespaces | Macros | Functions | Variables
globals.hxx File Reference
#include <sal/config.h>
#include <com/sun/star/uno/Reference.hxx>
#include <osl/mutex.hxx>
#include <wtypes.h>
#include <sal/types.h>
Include dependency graph for globals.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MutexDummy
 

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::datatransfer
 

Macros

#define DNDSOURCE_SERVICE_NAME   "com.sun.star.datatransfer.dnd.OleDragSource"
 
#define DNDSOURCE_IMPL_NAME   "com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"
 
#define DNDTARGET_SERVICE_NAME   "com.sun.star.datatransfer.dnd.OleDropTarget"
 
#define DNDTARGET_IMPL_NAME   "com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"
 

Functions

sal_Int8 dndOleKeysToAction (DWORD grfKeyState, sal_Int8 sourceActions)
 
sal_Int8 dndOleDropEffectsToActions (DWORD dwEffect)
 
DWORD dndActionsToDropEffects (sal_Int8 actions)
 
DWORD dndActionsToSingleDropEffect (sal_Int8 actions)
 

Variables

css::uno::Reference< css::datatransfer::XTransferable > g_XTransferable
 

Macro Definition Documentation

#define DNDSOURCE_IMPL_NAME   "com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"

Definition at line 35 of file globals.hxx.

Referenced by dnd_component_getFactory(), and DragSource::getImplementationName().

#define DNDSOURCE_SERVICE_NAME   "com.sun.star.datatransfer.dnd.OleDragSource"

Definition at line 34 of file globals.hxx.

Referenced by dnd_component_getFactory(), and DragSource::getSupportedServiceNames().

#define DNDTARGET_IMPL_NAME   "com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"

Definition at line 38 of file globals.hxx.

Referenced by dnd_component_getFactory(), and DropTarget::getImplementationName().

#define DNDTARGET_SERVICE_NAME   "com.sun.star.datatransfer.dnd.OleDropTarget"

Definition at line 37 of file globals.hxx.

Referenced by dnd_component_getFactory(), and DropTarget::getSupportedServiceNames().

Function Documentation

DWORD dndActionsToDropEffects ( sal_Int8  actions)

Definition at line 98 of file globals.cxx.

Referenced by dndActionsToSingleDropEffect(), and DndOleSTAFunc().

DWORD dndActionsToSingleDropEffect ( sal_Int8  actions)

Definition at line 112 of file globals.cxx.

References dndActionsToDropEffects().

Referenced by DropTarget::DragEnter(), DropTarget::DragOver(), and DropTarget::Drop().

sal_Int8 dndOleDropEffectsToActions ( DWORD  dwEffect)
sal_Int8 dndOleKeysToAction ( DWORD  grfKeyState,
sal_Int8  sourceActions 
)

Definition at line 34 of file globals.cxx.

Referenced by DropTarget::getFilteredActions(), and DragSource::QueryContinueDrag().

Variable Documentation

css::uno::Reference<css::datatransfer::XTransferable> g_XTransferable

Definition at line 28 of file globals.cxx.

Referenced by DndOleSTAFunc(), DropTarget::DragEnter(), and DragSource::StartDragImpl().