OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_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 |
| 25 class NS_NO_VTABLE nsIDOMRange : public nsISupports { |
| 26 public: |
| 27 |
| 28 NS_DEFINE_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_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) = 0; |
| 40 |
| 41 /* readonly attribute long startOffset; */ |
| 42 NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) = 0; |
| 43 |
| 44 /* readonly attribute nsIDOMNode endContainer; */ |
| 45 NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) = 0; |
| 46 |
| 47 /* readonly attribute long endOffset; */ |
| 48 NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) = 0; |
| 49 |
| 50 /* readonly attribute boolean collapsed; */ |
| 51 NS_IMETHOD GetCollapsed(PRBool *aCollapsed) = 0; |
| 52 |
| 53 /* readonly attribute nsIDOMNode commonAncestorContainer; */ |
| 54 NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer)
= 0; |
| 55 |
| 56 /* void setStart (in nsIDOMNode refNode, in long offset) raises (RangeExcepti
on, DOMException); */ |
| 57 NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) = 0; |
| 58 |
| 59 /* void setEnd (in nsIDOMNode refNode, in long offset) raises (RangeException
, DOMException); */ |
| 60 NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) = 0; |
| 61 |
| 62 /* void setStartBefore (in nsIDOMNode refNode) raises (RangeException, DOMExc
eption); */ |
| 63 NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) = 0; |
| 64 |
| 65 /* void setStartAfter (in nsIDOMNode refNode) raises (RangeException, DOMExce
ption); */ |
| 66 NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) = 0; |
| 67 |
| 68 /* void setEndBefore (in nsIDOMNode refNode) raises (RangeException, DOMExcep
tion); */ |
| 69 NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) = 0; |
| 70 |
| 71 /* void setEndAfter (in nsIDOMNode refNode) raises (RangeException, DOMExcept
ion); */ |
| 72 NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) = 0; |
| 73 |
| 74 /* void collapse (in boolean toStart) raises (DOMException); */ |
| 75 NS_IMETHOD Collapse(PRBool toStart) = 0; |
| 76 |
| 77 /* void selectNode (in nsIDOMNode refNode) raises (RangeException, DOMExcepti
on); */ |
| 78 NS_IMETHOD SelectNode(nsIDOMNode *refNode) = 0; |
| 79 |
| 80 /* void selectNodeContents (in nsIDOMNode refNode) raises (RangeException, DO
MException); */ |
| 81 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 sourceRa
nge) raises (DOMException); */ |
| 92 NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt
16 *_retval) = 0; |
| 93 |
| 94 /* void deleteContents () raises (DOMException); */ |
| 95 NS_IMETHOD DeleteContents(void) = 0; |
| 96 |
| 97 /* nsIDOMDocumentFragment extractContents () raises (DOMException); */ |
| 98 NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) = 0; |
| 99 |
| 100 /* nsIDOMDocumentFragment cloneContents () raises (DOMException); */ |
| 101 NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) = 0; |
| 102 |
| 103 /* void insertNode (in nsIDOMNode newNode) raises (DOMException, RangeExcepti
on); */ |
| 104 NS_IMETHOD InsertNode(nsIDOMNode *newNode) = 0; |
| 105 |
| 106 /* void surroundContents (in nsIDOMNode newParent) raises (DOMException, Rang
eException); */ |
| 107 NS_IMETHOD SurroundContents(nsIDOMNode *newParent) = 0; |
| 108 |
| 109 /* nsIDOMRange cloneRange () raises (DOMException); */ |
| 110 NS_IMETHOD CloneRange(nsIDOMRange **_retval) = 0; |
| 111 |
| 112 /* DOMString toString () raises (DOMException); */ |
| 113 NS_IMETHOD ToString(nsAString & _retval) = 0; |
| 114 |
| 115 /* void detach () raises (DOMException); */ |
| 116 NS_IMETHOD Detach(void) = 0; |
| 117 |
| 118 }; |
| 119 |
| 120 /* Use this macro when declaring classes that implement this interface. */ |
| 121 #define NS_DECL_NSIDOMRANGE \ |
| 122 NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer); \ |
| 123 NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset); \ |
| 124 NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer); \ |
| 125 NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset); \ |
| 126 NS_IMETHOD GetCollapsed(PRBool *aCollapsed); \ |
| 127 NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer);
\ |
| 128 NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset); \ |
| 129 NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset); \ |
| 130 NS_IMETHOD SetStartBefore(nsIDOMNode *refNode); \ |
| 131 NS_IMETHOD SetStartAfter(nsIDOMNode *refNode); \ |
| 132 NS_IMETHOD SetEndBefore(nsIDOMNode *refNode); \ |
| 133 NS_IMETHOD SetEndAfter(nsIDOMNode *refNode); \ |
| 134 NS_IMETHOD Collapse(PRBool toStart); \ |
| 135 NS_IMETHOD SelectNode(nsIDOMNode *refNode); \ |
| 136 NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode); \ |
| 137 NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt
16 *_retval); \ |
| 138 NS_IMETHOD DeleteContents(void); \ |
| 139 NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval); \ |
| 140 NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval); \ |
| 141 NS_IMETHOD InsertNode(nsIDOMNode *newNode); \ |
| 142 NS_IMETHOD SurroundContents(nsIDOMNode *newParent); \ |
| 143 NS_IMETHOD CloneRange(nsIDOMRange **_retval); \ |
| 144 NS_IMETHOD ToString(nsAString & _retval); \ |
| 145 NS_IMETHOD Detach(void); |
| 146 |
| 147 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 148 #define NS_FORWARD_NSIDOMRANGE(_to) \ |
| 149 NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return _to GetSt
artContainer(aStartContainer); } \ |
| 150 NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return _to GetStartOffset(a
StartOffset); } \ |
| 151 NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return _to GetEndCon
tainer(aEndContainer); } \ |
| 152 NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return _to GetEndOffset(aEndOff
set); } \ |
| 153 NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return _to GetCollapsed(aCollaps
ed); } \ |
| 154 NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer)
{ return _to GetCommonAncestorContainer(aCommonAncestorContainer); } \ |
| 155 NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return _to SetStart
(refNode, offset); } \ |
| 156 NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return _to SetEnd(ref
Node, offset); } \ |
| 157 NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return _to SetStartBefore(ref
Node); } \ |
| 158 NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return _to SetStartAfter(refNo
de); } \ |
| 159 NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return _to SetEndBefore(refNode
); } \ |
| 160 NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return _to SetEndAfter(refNode);
} \ |
| 161 NS_IMETHOD Collapse(PRBool toStart) { return _to Collapse(toStart); } \ |
| 162 NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return _to SelectNode(refNode); }
\ |
| 163 NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) { return _to SelectNodeCont
ents(refNode); } \ |
| 164 NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt
16 *_retval) { return _to CompareBoundaryPoints(how, sourceRange, _retval); } \ |
| 165 NS_IMETHOD DeleteContents(void) { return _to DeleteContents(); } \ |
| 166 NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) { return _to Extr
actContents(_retval); } \ |
| 167 NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) { return _to CloneC
ontents(_retval); } \ |
| 168 NS_IMETHOD InsertNode(nsIDOMNode *newNode) { return _to InsertNode(newNode); }
\ |
| 169 NS_IMETHOD SurroundContents(nsIDOMNode *newParent) { return _to SurroundConten
ts(newParent); } \ |
| 170 NS_IMETHOD CloneRange(nsIDOMRange **_retval) { return _to CloneRange(_retval);
} \ |
| 171 NS_IMETHOD ToString(nsAString & _retval) { return _to ToString(_retval); } \ |
| 172 NS_IMETHOD Detach(void) { return _to Detach(); } |
| 173 |
| 174 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 175 #define NS_FORWARD_SAFE_NSIDOMRANGE(_to) \ |
| 176 NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return !_to ? NS
_ERROR_NULL_POINTER : _to->GetStartContainer(aStartContainer); } \ |
| 177 NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return !_to ? NS_ERROR_NULL
_POINTER : _to->GetStartOffset(aStartOffset); } \ |
| 178 NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return !_to ? NS_ERR
OR_NULL_POINTER : _to->GetEndContainer(aEndContainer); } \ |
| 179 NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return !_to ? NS_ERROR_NULL_POI
NTER : _to->GetEndOffset(aEndOffset); } \ |
| 180 NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->GetCollapsed(aCollapsed); } \ |
| 181 NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer)
{ return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommonAncestorContainer(aCommonA
ncestorContainer); } \ |
| 182 NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ER
ROR_NULL_POINTER : _to->SetStart(refNode, offset); } \ |
| 183 NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ERRO
R_NULL_POINTER : _to->SetEnd(refNode, offset); } \ |
| 184 NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_P
OINTER : _to->SetStartBefore(refNode); } \ |
| 185 NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetStartAfter(refNode); } \ |
| 186 NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POI
NTER : _to->SetEndBefore(refNode); } \ |
| 187 NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->SetEndAfter(refNode); } \ |
| 188 NS_IMETHOD Collapse(PRBool toStart) { return !_to ? NS_ERROR_NULL_POINTER : _t
o->Collapse(toStart); } \ |
| 189 NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINT
ER : _to->SelectNode(refNode); } \ |
| 190 NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NU
LL_POINTER : _to->SelectNodeContents(refNode); } \ |
| 191 NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt
16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareBoundaryPoints(
how, sourceRange, _retval); } \ |
| 192 NS_IMETHOD DeleteContents(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->D
eleteContents(); } \ |
| 193 NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) { return !_to ? N
S_ERROR_NULL_POINTER : _to->ExtractContents(_retval); } \ |
| 194 NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) { return !_to ? NS_
ERROR_NULL_POINTER : _to->CloneContents(_retval); } \ |
| 195 NS_IMETHOD InsertNode(nsIDOMNode *newNode) { return !_to ? NS_ERROR_NULL_POINT
ER : _to->InsertNode(newNode); } \ |
| 196 NS_IMETHOD SurroundContents(nsIDOMNode *newParent) { return !_to ? NS_ERROR_NU
LL_POINTER : _to->SurroundContents(newParent); } \ |
| 197 NS_IMETHOD CloneRange(nsIDOMRange **_retval) { return !_to ? NS_ERROR_NULL_POI
NTER : _to->CloneRange(_retval); } \ |
| 198 NS_IMETHOD ToString(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER
: _to->ToString(_retval); } \ |
| 199 NS_IMETHOD Detach(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Detach();
} |
| 200 |
| 201 #if 0 |
| 202 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 203 |
| 204 /* Header file */ |
| 205 class nsDOMRange : public nsIDOMRange |
| 206 { |
| 207 public: |
| 208 NS_DECL_ISUPPORTS |
| 209 NS_DECL_NSIDOMRANGE |
| 210 |
| 211 nsDOMRange(); |
| 212 |
| 213 private: |
| 214 ~nsDOMRange(); |
| 215 |
| 216 protected: |
| 217 /* additional members */ |
| 218 }; |
| 219 |
| 220 /* Implementation file */ |
| 221 NS_IMPL_ISUPPORTS1(nsDOMRange, nsIDOMRange) |
| 222 |
| 223 nsDOMRange::nsDOMRange() |
| 224 { |
| 225 /* member initializers and constructor code */ |
| 226 } |
| 227 |
| 228 nsDOMRange::~nsDOMRange() |
| 229 { |
| 230 /* destructor code */ |
| 231 } |
| 232 |
| 233 /* readonly attribute nsIDOMNode startContainer; */ |
| 234 NS_IMETHODIMP nsDOMRange::GetStartContainer(nsIDOMNode * *aStartContainer) |
| 235 { |
| 236 return NS_ERROR_NOT_IMPLEMENTED; |
| 237 } |
| 238 |
| 239 /* readonly attribute long startOffset; */ |
| 240 NS_IMETHODIMP nsDOMRange::GetStartOffset(PRInt32 *aStartOffset) |
| 241 { |
| 242 return NS_ERROR_NOT_IMPLEMENTED; |
| 243 } |
| 244 |
| 245 /* readonly attribute nsIDOMNode endContainer; */ |
| 246 NS_IMETHODIMP nsDOMRange::GetEndContainer(nsIDOMNode * *aEndContainer) |
| 247 { |
| 248 return NS_ERROR_NOT_IMPLEMENTED; |
| 249 } |
| 250 |
| 251 /* readonly attribute long endOffset; */ |
| 252 NS_IMETHODIMP nsDOMRange::GetEndOffset(PRInt32 *aEndOffset) |
| 253 { |
| 254 return NS_ERROR_NOT_IMPLEMENTED; |
| 255 } |
| 256 |
| 257 /* readonly attribute boolean collapsed; */ |
| 258 NS_IMETHODIMP nsDOMRange::GetCollapsed(PRBool *aCollapsed) |
| 259 { |
| 260 return NS_ERROR_NOT_IMPLEMENTED; |
| 261 } |
| 262 |
| 263 /* readonly attribute nsIDOMNode commonAncestorContainer; */ |
| 264 NS_IMETHODIMP nsDOMRange::GetCommonAncestorContainer(nsIDOMNode * *aCommonAncest
orContainer) |
| 265 { |
| 266 return NS_ERROR_NOT_IMPLEMENTED; |
| 267 } |
| 268 |
| 269 /* void setStart (in nsIDOMNode refNode, in long offset) raises (RangeException
, DOMException); */ |
| 270 NS_IMETHODIMP nsDOMRange::SetStart(nsIDOMNode *refNode, PRInt32 offset) |
| 271 { |
| 272 return NS_ERROR_NOT_IMPLEMENTED; |
| 273 } |
| 274 |
| 275 /* void setEnd (in nsIDOMNode refNode, in long offset) raises (RangeException,
DOMException); */ |
| 276 NS_IMETHODIMP nsDOMRange::SetEnd(nsIDOMNode *refNode, PRInt32 offset) |
| 277 { |
| 278 return NS_ERROR_NOT_IMPLEMENTED; |
| 279 } |
| 280 |
| 281 /* void setStartBefore (in nsIDOMNode refNode) raises (RangeException, DOMExcep
tion); */ |
| 282 NS_IMETHODIMP nsDOMRange::SetStartBefore(nsIDOMNode *refNode) |
| 283 { |
| 284 return NS_ERROR_NOT_IMPLEMENTED; |
| 285 } |
| 286 |
| 287 /* void setStartAfter (in nsIDOMNode refNode) raises (RangeException, DOMExcept
ion); */ |
| 288 NS_IMETHODIMP nsDOMRange::SetStartAfter(nsIDOMNode *refNode) |
| 289 { |
| 290 return NS_ERROR_NOT_IMPLEMENTED; |
| 291 } |
| 292 |
| 293 /* void setEndBefore (in nsIDOMNode refNode) raises (RangeException, DOMExcepti
on); */ |
| 294 NS_IMETHODIMP nsDOMRange::SetEndBefore(nsIDOMNode *refNode) |
| 295 { |
| 296 return NS_ERROR_NOT_IMPLEMENTED; |
| 297 } |
| 298 |
| 299 /* void setEndAfter (in nsIDOMNode refNode) raises (RangeException, DOMExceptio
n); */ |
| 300 NS_IMETHODIMP nsDOMRange::SetEndAfter(nsIDOMNode *refNode) |
| 301 { |
| 302 return NS_ERROR_NOT_IMPLEMENTED; |
| 303 } |
| 304 |
| 305 /* void collapse (in boolean toStart) raises (DOMException); */ |
| 306 NS_IMETHODIMP nsDOMRange::Collapse(PRBool toStart) |
| 307 { |
| 308 return NS_ERROR_NOT_IMPLEMENTED; |
| 309 } |
| 310 |
| 311 /* void selectNode (in nsIDOMNode refNode) raises (RangeException, DOMException
); */ |
| 312 NS_IMETHODIMP nsDOMRange::SelectNode(nsIDOMNode *refNode) |
| 313 { |
| 314 return NS_ERROR_NOT_IMPLEMENTED; |
| 315 } |
| 316 |
| 317 /* void selectNodeContents (in nsIDOMNode refNode) raises (RangeException, DOME
xception); */ |
| 318 NS_IMETHODIMP nsDOMRange::SelectNodeContents(nsIDOMNode *refNode) |
| 319 { |
| 320 return NS_ERROR_NOT_IMPLEMENTED; |
| 321 } |
| 322 |
| 323 /* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRang
e) raises (DOMException); */ |
| 324 NS_IMETHODIMP nsDOMRange::CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourc
eRange, PRInt16 *_retval) |
| 325 { |
| 326 return NS_ERROR_NOT_IMPLEMENTED; |
| 327 } |
| 328 |
| 329 /* void deleteContents () raises (DOMException); */ |
| 330 NS_IMETHODIMP nsDOMRange::DeleteContents() |
| 331 { |
| 332 return NS_ERROR_NOT_IMPLEMENTED; |
| 333 } |
| 334 |
| 335 /* nsIDOMDocumentFragment extractContents () raises (DOMException); */ |
| 336 NS_IMETHODIMP nsDOMRange::ExtractContents(nsIDOMDocumentFragment **_retval) |
| 337 { |
| 338 return NS_ERROR_NOT_IMPLEMENTED; |
| 339 } |
| 340 |
| 341 /* nsIDOMDocumentFragment cloneContents () raises (DOMException); */ |
| 342 NS_IMETHODIMP nsDOMRange::CloneContents(nsIDOMDocumentFragment **_retval) |
| 343 { |
| 344 return NS_ERROR_NOT_IMPLEMENTED; |
| 345 } |
| 346 |
| 347 /* void insertNode (in nsIDOMNode newNode) raises (DOMException, RangeException
); */ |
| 348 NS_IMETHODIMP nsDOMRange::InsertNode(nsIDOMNode *newNode) |
| 349 { |
| 350 return NS_ERROR_NOT_IMPLEMENTED; |
| 351 } |
| 352 |
| 353 /* void surroundContents (in nsIDOMNode newParent) raises (DOMException, RangeE
xception); */ |
| 354 NS_IMETHODIMP nsDOMRange::SurroundContents(nsIDOMNode *newParent) |
| 355 { |
| 356 return NS_ERROR_NOT_IMPLEMENTED; |
| 357 } |
| 358 |
| 359 /* nsIDOMRange cloneRange () raises (DOMException); */ |
| 360 NS_IMETHODIMP nsDOMRange::CloneRange(nsIDOMRange **_retval) |
| 361 { |
| 362 return NS_ERROR_NOT_IMPLEMENTED; |
| 363 } |
| 364 |
| 365 /* DOMString toString () raises (DOMException); */ |
| 366 NS_IMETHODIMP nsDOMRange::ToString(nsAString & _retval) |
| 367 { |
| 368 return NS_ERROR_NOT_IMPLEMENTED; |
| 369 } |
| 370 |
| 371 /* void detach () raises (DOMException); */ |
| 372 NS_IMETHODIMP nsDOMRange::Detach() |
| 373 { |
| 374 return NS_ERROR_NOT_IMPLEMENTED; |
| 375 } |
| 376 |
| 377 /* End of implementation class template. */ |
| 378 #endif |
| 379 |
| 380 |
| 381 #endif /* __gen_nsIDOMRange_h__ */ |
OLD | NEW |