Added two new support methods

git-svn-id: svn://10.0.0.236/trunk@28832 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-04-23 14:10:55 +00:00
parent e483d50a2e
commit 4d3bf982ef

View File

@@ -24,6 +24,8 @@
class nsIDragService;
class nsIWidget;
struct IDataObject;
/*
* nsNativeDragTarget implements the IDropTarget interface and gets most of its
* behavior from the associated adapter (m_dragDrop).
@@ -68,13 +70,23 @@ class nsNativeDragTarget : public IDropTarget
STDMETHODIMP Drop(LPDATAOBJECT pSource, DWORD grfKeyState,
POINTL point, DWORD* pEffect);
protected:
void DispatchDragDropEvent(PRUint32 aType, POINTL pt);
protected:
// methods
void GetGeckoDragAction(DWORD grfKeyState, LPDWORD pdwEffect, PRUint32 * aGeckoAction);
void ProcessDrag(PRUint32 aEventType,
DWORD grfKeyState,
POINTL pt,
DWORD* pdwEffect);
void DispatchDragDropEvent(PRUint32 aType, POINTL pt);
ULONG m_cRef; // reference count
nsIDragService* mDragService; // adapter
nsIWidget * mWindow;
HWND mHWnd;
// Native Stuff
ULONG m_cRef; // reference count
HWND mHWnd;
IDataObject * mDataObj;
// Gecko Stuff
nsIWidget * mWindow;
nsIDragService * mDragService;
};
#endif // _nsNativeDragTarget_h_