PageRenderTime 154ms CodeModel.GetById 80ms app.highlight 12ms RepoModel.GetById 59ms app.codeStats 0ms

/gecko_api/include/nsIDOMRange.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 383 lines | 236 code | 76 blank | 71 comment | 0 complexity | a7038cd23693ce91814b66b9c39d2bd2 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/range/nsIDOMRange.idl
  3 */
  4
  5#ifndef __gen_nsIDOMRange_h__
  6#define __gen_nsIDOMRange_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
 18/* starting interface:    nsIDOMRange */
 19#define NS_IDOMRANGE_IID_STR "a6cf90ce-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMRANGE_IID \
 22  {0xa6cf90ce, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMRange : public nsISupports {
 26 public: 
 27
 28  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMRANGE_IID)
 29
 30  /**
 31 * The nsIDOMRange interface is an interface to a DOM range object.
 32 *
 33 * For more information on this interface please see
 34 * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/
 35 *
 36 * @status FROZEN
 37 */
 38  /* readonly attribute nsIDOMNode startContainer; */
 39  NS_SCRIPTABLE NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) = 0;
 40
 41  /* readonly attribute long startOffset; */
 42  NS_SCRIPTABLE NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) = 0;
 43
 44  /* readonly attribute nsIDOMNode endContainer; */
 45  NS_SCRIPTABLE NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) = 0;
 46
 47  /* readonly attribute long endOffset; */
 48  NS_SCRIPTABLE NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) = 0;
 49
 50  /* readonly attribute boolean collapsed; */
 51  NS_SCRIPTABLE NS_IMETHOD GetCollapsed(PRBool *aCollapsed) = 0;
 52
 53  /* readonly attribute nsIDOMNode commonAncestorContainer; */
 54  NS_SCRIPTABLE NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) = 0;
 55
 56  /* void setStart (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */
 57  NS_SCRIPTABLE NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) = 0;
 58
 59  /* void setEnd (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */
 60  NS_SCRIPTABLE NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) = 0;
 61
 62  /* void setStartBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 63  NS_SCRIPTABLE NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) = 0;
 64
 65  /* void setStartAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 66  NS_SCRIPTABLE NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) = 0;
 67
 68  /* void setEndBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 69  NS_SCRIPTABLE NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) = 0;
 70
 71  /* void setEndAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 72  NS_SCRIPTABLE NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) = 0;
 73
 74  /* void collapse (in boolean toStart)  raises (DOMException); */
 75  NS_SCRIPTABLE NS_IMETHOD Collapse(PRBool toStart) = 0;
 76
 77  /* void selectNode (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 78  NS_SCRIPTABLE NS_IMETHOD SelectNode(nsIDOMNode *refNode) = 0;
 79
 80  /* void selectNodeContents (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
 81  NS_SCRIPTABLE NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) = 0;
 82
 83  enum { START_TO_START = 0U };
 84
 85  enum { START_TO_END = 1U };
 86
 87  enum { END_TO_END = 2U };
 88
 89  enum { END_TO_START = 3U };
 90
 91  /* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRange)  raises (DOMException); */
 92  NS_SCRIPTABLE NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval) = 0;
 93
 94  /* void deleteContents ()  raises (DOMException); */
 95  NS_SCRIPTABLE NS_IMETHOD DeleteContents(void) = 0;
 96
 97  /* nsIDOMDocumentFragment extractContents ()  raises (DOMException); */
 98  NS_SCRIPTABLE NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) = 0;
 99
100  /* nsIDOMDocumentFragment cloneContents ()  raises (DOMException); */
101  NS_SCRIPTABLE NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) = 0;
102
103  /* void insertNode (in nsIDOMNode newNode)  raises (DOMException, RangeException); */
104  NS_SCRIPTABLE NS_IMETHOD InsertNode(nsIDOMNode *newNode) = 0;
105
106  /* void surroundContents (in nsIDOMNode newParent)  raises (DOMException, RangeException); */
107  NS_SCRIPTABLE NS_IMETHOD SurroundContents(nsIDOMNode *newParent) = 0;
108
109  /* nsIDOMRange cloneRange ()  raises (DOMException); */
110  NS_SCRIPTABLE NS_IMETHOD CloneRange(nsIDOMRange **_retval) = 0;
111
112  /* DOMString toString ()  raises (DOMException); */
113  NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval) = 0;
114
115  /* void detach ()  raises (DOMException); */
116  NS_SCRIPTABLE NS_IMETHOD Detach(void) = 0;
117
118};
119
120  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMRange, NS_IDOMRANGE_IID)
121
122/* Use this macro when declaring classes that implement this interface. */
123#define NS_DECL_NSIDOMRANGE \
124  NS_SCRIPTABLE NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer); \
125  NS_SCRIPTABLE NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset); \
126  NS_SCRIPTABLE NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer); \
127  NS_SCRIPTABLE NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset); \
128  NS_SCRIPTABLE NS_IMETHOD GetCollapsed(PRBool *aCollapsed); \
129  NS_SCRIPTABLE NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer); \
130  NS_SCRIPTABLE NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset); \
131  NS_SCRIPTABLE NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset); \
132  NS_SCRIPTABLE NS_IMETHOD SetStartBefore(nsIDOMNode *refNode); \
133  NS_SCRIPTABLE NS_IMETHOD SetStartAfter(nsIDOMNode *refNode); \
134  NS_SCRIPTABLE NS_IMETHOD SetEndBefore(nsIDOMNode *refNode); \
135  NS_SCRIPTABLE NS_IMETHOD SetEndAfter(nsIDOMNode *refNode); \
136  NS_SCRIPTABLE NS_IMETHOD Collapse(PRBool toStart); \
137  NS_SCRIPTABLE NS_IMETHOD SelectNode(nsIDOMNode *refNode); \
138  NS_SCRIPTABLE NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode); \
139  NS_SCRIPTABLE NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval); \
140  NS_SCRIPTABLE NS_IMETHOD DeleteContents(void); \
141  NS_SCRIPTABLE NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval); \
142  NS_SCRIPTABLE NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval); \
143  NS_SCRIPTABLE NS_IMETHOD InsertNode(nsIDOMNode *newNode); \
144  NS_SCRIPTABLE NS_IMETHOD SurroundContents(nsIDOMNode *newParent); \
145  NS_SCRIPTABLE NS_IMETHOD CloneRange(nsIDOMRange **_retval); \
146  NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval); \
147  NS_SCRIPTABLE NS_IMETHOD Detach(void); 
148
149/* Use this macro to declare functions that forward the behavior of this interface to another object. */
150#define NS_FORWARD_NSIDOMRANGE(_to) \
151  NS_SCRIPTABLE NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return _to GetStartContainer(aStartContainer); } \
152  NS_SCRIPTABLE NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return _to GetStartOffset(aStartOffset); } \
153  NS_SCRIPTABLE NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return _to GetEndContainer(aEndContainer); } \
154  NS_SCRIPTABLE NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return _to GetEndOffset(aEndOffset); } \
155  NS_SCRIPTABLE NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return _to GetCollapsed(aCollapsed); } \
156  NS_SCRIPTABLE NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) { return _to GetCommonAncestorContainer(aCommonAncestorContainer); } \
157  NS_SCRIPTABLE NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return _to SetStart(refNode, offset); } \
158  NS_SCRIPTABLE NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return _to SetEnd(refNode, offset); } \
159  NS_SCRIPTABLE NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return _to SetStartBefore(refNode); } \
160  NS_SCRIPTABLE NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return _to SetStartAfter(refNode); } \
161  NS_SCRIPTABLE NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return _to SetEndBefore(refNode); } \
162  NS_SCRIPTABLE NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return _to SetEndAfter(refNode); } \
163  NS_SCRIPTABLE NS_IMETHOD Collapse(PRBool toStart) { return _to Collapse(toStart); } \
164  NS_SCRIPTABLE NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return _to SelectNode(refNode); } \
165  NS_SCRIPTABLE NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) { return _to SelectNodeContents(refNode); } \
166  NS_SCRIPTABLE NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval) { return _to CompareBoundaryPoints(how, sourceRange, _retval); } \
167  NS_SCRIPTABLE NS_IMETHOD DeleteContents(void) { return _to DeleteContents(); } \
168  NS_SCRIPTABLE NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) { return _to ExtractContents(_retval); } \
169  NS_SCRIPTABLE NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) { return _to CloneContents(_retval); } \
170  NS_SCRIPTABLE NS_IMETHOD InsertNode(nsIDOMNode *newNode) { return _to InsertNode(newNode); } \
171  NS_SCRIPTABLE NS_IMETHOD SurroundContents(nsIDOMNode *newParent) { return _to SurroundContents(newParent); } \
172  NS_SCRIPTABLE NS_IMETHOD CloneRange(nsIDOMRange **_retval) { return _to CloneRange(_retval); } \
173  NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval) { return _to ToString(_retval); } \
174  NS_SCRIPTABLE NS_IMETHOD Detach(void) { return _to Detach(); } 
175
176/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
177#define NS_FORWARD_SAFE_NSIDOMRANGE(_to) \
178  NS_SCRIPTABLE NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartContainer(aStartContainer); } \
179  NS_SCRIPTABLE NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartOffset(aStartOffset); } \
180  NS_SCRIPTABLE NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndContainer(aEndContainer); } \
181  NS_SCRIPTABLE NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndOffset(aEndOffset); } \
182  NS_SCRIPTABLE NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollapsed(aCollapsed); } \
183  NS_SCRIPTABLE NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommonAncestorContainer(aCommonAncestorContainer); } \
184  NS_SCRIPTABLE NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(refNode, offset); } \
185  NS_SCRIPTABLE NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnd(refNode, offset); } \
186  NS_SCRIPTABLE NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartBefore(refNode); } \
187  NS_SCRIPTABLE NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartAfter(refNode); } \
188  NS_SCRIPTABLE NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndBefore(refNode); } \
189  NS_SCRIPTABLE NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndAfter(refNode); } \
190  NS_SCRIPTABLE NS_IMETHOD Collapse(PRBool toStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->Collapse(toStart); } \
191  NS_SCRIPTABLE NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectNode(refNode); } \
192  NS_SCRIPTABLE NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectNodeContents(refNode); } \
193  NS_SCRIPTABLE NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareBoundaryPoints(how, sourceRange, _retval); } \
194  NS_SCRIPTABLE NS_IMETHOD DeleteContents(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteContents(); } \
195  NS_SCRIPTABLE NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExtractContents(_retval); } \
196  NS_SCRIPTABLE NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneContents(_retval); } \
197  NS_SCRIPTABLE NS_IMETHOD InsertNode(nsIDOMNode *newNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertNode(newNode); } \
198  NS_SCRIPTABLE NS_IMETHOD SurroundContents(nsIDOMNode *newParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SurroundContents(newParent); } \
199  NS_SCRIPTABLE NS_IMETHOD CloneRange(nsIDOMRange **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneRange(_retval); } \
200  NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
201  NS_SCRIPTABLE NS_IMETHOD Detach(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Detach(); } 
202
203#if 0
204/* Use the code below as a template for the implementation class for this interface. */
205
206/* Header file */
207class nsDOMRange : public nsIDOMRange
208{
209public:
210  NS_DECL_ISUPPORTS
211  NS_DECL_NSIDOMRANGE
212
213  nsDOMRange();
214
215private:
216  ~nsDOMRange();
217
218protected:
219  /* additional members */
220};
221
222/* Implementation file */
223NS_IMPL_ISUPPORTS1(nsDOMRange, nsIDOMRange)
224
225nsDOMRange::nsDOMRange()
226{
227  /* member initializers and constructor code */
228}
229
230nsDOMRange::~nsDOMRange()
231{
232  /* destructor code */
233}
234
235/* readonly attribute nsIDOMNode startContainer; */
236NS_IMETHODIMP nsDOMRange::GetStartContainer(nsIDOMNode * *aStartContainer)
237{
238    return NS_ERROR_NOT_IMPLEMENTED;
239}
240
241/* readonly attribute long startOffset; */
242NS_IMETHODIMP nsDOMRange::GetStartOffset(PRInt32 *aStartOffset)
243{
244    return NS_ERROR_NOT_IMPLEMENTED;
245}
246
247/* readonly attribute nsIDOMNode endContainer; */
248NS_IMETHODIMP nsDOMRange::GetEndContainer(nsIDOMNode * *aEndContainer)
249{
250    return NS_ERROR_NOT_IMPLEMENTED;
251}
252
253/* readonly attribute long endOffset; */
254NS_IMETHODIMP nsDOMRange::GetEndOffset(PRInt32 *aEndOffset)
255{
256    return NS_ERROR_NOT_IMPLEMENTED;
257}
258
259/* readonly attribute boolean collapsed; */
260NS_IMETHODIMP nsDOMRange::GetCollapsed(PRBool *aCollapsed)
261{
262    return NS_ERROR_NOT_IMPLEMENTED;
263}
264
265/* readonly attribute nsIDOMNode commonAncestorContainer; */
266NS_IMETHODIMP nsDOMRange::GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer)
267{
268    return NS_ERROR_NOT_IMPLEMENTED;
269}
270
271/* void setStart (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */
272NS_IMETHODIMP nsDOMRange::SetStart(nsIDOMNode *refNode, PRInt32 offset)
273{
274    return NS_ERROR_NOT_IMPLEMENTED;
275}
276
277/* void setEnd (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */
278NS_IMETHODIMP nsDOMRange::SetEnd(nsIDOMNode *refNode, PRInt32 offset)
279{
280    return NS_ERROR_NOT_IMPLEMENTED;
281}
282
283/* void setStartBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
284NS_IMETHODIMP nsDOMRange::SetStartBefore(nsIDOMNode *refNode)
285{
286    return NS_ERROR_NOT_IMPLEMENTED;
287}
288
289/* void setStartAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
290NS_IMETHODIMP nsDOMRange::SetStartAfter(nsIDOMNode *refNode)
291{
292    return NS_ERROR_NOT_IMPLEMENTED;
293}
294
295/* void setEndBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
296NS_IMETHODIMP nsDOMRange::SetEndBefore(nsIDOMNode *refNode)
297{
298    return NS_ERROR_NOT_IMPLEMENTED;
299}
300
301/* void setEndAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
302NS_IMETHODIMP nsDOMRange::SetEndAfter(nsIDOMNode *refNode)
303{
304    return NS_ERROR_NOT_IMPLEMENTED;
305}
306
307/* void collapse (in boolean toStart)  raises (DOMException); */
308NS_IMETHODIMP nsDOMRange::Collapse(PRBool toStart)
309{
310    return NS_ERROR_NOT_IMPLEMENTED;
311}
312
313/* void selectNode (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
314NS_IMETHODIMP nsDOMRange::SelectNode(nsIDOMNode *refNode)
315{
316    return NS_ERROR_NOT_IMPLEMENTED;
317}
318
319/* void selectNodeContents (in nsIDOMNode refNode)  raises (RangeException, DOMException); */
320NS_IMETHODIMP nsDOMRange::SelectNodeContents(nsIDOMNode *refNode)
321{
322    return NS_ERROR_NOT_IMPLEMENTED;
323}
324
325/* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRange)  raises (DOMException); */
326NS_IMETHODIMP nsDOMRange::CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval)
327{
328    return NS_ERROR_NOT_IMPLEMENTED;
329}
330
331/* void deleteContents ()  raises (DOMException); */
332NS_IMETHODIMP nsDOMRange::DeleteContents()
333{
334    return NS_ERROR_NOT_IMPLEMENTED;
335}
336
337/* nsIDOMDocumentFragment extractContents ()  raises (DOMException); */
338NS_IMETHODIMP nsDOMRange::ExtractContents(nsIDOMDocumentFragment **_retval)
339{
340    return NS_ERROR_NOT_IMPLEMENTED;
341}
342
343/* nsIDOMDocumentFragment cloneContents ()  raises (DOMException); */
344NS_IMETHODIMP nsDOMRange::CloneContents(nsIDOMDocumentFragment **_retval)
345{
346    return NS_ERROR_NOT_IMPLEMENTED;
347}
348
349/* void insertNode (in nsIDOMNode newNode)  raises (DOMException, RangeException); */
350NS_IMETHODIMP nsDOMRange::InsertNode(nsIDOMNode *newNode)
351{
352    return NS_ERROR_NOT_IMPLEMENTED;
353}
354
355/* void surroundContents (in nsIDOMNode newParent)  raises (DOMException, RangeException); */
356NS_IMETHODIMP nsDOMRange::SurroundContents(nsIDOMNode *newParent)
357{
358    return NS_ERROR_NOT_IMPLEMENTED;
359}
360
361/* nsIDOMRange cloneRange ()  raises (DOMException); */
362NS_IMETHODIMP nsDOMRange::CloneRange(nsIDOMRange **_retval)
363{
364    return NS_ERROR_NOT_IMPLEMENTED;
365}
366
367/* DOMString toString ()  raises (DOMException); */
368NS_IMETHODIMP nsDOMRange::ToString(nsAString & _retval)
369{
370    return NS_ERROR_NOT_IMPLEMENTED;
371}
372
373/* void detach ()  raises (DOMException); */
374NS_IMETHODIMP nsDOMRange::Detach()
375{
376    return NS_ERROR_NOT_IMPLEMENTED;
377}
378
379/* End of implementation class template. */
380#endif
381
382
383#endif /* __gen_nsIDOMRange_h__ */