diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-25 13:05:43 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-25 13:05:43 +0000 |
commit | ec2f352b8fbd698d74979e1a031163e3c9bc90b6 (patch) | |
tree | caf10e3220368369ca523e524b450a0f6466c350 /dtrans/test/win32/dnd/atlwindow.hxx | |
parent | 2e412b3f0d73d337573e388d9854211dd3dee2d2 (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'dtrans/test/win32/dnd/atlwindow.hxx')
-rw-r--r-- | dtrans/test/win32/dnd/atlwindow.hxx | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/dtrans/test/win32/dnd/atlwindow.hxx b/dtrans/test/win32/dnd/atlwindow.hxx index 2d664510b236..ac5132483e65 100644 --- a/dtrans/test/win32/dnd/atlwindow.hxx +++ b/dtrans/test/win32/dnd/atlwindow.hxx @@ -2,9 +2,9 @@ * * $RCSfile: atlwindow.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jl $ $Date: 2001-07-19 11:14:24 $ + * last change: $Author: hr $ $Date: 2003-03-25 14:05:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,7 +64,6 @@ extern CComModule _Module; #include<atlcom.h> #include<atlctl.h> -#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/datatransfer/dnd/XDropTarget.hpp> #include <com/sun/star/datatransfer/dnd/XDragSource.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp> @@ -75,21 +74,12 @@ extern CComModule _Module; using namespace com::sun::star::uno; using namespace com::sun::star::datatransfer::dnd; using namespace com::sun::star::datatransfer; -using namespace com::sun::star::lang; -#define WM_SOURCE_INIT WM_APP+100 -#define WM_SOURCE_STARTDRAG WM_APP+101 - -struct StartDragData +struct ThreadData { Reference<XDragSource> source; Reference<XTransferable> transferable; -}; - -struct InitializationData -{ - Reference<XInitialization> xInit; - HWND hWnd; + HANDLE evtThreadReady; }; class AWindow: public CWindowImpl<AWindow, CWindow, @@ -99,21 +89,18 @@ class AWindow: public CWindowImpl<AWindow, CWindow, Reference<XDropTarget> m_xDropTarget; Reference<XDragSource> m_xDragSource; BOOL m_isMTA; - BOOL m_bInitInMTA; + HWND m_hwndEdit; - // Id of the MTA thread to which we post messages. - DWORD m_idMTAThread; + CDTransObjFactory m_aDataConverter; public: - AWindow(LPCTSTR strName, DWORD idMTAThread): m_idMTAThread( idMTAThread) + AWindow(LPCTSTR strName) { RECT rcPos= {0,0,200,200}; Create(0, rcPos, strName); } - AWindow(LPCTSTR strName, DWORD idMTAThread, RECT pos, BOOL mta=FALSE, - BOOL initInMTA=FALSE): - m_isMTA( mta), m_idMTAThread( idMTAThread), m_bInitInMTA( initInMTA) + AWindow(LPCTSTR strName, RECT pos, BOOL mta=FALSE): m_isMTA( mta) { Create(0, pos, strName); } @@ -144,4 +131,4 @@ public: }; -#endif +#endif
\ No newline at end of file |