]> git.saurik.com Git - wxWidgets.git/blob - src/os2/dnd.cpp
Committing in .
[wxWidgets.git] / src / os2 / dnd.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: dnd.cpp
3 // Purpose: wxDropTarget, wxDropSource, wxDataObject implementation
4 // Author: David Webster
5 // Modified by:
6 // Created: 10/21/99
7 // RCS-ID: $Id$
8 // Copyright: (c) 1998 AUTHOR
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "dnd.h"
14 #endif
15
16 #define INCL_PM
17 #define INCL_DOS
18 #include <os2.h>
19 #include "wx/window.h"
20 #include "wx/app.h"
21 #include "wx/gdicmn.h"
22 #include "wx/dnd.h"
23
24 #if wxUSE_DRAG_AND_DROP
25
26 // ----------------------------------------------------------------------------
27 // global
28 // ----------------------------------------------------------------------------
29
30 // ----------------------------------------------------------------------------
31 // wxDropTarget
32 // ----------------------------------------------------------------------------
33
34 wxDropTarget::wxDropTarget(
35 wxDataObject* pDataObject
36 )
37 {
38 // TODO:
39 };
40
41 wxDropTarget::~wxDropTarget()
42 {
43 };
44
45 void wxDropTarget::Register(
46 WXHWND hwnd
47 )
48 {
49 //TODO:
50 };
51
52 void wxDropTarget::Revoke(
53 WXHWND hwnd
54 )
55 {
56 //TODO:
57 };
58
59 wxDragResult wxDropTarget::OnDragOver(
60 wxCoord x
61 , wxCoord y
62 , wxDragResult vDef
63 )
64 {
65 //TODO:
66 return vDef;
67 };
68
69 bool wxDropTarget::OnDrop(
70 wxCoord x
71 , wxCoord y
72 )
73 {
74 //TODO:
75 return FALSE;
76 };
77
78 wxDragResult wxDropTarget::OnData(
79 wxCoord x
80 , wxCoord y
81 , wxDragResult vResult
82 )
83 {
84 //TODO:
85 return (wxDragResult)0;
86 };
87
88 bool wxDropTarget::GetData()
89 {
90 //TODO:
91 return FALSE;
92 };
93
94 bool wxDropTarget::IsAcceptable(
95 DRAGINFO* pInfo
96 )
97 {
98 //TODO:
99 return FALSE;
100 };
101
102 //-------------------------------------------------------------------------
103 // wxDropSource
104 //-------------------------------------------------------------------------
105
106 wxDropSource::wxDropSource(
107 wxWindow* pWin
108 )
109 {
110 // TODO
111 };
112
113 wxDropSource::wxDropSource(
114 wxDataObject& rData
115 , wxWindow* pWin
116 )
117 {
118 // TODO
119 };
120
121 wxDropSource::~wxDropSource()
122 {
123 // TODO
124 };
125
126 wxDragResult wxDropSource::DoDragDrop(
127 int WXUNUSED(flags)
128 )
129 {
130 // TODO
131 return wxDragError;
132 };
133
134 void wxDropSource::Init()
135 {
136 // TODO
137 };
138
139 #endif //wxUSE_DRAG_AND_DROP