LibreOffice Module dtrans (master)  1
Functions
source.cxx File Reference
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/awt/MouseButton.hpp>
#include <com/sun/star/awt/MouseEvent.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/any.hxx>
#include <process.h>
#include <memory>
#include "source.hxx"
#include "globals.hxx"
#include "sourcecontext.hxx"
#include "../../inc/DtObjFactory.hxx"
#include <rtl/ustring.h>
#include <osl/thread.h>
#include <winuser.h>
#include <stdio.h>
Include dependency graph for source.cxx:

Go to the source code of this file.

Functions

static unsigned __stdcall DndOleSTAFunc (LPVOID pParams)
 This function is called as extra thread from DragSource::executeDrag. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * dtrans_DragSource_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Function Documentation

unsigned __stdcall DndOleSTAFunc ( LPVOID  pParams)
static

This function is called as extra thread from DragSource::executeDrag.

The function carries out a drag and drop operation by calling DoDragDrop. The thread also notifies all XSourceListener.

Definition at line 306 of file source.cxx.

References dndActionsToDropEffects(), dndOleDropEffectsToActions(), FALSE, g_XTransferable, hr, DragSource::m_currentContext, DragSource::m_RunningDndOperationCount, DragSource::m_sourceActions, DragSource::m_spDataObject, DragSource::m_threadIdWindow, and TRUE.

Referenced by DragSource::StartDragImpl().

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* dtrans_DragSource_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 295 of file source.cxx.