diff options
author | Joachim Lingner <jl@openoffice.org> | 2001-02-13 10:32:49 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2001-02-13 10:32:49 +0000 |
commit | e747e879e2258c9e15bfee5ab9fdd25ffa629a60 (patch) | |
tree | 4575ffb79eb872d56b32bd85040206b78f50a9fd /dtrans | |
parent | 10011753405c69f52b5f173c3fd95f7549552e9e (diff) |
*** empty log message ***
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/dnd/source.hxx | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/dtrans/source/win32/dnd/source.hxx b/dtrans/source/win32/dnd/source.hxx index 68bafe282ce8..7a0bfe814fd3 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.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jl $ $Date: 2001-02-12 11:11:59 $ + * last change: $Author: jl $ $Date: 2001-02-13 11:32:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -92,17 +92,14 @@ using namespace osl; using namespace ::com::sun::star::datatransfer; using namespace ::com::sun::star::datatransfer::dnd; - +/* struct DndParams { IDataObject* data; - IDropSource* source; DWORD dwOkEffects; - DWORD dwEffect; - HRESULT hr; DWORD threadIdCreator; }; - +*/ class SourceContext; // RIGHT MOUSE BUTTON drag and drop not supportet currently. @@ -114,13 +111,6 @@ class DragSource: { Reference<XMultiServiceFactory> m_serviceFactory; - // only valid for one dnd operation - // The context notifies the XDragSourceListener s - Reference<XDragSourceContext> m_currentContext; - SourceContext* m_pcurrentContext_impl; - // From com::sun::star::datatransfer::dnd::DNDConstants - sal_Int8 m_sourceActions; - HWND m_hAppWindow; // The mouse button that set off the drag and drop operation @@ -132,6 +122,18 @@ class DragSource: DragSource &operator= ( const DragSource&); public: + // only valid for one dnd operation + // the thread ID of the thread which created the window + DWORD m_threadIdWindow; + // The context notifies the XDragSourceListener s + Reference<XDragSourceContext> m_currentContext; + + // the wrapper for the Transferable ( startDrag) + IDataObject* m_pDataObject; + + sal_Int8 m_sourceActions; + +public: DragSource(const Reference<XMultiServiceFactory>& sf); virtual ~DragSource(); |