Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMDragEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMDragEvent_h__
6 : #define __gen_nsIDOMDragEvent_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIDOMMouseEvent_h__
14 : #include "nsIDOMMouseEvent.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : class nsIDOMDataTransfer; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIDOMDragEvent */
25 : #define NS_IDOMDRAGEVENT_IID_STR "d5c0d4c2-c646-4b4b-836e-48408b9c7b80"
26 :
27 : #define NS_IDOMDRAGEVENT_IID \
28 : {0xd5c0d4c2, 0xc646, 0x4b4b, \
29 : { 0x83, 0x6e, 0x48, 0x40, 0x8b, 0x9c, 0x7b, 0x80 }}
30 :
31 0 : class NS_NO_VTABLE nsIDOMDragEvent : public nsIDOMMouseEvent {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDRAGEVENT_IID)
35 :
36 : /* readonly attribute nsIDOMDataTransfer dataTransfer; */
37 : NS_IMETHOD GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDragEvent, NS_IDOMDRAGEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIDOMDRAGEVENT \
45 : NS_IMETHOD GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer) override;
46 :
47 : /* Use this macro when declaring the members of this interface when the
48 : class doesn't implement the interface. This is useful for forwarding. */
49 : #define NS_DECL_NON_VIRTUAL_NSIDOMDRAGEVENT \
50 : nsresult GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer);
51 :
52 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
53 : #define NS_FORWARD_NSIDOMDRAGEVENT(_to) \
54 : NS_IMETHOD GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer) override { return _to GetDataTransfer(aDataTransfer); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIDOMDRAGEVENT(_to) \
58 : NS_IMETHOD GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataTransfer(aDataTransfer); }
59 :
60 : #if 0
61 : /* Use the code below as a template for the implementation class for this interface. */
62 :
63 : /* Header file */
64 : class nsDOMDragEvent : public nsIDOMDragEvent
65 : {
66 : public:
67 : NS_DECL_ISUPPORTS
68 : NS_DECL_NSIDOMDRAGEVENT
69 :
70 : nsDOMDragEvent();
71 :
72 : private:
73 : ~nsDOMDragEvent();
74 :
75 : protected:
76 : /* additional members */
77 : };
78 :
79 : /* Implementation file */
80 : NS_IMPL_ISUPPORTS(nsDOMDragEvent, nsIDOMDragEvent)
81 :
82 : nsDOMDragEvent::nsDOMDragEvent()
83 : {
84 : /* member initializers and constructor code */
85 : }
86 :
87 : nsDOMDragEvent::~nsDOMDragEvent()
88 : {
89 : /* destructor code */
90 : }
91 :
92 : /* readonly attribute nsIDOMDataTransfer dataTransfer; */
93 : NS_IMETHODIMP nsDOMDragEvent::GetDataTransfer(nsIDOMDataTransfer * *aDataTransfer)
94 : {
95 : return NS_ERROR_NOT_IMPLEMENTED;
96 : }
97 :
98 : /* End of implementation class template. */
99 : #endif
100 :
101 :
102 : #endif /* __gen_nsIDOMDragEvent_h__ */
|