1 : /* THIS FILE IS AUTOGENERATED - DO NOT EDIT */
2 :
3 : #ifndef __gen_dombindings_gen_h__
4 : #define __gen_dombindings_gen_h__
5 :
6 : namespace mozilla {
7 : class DOMSVGLengthList;
8 : class DOMSVGNumberList;
9 : class DOMSVGPathSegList;
10 : class DOMSVGPointList;
11 : class DOMSVGTransformList;
12 : }
13 : class nsClientRectList;
14 : class nsDOMFileList;
15 : class nsDOMSettableTokenList;
16 : class nsDOMTokenList;
17 : class nsHTMLOptionCollection;
18 : class nsIHTMLCollection;
19 : class nsINodeList;
20 : class nsPaintRequestList;
21 :
22 : namespace mozilla {
23 : namespace dom {
24 : namespace binding {
25 :
26 : bool
27 : DefinePropertyStaticJSVals(JSContext *cx);
28 :
29 : class ClientRectList {
30 : public:
31 : template<typename I>
32 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
33 : {
34 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
35 : }
36 :
37 : static bool objIsWrapper(JSObject *obj);
38 : static nsClientRectList *getNative(JSObject *obj);
39 :
40 : private:
41 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsClientRectList *list, nsWrapperCache *cache, bool *triedToWrap);
42 : };
43 :
44 : class DOMTokenList {
45 : public:
46 : template<typename I>
47 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
48 : {
49 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
50 : }
51 :
52 : static bool objIsWrapper(JSObject *obj);
53 : static nsDOMTokenList *getNative(JSObject *obj);
54 :
55 : private:
56 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMTokenList *list, nsWrapperCache *cache, bool *triedToWrap);
57 : };
58 :
59 : class NodeList {
60 : public:
61 : template<typename I>
62 1637 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
63 : {
64 1637 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
65 : }
66 :
67 : static bool objIsWrapper(JSObject *obj);
68 : static nsINodeList *getNative(JSObject *obj);
69 :
70 : private:
71 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsINodeList *list, nsWrapperCache *cache, bool *triedToWrap);
72 : };
73 :
74 : class HTMLCollection {
75 : public:
76 : template<typename I>
77 2684 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
78 : {
79 2684 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
80 : }
81 :
82 : static bool objIsWrapper(JSObject *obj);
83 : static nsIHTMLCollection *getNative(JSObject *obj);
84 :
85 : private:
86 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsIHTMLCollection *list, nsWrapperCache *cache, bool *triedToWrap);
87 : };
88 :
89 : class SVGPathSegList {
90 : public:
91 : template<typename I>
92 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
93 : {
94 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
95 : }
96 :
97 : static bool objIsWrapper(JSObject *obj);
98 : static mozilla::DOMSVGPathSegList *getNative(JSObject *obj);
99 :
100 : private:
101 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGPathSegList *list, nsWrapperCache *cache, bool *triedToWrap);
102 : };
103 :
104 : class PaintRequestList {
105 : public:
106 : template<typename I>
107 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
108 : {
109 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
110 : }
111 :
112 : static bool objIsWrapper(JSObject *obj);
113 : static nsPaintRequestList *getNative(JSObject *obj);
114 :
115 : private:
116 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsPaintRequestList *list, nsWrapperCache *cache, bool *triedToWrap);
117 : };
118 :
119 : class FileList {
120 : public:
121 : template<typename I>
122 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
123 : {
124 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
125 : }
126 :
127 : static bool objIsWrapper(JSObject *obj);
128 : static nsDOMFileList *getNative(JSObject *obj);
129 :
130 : private:
131 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMFileList *list, nsWrapperCache *cache, bool *triedToWrap);
132 : };
133 :
134 : class SVGLengthList {
135 : public:
136 : template<typename I>
137 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
138 : {
139 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
140 : }
141 :
142 : static bool objIsWrapper(JSObject *obj);
143 : static mozilla::DOMSVGLengthList *getNative(JSObject *obj);
144 :
145 : private:
146 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGLengthList *list, nsWrapperCache *cache, bool *triedToWrap);
147 : };
148 :
149 : class SVGTransformList {
150 : public:
151 : template<typename I>
152 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
153 : {
154 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
155 : }
156 :
157 : static bool objIsWrapper(JSObject *obj);
158 : static mozilla::DOMSVGTransformList *getNative(JSObject *obj);
159 :
160 : private:
161 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGTransformList *list, nsWrapperCache *cache, bool *triedToWrap);
162 : };
163 :
164 : class DOMSettableTokenList {
165 : public:
166 : template<typename I>
167 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
168 : {
169 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
170 : }
171 :
172 : static bool objIsWrapper(JSObject *obj);
173 : static nsDOMSettableTokenList *getNative(JSObject *obj);
174 :
175 : private:
176 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMSettableTokenList *list, nsWrapperCache *cache, bool *triedToWrap);
177 : };
178 :
179 : class SVGPointList {
180 : public:
181 : template<typename I>
182 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
183 : {
184 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
185 : }
186 :
187 : static bool objIsWrapper(JSObject *obj);
188 : static mozilla::DOMSVGPointList *getNative(JSObject *obj);
189 :
190 : private:
191 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGPointList *list, nsWrapperCache *cache, bool *triedToWrap);
192 : };
193 :
194 : class SVGNumberList {
195 : public:
196 : template<typename I>
197 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
198 : {
199 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
200 : }
201 :
202 : static bool objIsWrapper(JSObject *obj);
203 : static mozilla::DOMSVGNumberList *getNative(JSObject *obj);
204 :
205 : private:
206 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGNumberList *list, nsWrapperCache *cache, bool *triedToWrap);
207 : };
208 :
209 : class HTMLOptionsCollection {
210 : public:
211 : template<typename I>
212 0 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
213 : {
214 0 : return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
215 : }
216 :
217 : static bool objIsWrapper(JSObject *obj);
218 : static nsHTMLOptionCollection *getNative(JSObject *obj);
219 :
220 : private:
221 : static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsHTMLOptionCollection *list, nsWrapperCache *cache, bool *triedToWrap);
222 : };
223 :
224 :
225 : }
226 : }
227 : }
228 :
229 : #endif
|