1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMPaintRequestList.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMPaintRequestList_h__
6 : #define __gen_nsIDOMPaintRequestList_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 nsIDOMPaintRequest; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMPaintRequestList */
21 : #define NS_IDOMPAINTREQUESTLIST_IID_STR "01627136-fdd8-44b4-aac0-7d613608a3d4"
22 :
23 : #define NS_IDOMPAINTREQUESTLIST_IID \
24 : {0x01627136, 0xfdd8, 0x44b4, \
25 : { 0xaa, 0xc0, 0x7d, 0x61, 0x36, 0x08, 0xa3, 0xd4 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMPaintRequestList : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPAINTREQUESTLIST_IID)
31 :
32 : /* readonly attribute unsigned long length; */
33 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
34 :
35 : /* [forward(getItemAt),getter] nsIDOMPaintRequest item (in unsigned long index); */
36 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMPaintRequest * *_retval NS_OUTPARAM) = 0;
37 :
38 : /* [noscript,nostdcall,notxpcom] nsIDOMPaintRequest getItemAt (in unsigned long index); */
39 : virtual nsIDOMPaintRequest * GetItemAt(PRUint32 index) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPaintRequestList, NS_IDOMPAINTREQUESTLIST_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIDOMPAINTREQUESTLIST \
47 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
48 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMPaintRequest * *_retval NS_OUTPARAM); \
49 : virtual nsIDOMPaintRequest * GetItemAt(PRUint32 index);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIDOMPAINTREQUESTLIST(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
54 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMPaintRequest * *_retval NS_OUTPARAM) { return _to Item(index, _retval); } \
55 : virtual nsIDOMPaintRequest * GetItemAt(PRUint32 index) { return _to GetItemAt(index); }
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_NSIDOMPAINTREQUESTLIST(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
60 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMPaintRequest * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
61 : virtual nsIDOMPaintRequest * GetItemAt(PRUint32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemAt(index); }
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 nsDOMPaintRequestList : public nsIDOMPaintRequestList
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMPAINTREQUESTLIST
72 :
73 : nsDOMPaintRequestList();
74 :
75 : private:
76 : ~nsDOMPaintRequestList();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMPaintRequestList, nsIDOMPaintRequestList)
84 :
85 : nsDOMPaintRequestList::nsDOMPaintRequestList()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMPaintRequestList::~nsDOMPaintRequestList()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* readonly attribute unsigned long length; */
96 : NS_IMETHODIMP nsDOMPaintRequestList::GetLength(PRUint32 *aLength)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* [forward(getItemAt),getter] nsIDOMPaintRequest item (in unsigned long index); */
102 : NS_IMETHODIMP nsDOMPaintRequestList::Item(PRUint32 index, nsIDOMPaintRequest * *_retval NS_OUTPARAM)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* [noscript,nostdcall,notxpcom] nsIDOMPaintRequest getItemAt (in unsigned long index); */
108 : nsIDOMPaintRequest * nsDOMPaintRequestList::GetItemAt(PRUint32 index)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* End of implementation class template. */
114 : #endif
115 :
116 :
117 : #endif /* __gen_nsIDOMPaintRequestList_h__ */
|