]>
Commit | Line | Data |
---|---|---|
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 | #include <os2.h> | |
18 | #include "wx/window.h" | |
19 | #include "wx/app.h" | |
20 | #include "wx/gdicmn.h" | |
21 | #include "wx/dnd.h" | |
22 | ||
23 | // ---------------------------------------------------------------------------- | |
24 | // global | |
25 | // ---------------------------------------------------------------------------- | |
26 | ||
27 | // ---------------------------------------------------------------------------- | |
28 | // wxDropTarget | |
29 | // ---------------------------------------------------------------------------- | |
30 | ||
31 | wxDropTarget::wxDropTarget( | |
32 | wxDataObject* pDataObject | |
33 | ) | |
34 | { | |
35 | // TODO: | |
36 | }; | |
37 | ||
38 | wxDropTarget::~wxDropTarget() | |
39 | { | |
40 | }; | |
41 | ||
42 | void wxDropTarget::Register( | |
43 | WXHWND hwnd | |
44 | ) | |
45 | { | |
46 | //TODO: | |
47 | }; | |
48 | ||
49 | void wxDropTarget::Revoke( | |
50 | WXHWND hwnd | |
51 | ) | |
52 | { | |
53 | //TODO: | |
54 | }; | |
55 | ||
56 | wxDragResult wxDropTarget::OnDragOver( | |
57 | wxCoord x | |
58 | , wxCoord y | |
59 | , wxDragResult vDef | |
60 | ) | |
61 | { | |
62 | //TODO: | |
63 | return vDef; | |
64 | }; | |
65 | ||
66 | bool wxDropTarget::OnDrop( | |
67 | wxCoord x | |
68 | , wxCoord y | |
69 | ) | |
70 | { | |
71 | //TODO: | |
72 | return FALSE; | |
73 | }; | |
74 | ||
75 | wxDragResult wxDropTarget::OnData( | |
76 | wxCoord x | |
77 | , wxCoord y | |
78 | , wxDragResult vResult | |
79 | ) | |
80 | { | |
81 | //TODO: | |
82 | return (wxDragResult)0; | |
83 | }; | |
84 | ||
85 | bool wxDropTarget::GetData() | |
86 | { | |
87 | //TODO: | |
88 | return FALSE; | |
89 | }; | |
90 | ||
91 | bool wxDropTarget::IsAcceptable( | |
92 | DRAGINFO* pInfo | |
93 | ) | |
94 | { | |
95 | //TODO: | |
96 | return FALSE; | |
97 | }; | |
98 | ||
99 | //------------------------------------------------------------------------- | |
100 | // wxDropSource | |
101 | //------------------------------------------------------------------------- | |
102 | ||
103 | wxDropSource::wxDropSource( | |
104 | wxWindow* pWin | |
105 | ) | |
106 | { | |
107 | // TODO | |
108 | }; | |
109 | ||
110 | wxDropSource::wxDropSource( | |
111 | wxDataObject& rData | |
112 | , wxWindow* pWin | |
113 | ) | |
114 | { | |
115 | // TODO | |
116 | }; | |
117 | ||
118 | wxDropSource::~wxDropSource() | |
119 | { | |
120 | // TODO | |
121 | }; | |
122 | ||
123 | wxDragResult wxDropSource::DoDragDrop( | |
124 | bool WXUNUSED(bAllowMove) | |
125 | ) | |
126 | { | |
127 | // TODO | |
128 | return wxDragError; | |
129 | }; | |
130 | ||
131 | void wxDropSource::Init() | |
132 | { | |
133 | // TODO | |
134 | }; | |
135 |