diff options
author | Joachim Lingner <jl@openoffice.org> | 2001-03-02 12:15:15 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2001-03-02 12:15:15 +0000 |
commit | 2aeaad0e5e0e275d53d60e2dbfaa9cfa7732c645 (patch) | |
tree | ccf674c502074a7af40f58d7e02c6831269cc450 /dtrans/source/win32/dnd/source.hxx | |
parent | d6ad279e6047009b3d15cf3fb1eb2ec214e66465 (diff) |
Converter for IDataObject and XTransferable added
Diffstat (limited to 'dtrans/source/win32/dnd/source.hxx')
-rw-r--r-- | dtrans/source/win32/dnd/source.hxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/dtrans/source/win32/dnd/source.hxx b/dtrans/source/win32/dnd/source.hxx index fc351410bd20..0a83d7c2ee47 100644 --- a/dtrans/source/win32/dnd/source.hxx +++ b/dtrans/source/win32/dnd/source.hxx @@ -2,9 +2,9 @@ * * $RCSfile: source.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jl $ $Date: 2001-02-13 12:52:33 $ + * last change: $Author: jl $ $Date: 2001-03-02 13:15:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,8 +78,10 @@ #include <cppuhelper/compbase2.hxx> #endif +#include "../../inc/DtObjFactory.hxx" #include "globals.hxx" #include <oleidl.h> +#include <comdef.h> using namespace ::com::sun::star::lang; @@ -89,14 +91,7 @@ using namespace osl; using namespace ::com::sun::star::datatransfer; using namespace ::com::sun::star::datatransfer::dnd; -/* -struct DndParams -{ - IDataObject* data; - DWORD dwOkEffects; - DWORD threadIdCreator; -}; -*/ + class SourceContext; // RIGHT MOUSE BUTTON drag and drop not supportet currently. @@ -112,7 +107,8 @@ class DragSource: // The mouse button that set off the drag and drop operation short m_MouseButton; - + // Converts XTransferable objects to IDataObject objects. + CDTransObjFactory m_aDataConverter; DragSource(); DragSource(const DragSource&); @@ -126,7 +122,7 @@ public: Reference<XDragSourceContext> m_currentContext; // the wrapper for the Transferable ( startDrag) - IDataObject* m_pDataObject; + IDataObjectPtr m_spDataObject; sal_Int8 m_sourceActions; |