1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMDataTransfer.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMDataTransfer_h__
6 : #define __gen_nsIDOMDataTransfer_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : class nsIVariant; /* forward declaration */
18 :
19 : class nsIDOMFileList; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMDataTransfer */
23 : #define NS_IDOMDATATRANSFER_IID_STR "e929acb6-435c-4cb8-9ad1-ae3b9353bcc5"
24 :
25 : #define NS_IDOMDATATRANSFER_IID \
26 : {0xe929acb6, 0x435c, 0x4cb8, \
27 : { 0x9a, 0xd1, 0xae, 0x3b, 0x93, 0x53, 0xbc, 0xc5 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMDataTransfer : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDATATRANSFER_IID)
33 :
34 : /* attribute DOMString dropEffect; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDropEffect(nsAString & aDropEffect) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetDropEffect(const nsAString & aDropEffect) = 0;
37 :
38 : /* attribute DOMString effectAllowed; */
39 : NS_SCRIPTABLE NS_IMETHOD GetEffectAllowed(nsAString & aEffectAllowed) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetEffectAllowed(const nsAString & aEffectAllowed) = 0;
41 :
42 : /* readonly attribute nsIDOMFileList files; */
43 : NS_SCRIPTABLE NS_IMETHOD GetFiles(nsIDOMFileList * *aFiles) = 0;
44 :
45 : /* readonly attribute nsIDOMDOMStringList types; */
46 : NS_SCRIPTABLE NS_IMETHOD GetTypes(nsIDOMDOMStringList * *aTypes) = 0;
47 :
48 : /* void clearData ([optional] in DOMString format); */
49 : NS_SCRIPTABLE NS_IMETHOD ClearData(const nsAString & format) = 0;
50 :
51 : /* void setData (in DOMString format, in DOMString data); */
52 : NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & format, const nsAString & data) = 0;
53 :
54 : /* DOMString getData (in DOMString format); */
55 : NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & format, nsAString & _retval NS_OUTPARAM) = 0;
56 :
57 : /* void setDragImage (in nsIDOMElement image, in long x, in long y); */
58 : NS_SCRIPTABLE NS_IMETHOD SetDragImage(nsIDOMElement *image, PRInt32 x, PRInt32 y) = 0;
59 :
60 : /* void addElement (in nsIDOMElement element); */
61 : NS_SCRIPTABLE NS_IMETHOD AddElement(nsIDOMElement *element) = 0;
62 :
63 : /* readonly attribute unsigned long mozItemCount; */
64 : NS_SCRIPTABLE NS_IMETHOD GetMozItemCount(PRUint32 *aMozItemCount) = 0;
65 :
66 : /* attribute DOMString mozCursor; */
67 : NS_SCRIPTABLE NS_IMETHOD GetMozCursor(nsAString & aMozCursor) = 0;
68 : NS_SCRIPTABLE NS_IMETHOD SetMozCursor(const nsAString & aMozCursor) = 0;
69 :
70 : /* nsIDOMDOMStringList mozTypesAt (in unsigned long index); */
71 : NS_SCRIPTABLE NS_IMETHOD MozTypesAt(PRUint32 index, nsIDOMDOMStringList * *_retval NS_OUTPARAM) = 0;
72 :
73 : /* void mozClearDataAt (in DOMString format, in unsigned long index); */
74 : NS_SCRIPTABLE NS_IMETHOD MozClearDataAt(const nsAString & format, PRUint32 index) = 0;
75 :
76 : /* void mozSetDataAt (in DOMString format, in nsIVariant data, in unsigned long index); */
77 : NS_SCRIPTABLE NS_IMETHOD MozSetDataAt(const nsAString & format, nsIVariant *data, PRUint32 index) = 0;
78 :
79 : /* nsIVariant mozGetDataAt (in DOMString format, in unsigned long index); */
80 : NS_SCRIPTABLE NS_IMETHOD MozGetDataAt(const nsAString & format, PRUint32 index, nsIVariant * *_retval NS_OUTPARAM) = 0;
81 :
82 : /* readonly attribute boolean mozUserCancelled; */
83 : NS_SCRIPTABLE NS_IMETHOD GetMozUserCancelled(bool *aMozUserCancelled) = 0;
84 :
85 : /* readonly attribute nsIDOMNode mozSourceNode; */
86 : NS_SCRIPTABLE NS_IMETHOD GetMozSourceNode(nsIDOMNode * *aMozSourceNode) = 0;
87 :
88 : /* [noscript] attribute unsigned long dropEffectInt; */
89 : NS_IMETHOD GetDropEffectInt(PRUint32 *aDropEffectInt) = 0;
90 : NS_IMETHOD SetDropEffectInt(PRUint32 aDropEffectInt) = 0;
91 :
92 : /* [noscript] attribute unsigned long effectAllowedInt; */
93 : NS_IMETHOD GetEffectAllowedInt(PRUint32 *aEffectAllowedInt) = 0;
94 : NS_IMETHOD SetEffectAllowedInt(PRUint32 aEffectAllowedInt) = 0;
95 :
96 : /* [noscript] nsIDOMDataTransfer clone (in PRUint32 aEventType, in boolean aUserCancelled); */
97 : NS_IMETHOD Clone(PRUint32 aEventType, bool aUserCancelled, nsIDOMDataTransfer * *_retval NS_OUTPARAM) = 0;
98 :
99 : };
100 :
101 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDataTransfer, NS_IDOMDATATRANSFER_IID)
102 :
103 : /* Use this macro when declaring classes that implement this interface. */
104 : #define NS_DECL_NSIDOMDATATRANSFER \
105 : NS_SCRIPTABLE NS_IMETHOD GetDropEffect(nsAString & aDropEffect); \
106 : NS_SCRIPTABLE NS_IMETHOD SetDropEffect(const nsAString & aDropEffect); \
107 : NS_SCRIPTABLE NS_IMETHOD GetEffectAllowed(nsAString & aEffectAllowed); \
108 : NS_SCRIPTABLE NS_IMETHOD SetEffectAllowed(const nsAString & aEffectAllowed); \
109 : NS_SCRIPTABLE NS_IMETHOD GetFiles(nsIDOMFileList * *aFiles); \
110 : NS_SCRIPTABLE NS_IMETHOD GetTypes(nsIDOMDOMStringList * *aTypes); \
111 : NS_SCRIPTABLE NS_IMETHOD ClearData(const nsAString & format); \
112 : NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & format, const nsAString & data); \
113 : NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & format, nsAString & _retval NS_OUTPARAM); \
114 : NS_SCRIPTABLE NS_IMETHOD SetDragImage(nsIDOMElement *image, PRInt32 x, PRInt32 y); \
115 : NS_SCRIPTABLE NS_IMETHOD AddElement(nsIDOMElement *element); \
116 : NS_SCRIPTABLE NS_IMETHOD GetMozItemCount(PRUint32 *aMozItemCount); \
117 : NS_SCRIPTABLE NS_IMETHOD GetMozCursor(nsAString & aMozCursor); \
118 : NS_SCRIPTABLE NS_IMETHOD SetMozCursor(const nsAString & aMozCursor); \
119 : NS_SCRIPTABLE NS_IMETHOD MozTypesAt(PRUint32 index, nsIDOMDOMStringList * *_retval NS_OUTPARAM); \
120 : NS_SCRIPTABLE NS_IMETHOD MozClearDataAt(const nsAString & format, PRUint32 index); \
121 : NS_SCRIPTABLE NS_IMETHOD MozSetDataAt(const nsAString & format, nsIVariant *data, PRUint32 index); \
122 : NS_SCRIPTABLE NS_IMETHOD MozGetDataAt(const nsAString & format, PRUint32 index, nsIVariant * *_retval NS_OUTPARAM); \
123 : NS_SCRIPTABLE NS_IMETHOD GetMozUserCancelled(bool *aMozUserCancelled); \
124 : NS_SCRIPTABLE NS_IMETHOD GetMozSourceNode(nsIDOMNode * *aMozSourceNode); \
125 : NS_IMETHOD GetDropEffectInt(PRUint32 *aDropEffectInt); \
126 : NS_IMETHOD SetDropEffectInt(PRUint32 aDropEffectInt); \
127 : NS_IMETHOD GetEffectAllowedInt(PRUint32 *aEffectAllowedInt); \
128 : NS_IMETHOD SetEffectAllowedInt(PRUint32 aEffectAllowedInt); \
129 : NS_IMETHOD Clone(PRUint32 aEventType, bool aUserCancelled, nsIDOMDataTransfer * *_retval NS_OUTPARAM);
130 :
131 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
132 : #define NS_FORWARD_NSIDOMDATATRANSFER(_to) \
133 : NS_SCRIPTABLE NS_IMETHOD GetDropEffect(nsAString & aDropEffect) { return _to GetDropEffect(aDropEffect); } \
134 : NS_SCRIPTABLE NS_IMETHOD SetDropEffect(const nsAString & aDropEffect) { return _to SetDropEffect(aDropEffect); } \
135 : NS_SCRIPTABLE NS_IMETHOD GetEffectAllowed(nsAString & aEffectAllowed) { return _to GetEffectAllowed(aEffectAllowed); } \
136 : NS_SCRIPTABLE NS_IMETHOD SetEffectAllowed(const nsAString & aEffectAllowed) { return _to SetEffectAllowed(aEffectAllowed); } \
137 : NS_SCRIPTABLE NS_IMETHOD GetFiles(nsIDOMFileList * *aFiles) { return _to GetFiles(aFiles); } \
138 : NS_SCRIPTABLE NS_IMETHOD GetTypes(nsIDOMDOMStringList * *aTypes) { return _to GetTypes(aTypes); } \
139 : NS_SCRIPTABLE NS_IMETHOD ClearData(const nsAString & format) { return _to ClearData(format); } \
140 : NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & format, const nsAString & data) { return _to SetData(format, data); } \
141 : NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & format, nsAString & _retval NS_OUTPARAM) { return _to GetData(format, _retval); } \
142 : NS_SCRIPTABLE NS_IMETHOD SetDragImage(nsIDOMElement *image, PRInt32 x, PRInt32 y) { return _to SetDragImage(image, x, y); } \
143 : NS_SCRIPTABLE NS_IMETHOD AddElement(nsIDOMElement *element) { return _to AddElement(element); } \
144 : NS_SCRIPTABLE NS_IMETHOD GetMozItemCount(PRUint32 *aMozItemCount) { return _to GetMozItemCount(aMozItemCount); } \
145 : NS_SCRIPTABLE NS_IMETHOD GetMozCursor(nsAString & aMozCursor) { return _to GetMozCursor(aMozCursor); } \
146 : NS_SCRIPTABLE NS_IMETHOD SetMozCursor(const nsAString & aMozCursor) { return _to SetMozCursor(aMozCursor); } \
147 : NS_SCRIPTABLE NS_IMETHOD MozTypesAt(PRUint32 index, nsIDOMDOMStringList * *_retval NS_OUTPARAM) { return _to MozTypesAt(index, _retval); } \
148 : NS_SCRIPTABLE NS_IMETHOD MozClearDataAt(const nsAString & format, PRUint32 index) { return _to MozClearDataAt(format, index); } \
149 : NS_SCRIPTABLE NS_IMETHOD MozSetDataAt(const nsAString & format, nsIVariant *data, PRUint32 index) { return _to MozSetDataAt(format, data, index); } \
150 : NS_SCRIPTABLE NS_IMETHOD MozGetDataAt(const nsAString & format, PRUint32 index, nsIVariant * *_retval NS_OUTPARAM) { return _to MozGetDataAt(format, index, _retval); } \
151 : NS_SCRIPTABLE NS_IMETHOD GetMozUserCancelled(bool *aMozUserCancelled) { return _to GetMozUserCancelled(aMozUserCancelled); } \
152 : NS_SCRIPTABLE NS_IMETHOD GetMozSourceNode(nsIDOMNode * *aMozSourceNode) { return _to GetMozSourceNode(aMozSourceNode); } \
153 : NS_IMETHOD GetDropEffectInt(PRUint32 *aDropEffectInt) { return _to GetDropEffectInt(aDropEffectInt); } \
154 : NS_IMETHOD SetDropEffectInt(PRUint32 aDropEffectInt) { return _to SetDropEffectInt(aDropEffectInt); } \
155 : NS_IMETHOD GetEffectAllowedInt(PRUint32 *aEffectAllowedInt) { return _to GetEffectAllowedInt(aEffectAllowedInt); } \
156 : NS_IMETHOD SetEffectAllowedInt(PRUint32 aEffectAllowedInt) { return _to SetEffectAllowedInt(aEffectAllowedInt); } \
157 : NS_IMETHOD Clone(PRUint32 aEventType, bool aUserCancelled, nsIDOMDataTransfer * *_retval NS_OUTPARAM) { return _to Clone(aEventType, aUserCancelled, _retval); }
158 :
159 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
160 : #define NS_FORWARD_SAFE_NSIDOMDATATRANSFER(_to) \
161 : NS_SCRIPTABLE NS_IMETHOD GetDropEffect(nsAString & aDropEffect) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDropEffect(aDropEffect); } \
162 : NS_SCRIPTABLE NS_IMETHOD SetDropEffect(const nsAString & aDropEffect) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDropEffect(aDropEffect); } \
163 : NS_SCRIPTABLE NS_IMETHOD GetEffectAllowed(nsAString & aEffectAllowed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEffectAllowed(aEffectAllowed); } \
164 : NS_SCRIPTABLE NS_IMETHOD SetEffectAllowed(const nsAString & aEffectAllowed) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEffectAllowed(aEffectAllowed); } \
165 : NS_SCRIPTABLE NS_IMETHOD GetFiles(nsIDOMFileList * *aFiles) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFiles(aFiles); } \
166 : NS_SCRIPTABLE NS_IMETHOD GetTypes(nsIDOMDOMStringList * *aTypes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTypes(aTypes); } \
167 : NS_SCRIPTABLE NS_IMETHOD ClearData(const nsAString & format) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearData(format); } \
168 : NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & format, const nsAString & data) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(format, data); } \
169 : NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & format, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(format, _retval); } \
170 : NS_SCRIPTABLE NS_IMETHOD SetDragImage(nsIDOMElement *image, PRInt32 x, PRInt32 y) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDragImage(image, x, y); } \
171 : NS_SCRIPTABLE NS_IMETHOD AddElement(nsIDOMElement *element) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddElement(element); } \
172 : NS_SCRIPTABLE NS_IMETHOD GetMozItemCount(PRUint32 *aMozItemCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozItemCount(aMozItemCount); } \
173 : NS_SCRIPTABLE NS_IMETHOD GetMozCursor(nsAString & aMozCursor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozCursor(aMozCursor); } \
174 : NS_SCRIPTABLE NS_IMETHOD SetMozCursor(const nsAString & aMozCursor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMozCursor(aMozCursor); } \
175 : NS_SCRIPTABLE NS_IMETHOD MozTypesAt(PRUint32 index, nsIDOMDOMStringList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozTypesAt(index, _retval); } \
176 : NS_SCRIPTABLE NS_IMETHOD MozClearDataAt(const nsAString & format, PRUint32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozClearDataAt(format, index); } \
177 : NS_SCRIPTABLE NS_IMETHOD MozSetDataAt(const nsAString & format, nsIVariant *data, PRUint32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozSetDataAt(format, data, index); } \
178 : NS_SCRIPTABLE NS_IMETHOD MozGetDataAt(const nsAString & format, PRUint32 index, nsIVariant * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozGetDataAt(format, index, _retval); } \
179 : NS_SCRIPTABLE NS_IMETHOD GetMozUserCancelled(bool *aMozUserCancelled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozUserCancelled(aMozUserCancelled); } \
180 : NS_SCRIPTABLE NS_IMETHOD GetMozSourceNode(nsIDOMNode * *aMozSourceNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozSourceNode(aMozSourceNode); } \
181 : NS_IMETHOD GetDropEffectInt(PRUint32 *aDropEffectInt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDropEffectInt(aDropEffectInt); } \
182 : NS_IMETHOD SetDropEffectInt(PRUint32 aDropEffectInt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDropEffectInt(aDropEffectInt); } \
183 : NS_IMETHOD GetEffectAllowedInt(PRUint32 *aEffectAllowedInt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEffectAllowedInt(aEffectAllowedInt); } \
184 : NS_IMETHOD SetEffectAllowedInt(PRUint32 aEffectAllowedInt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEffectAllowedInt(aEffectAllowedInt); } \
185 : NS_IMETHOD Clone(PRUint32 aEventType, bool aUserCancelled, nsIDOMDataTransfer * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(aEventType, aUserCancelled, _retval); }
186 :
187 : #if 0
188 : /* Use the code below as a template for the implementation class for this interface. */
189 :
190 : /* Header file */
191 : class nsDOMDataTransfer : public nsIDOMDataTransfer
192 : {
193 : public:
194 : NS_DECL_ISUPPORTS
195 : NS_DECL_NSIDOMDATATRANSFER
196 :
197 : nsDOMDataTransfer();
198 :
199 : private:
200 : ~nsDOMDataTransfer();
201 :
202 : protected:
203 : /* additional members */
204 : };
205 :
206 : /* Implementation file */
207 : NS_IMPL_ISUPPORTS1(nsDOMDataTransfer, nsIDOMDataTransfer)
208 :
209 : nsDOMDataTransfer::nsDOMDataTransfer()
210 : {
211 : /* member initializers and constructor code */
212 : }
213 :
214 : nsDOMDataTransfer::~nsDOMDataTransfer()
215 : {
216 : /* destructor code */
217 : }
218 :
219 : /* attribute DOMString dropEffect; */
220 : NS_IMETHODIMP nsDOMDataTransfer::GetDropEffect(nsAString & aDropEffect)
221 : {
222 : return NS_ERROR_NOT_IMPLEMENTED;
223 : }
224 : NS_IMETHODIMP nsDOMDataTransfer::SetDropEffect(const nsAString & aDropEffect)
225 : {
226 : return NS_ERROR_NOT_IMPLEMENTED;
227 : }
228 :
229 : /* attribute DOMString effectAllowed; */
230 : NS_IMETHODIMP nsDOMDataTransfer::GetEffectAllowed(nsAString & aEffectAllowed)
231 : {
232 : return NS_ERROR_NOT_IMPLEMENTED;
233 : }
234 : NS_IMETHODIMP nsDOMDataTransfer::SetEffectAllowed(const nsAString & aEffectAllowed)
235 : {
236 : return NS_ERROR_NOT_IMPLEMENTED;
237 : }
238 :
239 : /* readonly attribute nsIDOMFileList files; */
240 : NS_IMETHODIMP nsDOMDataTransfer::GetFiles(nsIDOMFileList * *aFiles)
241 : {
242 : return NS_ERROR_NOT_IMPLEMENTED;
243 : }
244 :
245 : /* readonly attribute nsIDOMDOMStringList types; */
246 : NS_IMETHODIMP nsDOMDataTransfer::GetTypes(nsIDOMDOMStringList * *aTypes)
247 : {
248 : return NS_ERROR_NOT_IMPLEMENTED;
249 : }
250 :
251 : /* void clearData ([optional] in DOMString format); */
252 : NS_IMETHODIMP nsDOMDataTransfer::ClearData(const nsAString & format)
253 : {
254 : return NS_ERROR_NOT_IMPLEMENTED;
255 : }
256 :
257 : /* void setData (in DOMString format, in DOMString data); */
258 : NS_IMETHODIMP nsDOMDataTransfer::SetData(const nsAString & format, const nsAString & data)
259 : {
260 : return NS_ERROR_NOT_IMPLEMENTED;
261 : }
262 :
263 : /* DOMString getData (in DOMString format); */
264 : NS_IMETHODIMP nsDOMDataTransfer::GetData(const nsAString & format, nsAString & _retval NS_OUTPARAM)
265 : {
266 : return NS_ERROR_NOT_IMPLEMENTED;
267 : }
268 :
269 : /* void setDragImage (in nsIDOMElement image, in long x, in long y); */
270 : NS_IMETHODIMP nsDOMDataTransfer::SetDragImage(nsIDOMElement *image, PRInt32 x, PRInt32 y)
271 : {
272 : return NS_ERROR_NOT_IMPLEMENTED;
273 : }
274 :
275 : /* void addElement (in nsIDOMElement element); */
276 : NS_IMETHODIMP nsDOMDataTransfer::AddElement(nsIDOMElement *element)
277 : {
278 : return NS_ERROR_NOT_IMPLEMENTED;
279 : }
280 :
281 : /* readonly attribute unsigned long mozItemCount; */
282 : NS_IMETHODIMP nsDOMDataTransfer::GetMozItemCount(PRUint32 *aMozItemCount)
283 : {
284 : return NS_ERROR_NOT_IMPLEMENTED;
285 : }
286 :
287 : /* attribute DOMString mozCursor; */
288 : NS_IMETHODIMP nsDOMDataTransfer::GetMozCursor(nsAString & aMozCursor)
289 : {
290 : return NS_ERROR_NOT_IMPLEMENTED;
291 : }
292 : NS_IMETHODIMP nsDOMDataTransfer::SetMozCursor(const nsAString & aMozCursor)
293 : {
294 : return NS_ERROR_NOT_IMPLEMENTED;
295 : }
296 :
297 : /* nsIDOMDOMStringList mozTypesAt (in unsigned long index); */
298 : NS_IMETHODIMP nsDOMDataTransfer::MozTypesAt(PRUint32 index, nsIDOMDOMStringList * *_retval NS_OUTPARAM)
299 : {
300 : return NS_ERROR_NOT_IMPLEMENTED;
301 : }
302 :
303 : /* void mozClearDataAt (in DOMString format, in unsigned long index); */
304 : NS_IMETHODIMP nsDOMDataTransfer::MozClearDataAt(const nsAString & format, PRUint32 index)
305 : {
306 : return NS_ERROR_NOT_IMPLEMENTED;
307 : }
308 :
309 : /* void mozSetDataAt (in DOMString format, in nsIVariant data, in unsigned long index); */
310 : NS_IMETHODIMP nsDOMDataTransfer::MozSetDataAt(const nsAString & format, nsIVariant *data, PRUint32 index)
311 : {
312 : return NS_ERROR_NOT_IMPLEMENTED;
313 : }
314 :
315 : /* nsIVariant mozGetDataAt (in DOMString format, in unsigned long index); */
316 : NS_IMETHODIMP nsDOMDataTransfer::MozGetDataAt(const nsAString & format, PRUint32 index, nsIVariant * *_retval NS_OUTPARAM)
317 : {
318 : return NS_ERROR_NOT_IMPLEMENTED;
319 : }
320 :
321 : /* readonly attribute boolean mozUserCancelled; */
322 : NS_IMETHODIMP nsDOMDataTransfer::GetMozUserCancelled(bool *aMozUserCancelled)
323 : {
324 : return NS_ERROR_NOT_IMPLEMENTED;
325 : }
326 :
327 : /* readonly attribute nsIDOMNode mozSourceNode; */
328 : NS_IMETHODIMP nsDOMDataTransfer::GetMozSourceNode(nsIDOMNode * *aMozSourceNode)
329 : {
330 : return NS_ERROR_NOT_IMPLEMENTED;
331 : }
332 :
333 : /* [noscript] attribute unsigned long dropEffectInt; */
334 : NS_IMETHODIMP nsDOMDataTransfer::GetDropEffectInt(PRUint32 *aDropEffectInt)
335 : {
336 : return NS_ERROR_NOT_IMPLEMENTED;
337 : }
338 : NS_IMETHODIMP nsDOMDataTransfer::SetDropEffectInt(PRUint32 aDropEffectInt)
339 : {
340 : return NS_ERROR_NOT_IMPLEMENTED;
341 : }
342 :
343 : /* [noscript] attribute unsigned long effectAllowedInt; */
344 : NS_IMETHODIMP nsDOMDataTransfer::GetEffectAllowedInt(PRUint32 *aEffectAllowedInt)
345 : {
346 : return NS_ERROR_NOT_IMPLEMENTED;
347 : }
348 : NS_IMETHODIMP nsDOMDataTransfer::SetEffectAllowedInt(PRUint32 aEffectAllowedInt)
349 : {
350 : return NS_ERROR_NOT_IMPLEMENTED;
351 : }
352 :
353 : /* [noscript] nsIDOMDataTransfer clone (in PRUint32 aEventType, in boolean aUserCancelled); */
354 : NS_IMETHODIMP nsDOMDataTransfer::Clone(PRUint32 aEventType, bool aUserCancelled, nsIDOMDataTransfer * *_retval NS_OUTPARAM)
355 : {
356 : return NS_ERROR_NOT_IMPLEMENTED;
357 : }
358 :
359 : /* End of implementation class template. */
360 : #endif
361 :
362 :
363 : #endif /* __gen_nsIDOMDataTransfer_h__ */
|