1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLDocument.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLDocument_h__
6 : #define __gen_nsIDOMHTMLDocument_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMDocument_h__
10 : #include "nsIDOMDocument.h"
11 : #endif
12 :
13 : #include "jspubtd.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 : class nsISelection; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMHTMLDocument */
23 : #define NS_IDOMHTMLDOCUMENT_IID_STR "cc1af020-6543-429c-82d7-840cda3be0b9"
24 :
25 : #define NS_IDOMHTMLDOCUMENT_IID \
26 : {0xcc1af020, 0x6543, 0x429c, \
27 : { 0x82, 0xd7, 0x84, 0x0c, 0xda, 0x3b, 0xe0, 0xb9 }}
28 :
29 234 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLDocument : public nsIDOMDocument {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLDOCUMENT_IID)
33 :
34 : /* readonly attribute DOMString URL; */
35 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) = 0;
36 :
37 : /* attribute DOMString domain; */
38 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
39 : NS_SCRIPTABLE NS_IMETHOD SetDomain(const nsAString & aDomain) = 0;
40 :
41 : /* attribute DOMString cookie; */
42 : NS_SCRIPTABLE NS_IMETHOD GetCookie(nsAString & aCookie) = 0;
43 : NS_SCRIPTABLE NS_IMETHOD SetCookie(const nsAString & aCookie) = 0;
44 :
45 : /* readonly attribute DOMString compatMode; */
46 : NS_SCRIPTABLE NS_IMETHOD GetCompatMode(nsAString & aCompatMode) = 0;
47 :
48 : /* readonly attribute nsIDOMHTMLHeadElement head; */
49 : NS_SCRIPTABLE NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) = 0;
50 :
51 : /* attribute nsIDOMHTMLElement body; */
52 : NS_SCRIPTABLE NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) = 0;
53 : NS_SCRIPTABLE NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) = 0;
54 :
55 : /* readonly attribute nsIDOMHTMLCollection images; */
56 : NS_SCRIPTABLE NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) = 0;
57 :
58 : /* readonly attribute nsIDOMHTMLCollection embeds; */
59 : NS_SCRIPTABLE NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) = 0;
60 :
61 : /* readonly attribute nsIDOMHTMLCollection plugins; */
62 : NS_SCRIPTABLE NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) = 0;
63 :
64 : /* readonly attribute nsIDOMHTMLCollection links; */
65 : NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) = 0;
66 :
67 : /* readonly attribute nsIDOMHTMLCollection forms; */
68 : NS_SCRIPTABLE NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) = 0;
69 :
70 : /* readonly attribute nsIDOMHTMLCollection scripts; */
71 : NS_SCRIPTABLE NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) = 0;
72 :
73 : /* nsIDOMNodeList getElementsByName (in DOMString elementName); */
74 : NS_SCRIPTABLE NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
75 :
76 : /* [implicit_jscontext,optional_argc] nsISupports open ([optional] in DOMString aContentTypeOrUrl, [optional] in DOMString aReplaceOrName, [optional] in DOMString aFeatures); */
77 : NS_SCRIPTABLE NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, PRUint8 _argc, nsISupports * *_retval NS_OUTPARAM) = 0;
78 :
79 : /* void close (); */
80 : NS_SCRIPTABLE NS_IMETHOD Close(void) = 0;
81 :
82 : /* [implicit_jscontext] void write ([optional, Null (Stringify)] in DOMString text); */
83 : NS_SCRIPTABLE NS_IMETHOD Write(const nsAString & text, JSContext* cx) = 0;
84 :
85 : /* [implicit_jscontext] void writeln ([optional, Null (Stringify)] in DOMString text); */
86 : NS_SCRIPTABLE NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) = 0;
87 :
88 : /* attribute DOMString designMode; */
89 : NS_SCRIPTABLE NS_IMETHOD GetDesignMode(nsAString & aDesignMode) = 0;
90 : NS_SCRIPTABLE NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) = 0;
91 :
92 : /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
93 : NS_SCRIPTABLE NS_IMETHOD ExecCommand(const nsAString & commandID, bool doShowUI, const nsAString & value, bool *_retval NS_OUTPARAM) = 0;
94 :
95 : /* boolean execCommandShowHelp (in DOMString commandID); */
96 : NS_SCRIPTABLE NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, bool *_retval NS_OUTPARAM) = 0;
97 :
98 : /* boolean queryCommandEnabled (in DOMString commandID); */
99 : NS_SCRIPTABLE NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, bool *_retval NS_OUTPARAM) = 0;
100 :
101 : /* boolean queryCommandIndeterm (in DOMString commandID); */
102 : NS_SCRIPTABLE NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval NS_OUTPARAM) = 0;
103 :
104 : /* boolean queryCommandState (in DOMString commandID); */
105 : NS_SCRIPTABLE NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval NS_OUTPARAM) = 0;
106 :
107 : /* boolean queryCommandSupported (in DOMString commandID); */
108 : NS_SCRIPTABLE NS_IMETHOD QueryCommandSupported(const nsAString & commandID, bool *_retval NS_OUTPARAM) = 0;
109 :
110 : /* DOMString queryCommandText (in DOMString commandID); */
111 : NS_SCRIPTABLE NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) = 0;
112 :
113 : /* DOMString queryCommandValue (in DOMString commandID); */
114 : NS_SCRIPTABLE NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) = 0;
115 :
116 : /* attribute DOMString fgColor; */
117 : NS_SCRIPTABLE NS_IMETHOD GetFgColor(nsAString & aFgColor) = 0;
118 : NS_SCRIPTABLE NS_IMETHOD SetFgColor(const nsAString & aFgColor) = 0;
119 :
120 : /* attribute DOMString bgColor; */
121 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
122 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
123 :
124 : /* attribute DOMString linkColor; */
125 : NS_SCRIPTABLE NS_IMETHOD GetLinkColor(nsAString & aLinkColor) = 0;
126 : NS_SCRIPTABLE NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) = 0;
127 :
128 : /* attribute DOMString vlinkColor; */
129 : NS_SCRIPTABLE NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) = 0;
130 : NS_SCRIPTABLE NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) = 0;
131 :
132 : /* attribute DOMString alinkColor; */
133 : NS_SCRIPTABLE NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) = 0;
134 : NS_SCRIPTABLE NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) = 0;
135 :
136 : /* readonly attribute nsIDOMHTMLCollection anchors; */
137 : NS_SCRIPTABLE NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) = 0;
138 :
139 : /* readonly attribute nsIDOMHTMLCollection applets; */
140 : NS_SCRIPTABLE NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) = 0;
141 :
142 : /* void clear (); */
143 : NS_SCRIPTABLE NS_IMETHOD Clear(void) = 0;
144 :
145 : /* nsISelection getSelection (); */
146 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) = 0;
147 :
148 : /* void captureEvents (in long eventFlags); */
149 : NS_SCRIPTABLE NS_IMETHOD CaptureEvents(PRInt32 eventFlags) = 0;
150 :
151 : /* void releaseEvents (in long eventFlags); */
152 : NS_SCRIPTABLE NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) = 0;
153 :
154 : /* void routeEvent (in nsIDOMEvent evt); */
155 : NS_SCRIPTABLE NS_IMETHOD RouteEvent(nsIDOMEvent *evt) = 0;
156 :
157 : };
158 :
159 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLDocument, NS_IDOMHTMLDOCUMENT_IID)
160 :
161 : /* Use this macro when declaring classes that implement this interface. */
162 : #define NS_DECL_NSIDOMHTMLDOCUMENT \
163 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL); \
164 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain); \
165 : NS_SCRIPTABLE NS_IMETHOD SetDomain(const nsAString & aDomain); \
166 : NS_SCRIPTABLE NS_IMETHOD GetCookie(nsAString & aCookie); \
167 : NS_SCRIPTABLE NS_IMETHOD SetCookie(const nsAString & aCookie); \
168 : NS_SCRIPTABLE NS_IMETHOD GetCompatMode(nsAString & aCompatMode); \
169 : NS_SCRIPTABLE NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead); \
170 : NS_SCRIPTABLE NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody); \
171 : NS_SCRIPTABLE NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody); \
172 : NS_SCRIPTABLE NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages); \
173 : NS_SCRIPTABLE NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds); \
174 : NS_SCRIPTABLE NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins); \
175 : NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks); \
176 : NS_SCRIPTABLE NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms); \
177 : NS_SCRIPTABLE NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts); \
178 : NS_SCRIPTABLE NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval NS_OUTPARAM); \
179 : NS_SCRIPTABLE NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, PRUint8 _argc, nsISupports * *_retval NS_OUTPARAM); \
180 : NS_SCRIPTABLE NS_IMETHOD Close(void); \
181 : NS_SCRIPTABLE NS_IMETHOD Write(const nsAString & text, JSContext* cx); \
182 : NS_SCRIPTABLE NS_IMETHOD Writeln(const nsAString & text, JSContext* cx); \
183 : NS_SCRIPTABLE NS_IMETHOD GetDesignMode(nsAString & aDesignMode); \
184 : NS_SCRIPTABLE NS_IMETHOD SetDesignMode(const nsAString & aDesignMode); \
185 : NS_SCRIPTABLE NS_IMETHOD ExecCommand(const nsAString & commandID, bool doShowUI, const nsAString & value, bool *_retval NS_OUTPARAM); \
186 : NS_SCRIPTABLE NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, bool *_retval NS_OUTPARAM); \
187 : NS_SCRIPTABLE NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, bool *_retval NS_OUTPARAM); \
188 : NS_SCRIPTABLE NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval NS_OUTPARAM); \
189 : NS_SCRIPTABLE NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval NS_OUTPARAM); \
190 : NS_SCRIPTABLE NS_IMETHOD QueryCommandSupported(const nsAString & commandID, bool *_retval NS_OUTPARAM); \
191 : NS_SCRIPTABLE NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval NS_OUTPARAM); \
192 : NS_SCRIPTABLE NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval NS_OUTPARAM); \
193 : NS_SCRIPTABLE NS_IMETHOD GetFgColor(nsAString & aFgColor); \
194 : NS_SCRIPTABLE NS_IMETHOD SetFgColor(const nsAString & aFgColor); \
195 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor); \
196 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
197 : NS_SCRIPTABLE NS_IMETHOD GetLinkColor(nsAString & aLinkColor); \
198 : NS_SCRIPTABLE NS_IMETHOD SetLinkColor(const nsAString & aLinkColor); \
199 : NS_SCRIPTABLE NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor); \
200 : NS_SCRIPTABLE NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor); \
201 : NS_SCRIPTABLE NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor); \
202 : NS_SCRIPTABLE NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor); \
203 : NS_SCRIPTABLE NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors); \
204 : NS_SCRIPTABLE NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets); \
205 : NS_SCRIPTABLE NS_IMETHOD Clear(void); \
206 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM); \
207 : NS_SCRIPTABLE NS_IMETHOD CaptureEvents(PRInt32 eventFlags); \
208 : NS_SCRIPTABLE NS_IMETHOD ReleaseEvents(PRInt32 eventFlags); \
209 : NS_SCRIPTABLE NS_IMETHOD RouteEvent(nsIDOMEvent *evt);
210 :
211 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
212 : #define NS_FORWARD_NSIDOMHTMLDOCUMENT(_to) \
213 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) { return _to GetURL(aURL); } \
214 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return _to GetDomain(aDomain); } \
215 : NS_SCRIPTABLE NS_IMETHOD SetDomain(const nsAString & aDomain) { return _to SetDomain(aDomain); } \
216 : NS_SCRIPTABLE NS_IMETHOD GetCookie(nsAString & aCookie) { return _to GetCookie(aCookie); } \
217 : NS_SCRIPTABLE NS_IMETHOD SetCookie(const nsAString & aCookie) { return _to SetCookie(aCookie); } \
218 : NS_SCRIPTABLE NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return _to GetCompatMode(aCompatMode); } \
219 : NS_SCRIPTABLE NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) { return _to GetHead(aHead); } \
220 : NS_SCRIPTABLE NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) { return _to GetBody(aBody); } \
221 : NS_SCRIPTABLE NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) { return _to SetBody(aBody); } \
222 : NS_SCRIPTABLE NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) { return _to GetImages(aImages); } \
223 : NS_SCRIPTABLE NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return _to GetEmbeds(aEmbeds); } \
224 : NS_SCRIPTABLE NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return _to GetPlugins(aPlugins); } \
225 : NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) { return _to GetLinks(aLinks); } \
226 : NS_SCRIPTABLE NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) { return _to GetForms(aForms); } \
227 : NS_SCRIPTABLE NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) { return _to GetScripts(aScripts); } \
228 : NS_SCRIPTABLE NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetElementsByName(elementName, _retval); } \
229 : NS_SCRIPTABLE NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, PRUint8 _argc, nsISupports * *_retval NS_OUTPARAM) { return _to Open(aContentTypeOrUrl, aReplaceOrName, aFeatures, cx, _argc, _retval); } \
230 : NS_SCRIPTABLE NS_IMETHOD Close(void) { return _to Close(); } \
231 : NS_SCRIPTABLE NS_IMETHOD Write(const nsAString & text, JSContext* cx) { return _to Write(text, cx); } \
232 : NS_SCRIPTABLE NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) { return _to Writeln(text, cx); } \
233 : NS_SCRIPTABLE NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return _to GetDesignMode(aDesignMode); } \
234 : NS_SCRIPTABLE NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return _to SetDesignMode(aDesignMode); } \
235 : NS_SCRIPTABLE NS_IMETHOD ExecCommand(const nsAString & commandID, bool doShowUI, const nsAString & value, bool *_retval NS_OUTPARAM) { return _to ExecCommand(commandID, doShowUI, value, _retval); } \
236 : NS_SCRIPTABLE NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return _to ExecCommandShowHelp(commandID, _retval); } \
237 : NS_SCRIPTABLE NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return _to QueryCommandEnabled(commandID, _retval); } \
238 : NS_SCRIPTABLE NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return _to QueryCommandIndeterm(commandID, _retval); } \
239 : NS_SCRIPTABLE NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return _to QueryCommandState(commandID, _retval); } \
240 : NS_SCRIPTABLE NS_IMETHOD QueryCommandSupported(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return _to QueryCommandSupported(commandID, _retval); } \
241 : NS_SCRIPTABLE NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) { return _to QueryCommandText(commandID, _retval); } \
242 : NS_SCRIPTABLE NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) { return _to QueryCommandValue(commandID, _retval); } \
243 : NS_SCRIPTABLE NS_IMETHOD GetFgColor(nsAString & aFgColor) { return _to GetFgColor(aFgColor); } \
244 : NS_SCRIPTABLE NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return _to SetFgColor(aFgColor); } \
245 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
246 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
247 : NS_SCRIPTABLE NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return _to GetLinkColor(aLinkColor); } \
248 : NS_SCRIPTABLE NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return _to SetLinkColor(aLinkColor); } \
249 : NS_SCRIPTABLE NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return _to GetVlinkColor(aVlinkColor); } \
250 : NS_SCRIPTABLE NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return _to SetVlinkColor(aVlinkColor); } \
251 : NS_SCRIPTABLE NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return _to GetAlinkColor(aAlinkColor); } \
252 : NS_SCRIPTABLE NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
253 : NS_SCRIPTABLE NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) { return _to GetAnchors(aAnchors); } \
254 : NS_SCRIPTABLE NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) { return _to GetApplets(aApplets); } \
255 : NS_SCRIPTABLE NS_IMETHOD Clear(void) { return _to Clear(); } \
256 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) { return _to GetSelection(_retval); } \
257 : NS_SCRIPTABLE NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return _to CaptureEvents(eventFlags); } \
258 : NS_SCRIPTABLE NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return _to ReleaseEvents(eventFlags); } \
259 : NS_SCRIPTABLE NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return _to RouteEvent(evt); }
260 :
261 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
262 : #define NS_FORWARD_SAFE_NSIDOMHTMLDOCUMENT(_to) \
263 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(aURL); } \
264 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
265 : NS_SCRIPTABLE NS_IMETHOD SetDomain(const nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomain(aDomain); } \
266 : NS_SCRIPTABLE NS_IMETHOD GetCookie(nsAString & aCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCookie(aCookie); } \
267 : NS_SCRIPTABLE NS_IMETHOD SetCookie(const nsAString & aCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCookie(aCookie); } \
268 : NS_SCRIPTABLE NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompatMode(aCompatMode); } \
269 : NS_SCRIPTABLE NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHead(aHead); } \
270 : NS_SCRIPTABLE NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBody(aBody); } \
271 : NS_SCRIPTABLE NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBody(aBody); } \
272 : NS_SCRIPTABLE NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImages(aImages); } \
273 : NS_SCRIPTABLE NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeds(aEmbeds); } \
274 : NS_SCRIPTABLE NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlugins(aPlugins); } \
275 : NS_SCRIPTABLE NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinks(aLinks); } \
276 : NS_SCRIPTABLE NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForms(aForms); } \
277 : NS_SCRIPTABLE NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScripts(aScripts); } \
278 : NS_SCRIPTABLE NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByName(elementName, _retval); } \
279 : NS_SCRIPTABLE NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, PRUint8 _argc, nsISupports * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aContentTypeOrUrl, aReplaceOrName, aFeatures, cx, _argc, _retval); } \
280 : NS_SCRIPTABLE NS_IMETHOD Close(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
281 : NS_SCRIPTABLE NS_IMETHOD Write(const nsAString & text, JSContext* cx) { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(text, cx); } \
282 : NS_SCRIPTABLE NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) { return !_to ? NS_ERROR_NULL_POINTER : _to->Writeln(text, cx); } \
283 : NS_SCRIPTABLE NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDesignMode(aDesignMode); } \
284 : NS_SCRIPTABLE NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDesignMode(aDesignMode); } \
285 : NS_SCRIPTABLE NS_IMETHOD ExecCommand(const nsAString & commandID, bool doShowUI, const nsAString & value, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommand(commandID, doShowUI, value, _retval); } \
286 : NS_SCRIPTABLE NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommandShowHelp(commandID, _retval); } \
287 : NS_SCRIPTABLE NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandEnabled(commandID, _retval); } \
288 : NS_SCRIPTABLE NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandIndeterm(commandID, _retval); } \
289 : NS_SCRIPTABLE NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandState(commandID, _retval); } \
290 : NS_SCRIPTABLE NS_IMETHOD QueryCommandSupported(const nsAString & commandID, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandSupported(commandID, _retval); } \
291 : NS_SCRIPTABLE NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandText(commandID, _retval); } \
292 : NS_SCRIPTABLE NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandValue(commandID, _retval); } \
293 : NS_SCRIPTABLE NS_IMETHOD GetFgColor(nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFgColor(aFgColor); } \
294 : NS_SCRIPTABLE NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFgColor(aFgColor); } \
295 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
296 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
297 : NS_SCRIPTABLE NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinkColor(aLinkColor); } \
298 : NS_SCRIPTABLE NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinkColor(aLinkColor); } \
299 : NS_SCRIPTABLE NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVlinkColor(aVlinkColor); } \
300 : NS_SCRIPTABLE NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVlinkColor(aVlinkColor); } \
301 : NS_SCRIPTABLE NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlinkColor(aAlinkColor); } \
302 : NS_SCRIPTABLE NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlinkColor(aAlinkColor); } \
303 : NS_SCRIPTABLE NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnchors(aAnchors); } \
304 : NS_SCRIPTABLE NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplets(aApplets); } \
305 : NS_SCRIPTABLE NS_IMETHOD Clear(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
306 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(_retval); } \
307 : NS_SCRIPTABLE NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->CaptureEvents(eventFlags); } \
308 : NS_SCRIPTABLE NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseEvents(eventFlags); } \
309 : NS_SCRIPTABLE NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return !_to ? NS_ERROR_NULL_POINTER : _to->RouteEvent(evt); }
310 :
311 : #if 0
312 : /* Use the code below as a template for the implementation class for this interface. */
313 :
314 : /* Header file */
315 : class nsDOMHTMLDocument : public nsIDOMHTMLDocument
316 : {
317 : public:
318 : NS_DECL_ISUPPORTS
319 : NS_DECL_NSIDOMHTMLDOCUMENT
320 :
321 : nsDOMHTMLDocument();
322 :
323 : private:
324 : ~nsDOMHTMLDocument();
325 :
326 : protected:
327 : /* additional members */
328 : };
329 :
330 : /* Implementation file */
331 : NS_IMPL_ISUPPORTS1(nsDOMHTMLDocument, nsIDOMHTMLDocument)
332 :
333 : nsDOMHTMLDocument::nsDOMHTMLDocument()
334 : {
335 : /* member initializers and constructor code */
336 : }
337 :
338 : nsDOMHTMLDocument::~nsDOMHTMLDocument()
339 : {
340 : /* destructor code */
341 : }
342 :
343 : /* readonly attribute DOMString URL; */
344 : NS_IMETHODIMP nsDOMHTMLDocument::GetURL(nsAString & aURL)
345 : {
346 : return NS_ERROR_NOT_IMPLEMENTED;
347 : }
348 :
349 : /* attribute DOMString domain; */
350 : NS_IMETHODIMP nsDOMHTMLDocument::GetDomain(nsAString & aDomain)
351 : {
352 : return NS_ERROR_NOT_IMPLEMENTED;
353 : }
354 : NS_IMETHODIMP nsDOMHTMLDocument::SetDomain(const nsAString & aDomain)
355 : {
356 : return NS_ERROR_NOT_IMPLEMENTED;
357 : }
358 :
359 : /* attribute DOMString cookie; */
360 : NS_IMETHODIMP nsDOMHTMLDocument::GetCookie(nsAString & aCookie)
361 : {
362 : return NS_ERROR_NOT_IMPLEMENTED;
363 : }
364 : NS_IMETHODIMP nsDOMHTMLDocument::SetCookie(const nsAString & aCookie)
365 : {
366 : return NS_ERROR_NOT_IMPLEMENTED;
367 : }
368 :
369 : /* readonly attribute DOMString compatMode; */
370 : NS_IMETHODIMP nsDOMHTMLDocument::GetCompatMode(nsAString & aCompatMode)
371 : {
372 : return NS_ERROR_NOT_IMPLEMENTED;
373 : }
374 :
375 : /* readonly attribute nsIDOMHTMLHeadElement head; */
376 : NS_IMETHODIMP nsDOMHTMLDocument::GetHead(nsIDOMHTMLHeadElement * *aHead)
377 : {
378 : return NS_ERROR_NOT_IMPLEMENTED;
379 : }
380 :
381 : /* attribute nsIDOMHTMLElement body; */
382 : NS_IMETHODIMP nsDOMHTMLDocument::GetBody(nsIDOMHTMLElement * *aBody)
383 : {
384 : return NS_ERROR_NOT_IMPLEMENTED;
385 : }
386 : NS_IMETHODIMP nsDOMHTMLDocument::SetBody(nsIDOMHTMLElement *aBody)
387 : {
388 : return NS_ERROR_NOT_IMPLEMENTED;
389 : }
390 :
391 : /* readonly attribute nsIDOMHTMLCollection images; */
392 : NS_IMETHODIMP nsDOMHTMLDocument::GetImages(nsIDOMHTMLCollection * *aImages)
393 : {
394 : return NS_ERROR_NOT_IMPLEMENTED;
395 : }
396 :
397 : /* readonly attribute nsIDOMHTMLCollection embeds; */
398 : NS_IMETHODIMP nsDOMHTMLDocument::GetEmbeds(nsIDOMHTMLCollection * *aEmbeds)
399 : {
400 : return NS_ERROR_NOT_IMPLEMENTED;
401 : }
402 :
403 : /* readonly attribute nsIDOMHTMLCollection plugins; */
404 : NS_IMETHODIMP nsDOMHTMLDocument::GetPlugins(nsIDOMHTMLCollection * *aPlugins)
405 : {
406 : return NS_ERROR_NOT_IMPLEMENTED;
407 : }
408 :
409 : /* readonly attribute nsIDOMHTMLCollection links; */
410 : NS_IMETHODIMP nsDOMHTMLDocument::GetLinks(nsIDOMHTMLCollection * *aLinks)
411 : {
412 : return NS_ERROR_NOT_IMPLEMENTED;
413 : }
414 :
415 : /* readonly attribute nsIDOMHTMLCollection forms; */
416 : NS_IMETHODIMP nsDOMHTMLDocument::GetForms(nsIDOMHTMLCollection * *aForms)
417 : {
418 : return NS_ERROR_NOT_IMPLEMENTED;
419 : }
420 :
421 : /* readonly attribute nsIDOMHTMLCollection scripts; */
422 : NS_IMETHODIMP nsDOMHTMLDocument::GetScripts(nsIDOMHTMLCollection * *aScripts)
423 : {
424 : return NS_ERROR_NOT_IMPLEMENTED;
425 : }
426 :
427 : /* nsIDOMNodeList getElementsByName (in DOMString elementName); */
428 : NS_IMETHODIMP nsDOMHTMLDocument::GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval NS_OUTPARAM)
429 : {
430 : return NS_ERROR_NOT_IMPLEMENTED;
431 : }
432 :
433 : /* [implicit_jscontext,optional_argc] nsISupports open ([optional] in DOMString aContentTypeOrUrl, [optional] in DOMString aReplaceOrName, [optional] in DOMString aFeatures); */
434 : NS_IMETHODIMP nsDOMHTMLDocument::Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, PRUint8 _argc, nsISupports * *_retval NS_OUTPARAM)
435 : {
436 : return NS_ERROR_NOT_IMPLEMENTED;
437 : }
438 :
439 : /* void close (); */
440 : NS_IMETHODIMP nsDOMHTMLDocument::Close()
441 : {
442 : return NS_ERROR_NOT_IMPLEMENTED;
443 : }
444 :
445 : /* [implicit_jscontext] void write ([optional, Null (Stringify)] in DOMString text); */
446 : NS_IMETHODIMP nsDOMHTMLDocument::Write(const nsAString & text, JSContext* cx)
447 : {
448 : return NS_ERROR_NOT_IMPLEMENTED;
449 : }
450 :
451 : /* [implicit_jscontext] void writeln ([optional, Null (Stringify)] in DOMString text); */
452 : NS_IMETHODIMP nsDOMHTMLDocument::Writeln(const nsAString & text, JSContext* cx)
453 : {
454 : return NS_ERROR_NOT_IMPLEMENTED;
455 : }
456 :
457 : /* attribute DOMString designMode; */
458 : NS_IMETHODIMP nsDOMHTMLDocument::GetDesignMode(nsAString & aDesignMode)
459 : {
460 : return NS_ERROR_NOT_IMPLEMENTED;
461 : }
462 : NS_IMETHODIMP nsDOMHTMLDocument::SetDesignMode(const nsAString & aDesignMode)
463 : {
464 : return NS_ERROR_NOT_IMPLEMENTED;
465 : }
466 :
467 : /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
468 : NS_IMETHODIMP nsDOMHTMLDocument::ExecCommand(const nsAString & commandID, bool doShowUI, const nsAString & value, bool *_retval NS_OUTPARAM)
469 : {
470 : return NS_ERROR_NOT_IMPLEMENTED;
471 : }
472 :
473 : /* boolean execCommandShowHelp (in DOMString commandID); */
474 : NS_IMETHODIMP nsDOMHTMLDocument::ExecCommandShowHelp(const nsAString & commandID, bool *_retval NS_OUTPARAM)
475 : {
476 : return NS_ERROR_NOT_IMPLEMENTED;
477 : }
478 :
479 : /* boolean queryCommandEnabled (in DOMString commandID); */
480 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandEnabled(const nsAString & commandID, bool *_retval NS_OUTPARAM)
481 : {
482 : return NS_ERROR_NOT_IMPLEMENTED;
483 : }
484 :
485 : /* boolean queryCommandIndeterm (in DOMString commandID); */
486 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandIndeterm(const nsAString & commandID, bool *_retval NS_OUTPARAM)
487 : {
488 : return NS_ERROR_NOT_IMPLEMENTED;
489 : }
490 :
491 : /* boolean queryCommandState (in DOMString commandID); */
492 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandState(const nsAString & commandID, bool *_retval NS_OUTPARAM)
493 : {
494 : return NS_ERROR_NOT_IMPLEMENTED;
495 : }
496 :
497 : /* boolean queryCommandSupported (in DOMString commandID); */
498 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandSupported(const nsAString & commandID, bool *_retval NS_OUTPARAM)
499 : {
500 : return NS_ERROR_NOT_IMPLEMENTED;
501 : }
502 :
503 : /* DOMString queryCommandText (in DOMString commandID); */
504 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandText(const nsAString & commandID, nsAString & _retval NS_OUTPARAM)
505 : {
506 : return NS_ERROR_NOT_IMPLEMENTED;
507 : }
508 :
509 : /* DOMString queryCommandValue (in DOMString commandID); */
510 : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandValue(const nsAString & commandID, nsAString & _retval NS_OUTPARAM)
511 : {
512 : return NS_ERROR_NOT_IMPLEMENTED;
513 : }
514 :
515 : /* attribute DOMString fgColor; */
516 : NS_IMETHODIMP nsDOMHTMLDocument::GetFgColor(nsAString & aFgColor)
517 : {
518 : return NS_ERROR_NOT_IMPLEMENTED;
519 : }
520 : NS_IMETHODIMP nsDOMHTMLDocument::SetFgColor(const nsAString & aFgColor)
521 : {
522 : return NS_ERROR_NOT_IMPLEMENTED;
523 : }
524 :
525 : /* attribute DOMString bgColor; */
526 : NS_IMETHODIMP nsDOMHTMLDocument::GetBgColor(nsAString & aBgColor)
527 : {
528 : return NS_ERROR_NOT_IMPLEMENTED;
529 : }
530 : NS_IMETHODIMP nsDOMHTMLDocument::SetBgColor(const nsAString & aBgColor)
531 : {
532 : return NS_ERROR_NOT_IMPLEMENTED;
533 : }
534 :
535 : /* attribute DOMString linkColor; */
536 : NS_IMETHODIMP nsDOMHTMLDocument::GetLinkColor(nsAString & aLinkColor)
537 : {
538 : return NS_ERROR_NOT_IMPLEMENTED;
539 : }
540 : NS_IMETHODIMP nsDOMHTMLDocument::SetLinkColor(const nsAString & aLinkColor)
541 : {
542 : return NS_ERROR_NOT_IMPLEMENTED;
543 : }
544 :
545 : /* attribute DOMString vlinkColor; */
546 : NS_IMETHODIMP nsDOMHTMLDocument::GetVlinkColor(nsAString & aVlinkColor)
547 : {
548 : return NS_ERROR_NOT_IMPLEMENTED;
549 : }
550 : NS_IMETHODIMP nsDOMHTMLDocument::SetVlinkColor(const nsAString & aVlinkColor)
551 : {
552 : return NS_ERROR_NOT_IMPLEMENTED;
553 : }
554 :
555 : /* attribute DOMString alinkColor; */
556 : NS_IMETHODIMP nsDOMHTMLDocument::GetAlinkColor(nsAString & aAlinkColor)
557 : {
558 : return NS_ERROR_NOT_IMPLEMENTED;
559 : }
560 : NS_IMETHODIMP nsDOMHTMLDocument::SetAlinkColor(const nsAString & aAlinkColor)
561 : {
562 : return NS_ERROR_NOT_IMPLEMENTED;
563 : }
564 :
565 : /* readonly attribute nsIDOMHTMLCollection anchors; */
566 : NS_IMETHODIMP nsDOMHTMLDocument::GetAnchors(nsIDOMHTMLCollection * *aAnchors)
567 : {
568 : return NS_ERROR_NOT_IMPLEMENTED;
569 : }
570 :
571 : /* readonly attribute nsIDOMHTMLCollection applets; */
572 : NS_IMETHODIMP nsDOMHTMLDocument::GetApplets(nsIDOMHTMLCollection * *aApplets)
573 : {
574 : return NS_ERROR_NOT_IMPLEMENTED;
575 : }
576 :
577 : /* void clear (); */
578 : NS_IMETHODIMP nsDOMHTMLDocument::Clear()
579 : {
580 : return NS_ERROR_NOT_IMPLEMENTED;
581 : }
582 :
583 : /* nsISelection getSelection (); */
584 : NS_IMETHODIMP nsDOMHTMLDocument::GetSelection(nsISelection * *_retval NS_OUTPARAM)
585 : {
586 : return NS_ERROR_NOT_IMPLEMENTED;
587 : }
588 :
589 : /* void captureEvents (in long eventFlags); */
590 : NS_IMETHODIMP nsDOMHTMLDocument::CaptureEvents(PRInt32 eventFlags)
591 : {
592 : return NS_ERROR_NOT_IMPLEMENTED;
593 : }
594 :
595 : /* void releaseEvents (in long eventFlags); */
596 : NS_IMETHODIMP nsDOMHTMLDocument::ReleaseEvents(PRInt32 eventFlags)
597 : {
598 : return NS_ERROR_NOT_IMPLEMENTED;
599 : }
600 :
601 : /* void routeEvent (in nsIDOMEvent evt); */
602 : NS_IMETHODIMP nsDOMHTMLDocument::RouteEvent(nsIDOMEvent *evt)
603 : {
604 : return NS_ERROR_NOT_IMPLEMENTED;
605 : }
606 :
607 : /* End of implementation class template. */
608 : #endif
609 :
610 :
611 : #endif /* __gen_nsIDOMHTMLDocument_h__ */
|