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