1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMNotifyPaintEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMNotifyPaintEvent_h__
6 : #define __gen_nsIDOMNotifyPaintEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMEvent_h__
10 : #include "nsIDOMEvent.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 nsIDOMPaintRequestList; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMNotifyPaintEvent */
21 : #define NS_IDOMNOTIFYPAINTEVENT_IID_STR "5e9e91ad-8638-4e1c-bded-35b51b6df279"
22 :
23 : #define NS_IDOMNOTIFYPAINTEVENT_IID \
24 : {0x5e9e91ad, 0x8638, 0x4e1c, \
25 : { 0xbd, 0xed, 0x35, 0xb5, 0x1b, 0x6d, 0xf2, 0x79 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMNotifyPaintEvent : public nsIDOMEvent {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNOTIFYPAINTEVENT_IID)
31 :
32 : /* readonly attribute nsIDOMClientRectList clientRects; */
33 : NS_SCRIPTABLE NS_IMETHOD GetClientRects(nsIDOMClientRectList * *aClientRects) = 0;
34 :
35 : /* readonly attribute nsIDOMClientRect boundingClientRect; */
36 : NS_SCRIPTABLE NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *aBoundingClientRect) = 0;
37 :
38 : /* readonly attribute nsIDOMPaintRequestList paintRequests; */
39 : NS_SCRIPTABLE NS_IMETHOD GetPaintRequests(nsIDOMPaintRequestList * *aPaintRequests) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNotifyPaintEvent, NS_IDOMNOTIFYPAINTEVENT_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIDOMNOTIFYPAINTEVENT \
47 : NS_SCRIPTABLE NS_IMETHOD GetClientRects(nsIDOMClientRectList * *aClientRects); \
48 : NS_SCRIPTABLE NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *aBoundingClientRect); \
49 : NS_SCRIPTABLE NS_IMETHOD GetPaintRequests(nsIDOMPaintRequestList * *aPaintRequests);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIDOMNOTIFYPAINTEVENT(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetClientRects(nsIDOMClientRectList * *aClientRects) { return _to GetClientRects(aClientRects); } \
54 : NS_SCRIPTABLE NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *aBoundingClientRect) { return _to GetBoundingClientRect(aBoundingClientRect); } \
55 : NS_SCRIPTABLE NS_IMETHOD GetPaintRequests(nsIDOMPaintRequestList * *aPaintRequests) { return _to GetPaintRequests(aPaintRequests); }
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
58 : #define NS_FORWARD_SAFE_NSIDOMNOTIFYPAINTEVENT(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetClientRects(nsIDOMClientRectList * *aClientRects) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientRects(aClientRects); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *aBoundingClientRect) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoundingClientRect(aBoundingClientRect); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetPaintRequests(nsIDOMPaintRequestList * *aPaintRequests) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPaintRequests(aPaintRequests); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMNotifyPaintEvent : public nsIDOMNotifyPaintEvent
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMNOTIFYPAINTEVENT
72 :
73 : nsDOMNotifyPaintEvent();
74 :
75 : private:
76 : ~nsDOMNotifyPaintEvent();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMNotifyPaintEvent, nsIDOMNotifyPaintEvent)
84 :
85 : nsDOMNotifyPaintEvent::nsDOMNotifyPaintEvent()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMNotifyPaintEvent::~nsDOMNotifyPaintEvent()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* readonly attribute nsIDOMClientRectList clientRects; */
96 : NS_IMETHODIMP nsDOMNotifyPaintEvent::GetClientRects(nsIDOMClientRectList * *aClientRects)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* readonly attribute nsIDOMClientRect boundingClientRect; */
102 : NS_IMETHODIMP nsDOMNotifyPaintEvent::GetBoundingClientRect(nsIDOMClientRect * *aBoundingClientRect)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* readonly attribute nsIDOMPaintRequestList paintRequests; */
108 : NS_IMETHODIMP nsDOMNotifyPaintEvent::GetPaintRequests(nsIDOMPaintRequestList * *aPaintRequests)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* End of implementation class template. */
114 : #endif
115 :
116 :
117 : #endif /* __gen_nsIDOMNotifyPaintEvent_h__ */
|