1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMScrollAreaEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMScrollAreaEvent_h__
6 : #define __gen_nsIDOMScrollAreaEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMUIEvent_h__
10 : #include "nsIDOMUIEvent.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 :
18 : /* starting interface: nsIDOMScrollAreaEvent */
19 : #define NS_IDOMSCROLLAREAEVENT_IID_STR "a382424b-464f-475f-8880-f4ceaca9fde9"
20 :
21 : #define NS_IDOMSCROLLAREAEVENT_IID \
22 : {0xa382424b, 0x464f, 0x475f, \
23 : { 0x88, 0x80, 0xf4, 0xce, 0xac, 0xa9, 0xfd, 0xe9 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMScrollAreaEvent : public nsIDOMUIEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSCROLLAREAEVENT_IID)
29 :
30 : /* readonly attribute float x; */
31 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) = 0;
32 :
33 : /* readonly attribute float y; */
34 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) = 0;
35 :
36 : /* readonly attribute float width; */
37 : NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) = 0;
38 :
39 : /* readonly attribute float height; */
40 : NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) = 0;
41 :
42 : /* void initScrollAreaEvent (in DOMString aEventType, in boolean aCanBubble, in boolean aCancelable, in nsIDOMWindow aView, in long aDetail, in float x, in float y, in float width, in float height); */
43 : NS_SCRIPTABLE NS_IMETHOD InitScrollAreaEvent(const nsAString & aEventType, bool aCanBubble, bool aCancelable, nsIDOMWindow *aView, PRInt32 aDetail, float x, float y, float width, float height) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMScrollAreaEvent, NS_IDOMSCROLLAREAEVENT_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_NSIDOMSCROLLAREAEVENT \
51 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX); \
52 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY); \
53 : NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth); \
54 : NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight); \
55 : NS_SCRIPTABLE NS_IMETHOD InitScrollAreaEvent(const nsAString & aEventType, bool aCanBubble, bool aCancelable, nsIDOMWindow *aView, PRInt32 aDetail, float x, float y, float width, float height);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIDOMSCROLLAREAEVENT(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) { return _to GetX(aX); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) { return _to GetY(aY); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) { return _to GetWidth(aWidth); } \
62 : NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) { return _to GetHeight(aHeight); } \
63 : NS_SCRIPTABLE NS_IMETHOD InitScrollAreaEvent(const nsAString & aEventType, bool aCanBubble, bool aCancelable, nsIDOMWindow *aView, PRInt32 aDetail, float x, float y, float width, float height) { return _to InitScrollAreaEvent(aEventType, aCanBubble, aCancelable, aView, aDetail, x, y, width, height); }
64 :
65 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
66 : #define NS_FORWARD_SAFE_NSIDOMSCROLLAREAEVENT(_to) \
67 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
68 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
69 : NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
71 : NS_SCRIPTABLE NS_IMETHOD InitScrollAreaEvent(const nsAString & aEventType, bool aCanBubble, bool aCancelable, nsIDOMWindow *aView, PRInt32 aDetail, float x, float y, float width, float height) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitScrollAreaEvent(aEventType, aCanBubble, aCancelable, aView, aDetail, x, y, width, height); }
72 :
73 : #if 0
74 : /* Use the code below as a template for the implementation class for this interface. */
75 :
76 : /* Header file */
77 : class nsDOMScrollAreaEvent : public nsIDOMScrollAreaEvent
78 : {
79 : public:
80 : NS_DECL_ISUPPORTS
81 : NS_DECL_NSIDOMSCROLLAREAEVENT
82 :
83 : nsDOMScrollAreaEvent();
84 :
85 : private:
86 : ~nsDOMScrollAreaEvent();
87 :
88 : protected:
89 : /* additional members */
90 : };
91 :
92 : /* Implementation file */
93 : NS_IMPL_ISUPPORTS1(nsDOMScrollAreaEvent, nsIDOMScrollAreaEvent)
94 :
95 : nsDOMScrollAreaEvent::nsDOMScrollAreaEvent()
96 : {
97 : /* member initializers and constructor code */
98 : }
99 :
100 : nsDOMScrollAreaEvent::~nsDOMScrollAreaEvent()
101 : {
102 : /* destructor code */
103 : }
104 :
105 : /* readonly attribute float x; */
106 : NS_IMETHODIMP nsDOMScrollAreaEvent::GetX(float *aX)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* readonly attribute float y; */
112 : NS_IMETHODIMP nsDOMScrollAreaEvent::GetY(float *aY)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* readonly attribute float width; */
118 : NS_IMETHODIMP nsDOMScrollAreaEvent::GetWidth(float *aWidth)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* readonly attribute float height; */
124 : NS_IMETHODIMP nsDOMScrollAreaEvent::GetHeight(float *aHeight)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* void initScrollAreaEvent (in DOMString aEventType, in boolean aCanBubble, in boolean aCancelable, in nsIDOMWindow aView, in long aDetail, in float x, in float y, in float width, in float height); */
130 : NS_IMETHODIMP nsDOMScrollAreaEvent::InitScrollAreaEvent(const nsAString & aEventType, bool aCanBubble, bool aCancelable, nsIDOMWindow *aView, PRInt32 aDetail, float x, float y, float width, float height)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* End of implementation class template. */
136 : #endif
137 :
138 :
139 : #endif /* __gen_nsIDOMScrollAreaEvent_h__ */
|