DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

nsIDOMRange

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMRange.idl
 */

#ifndef __gen_nsIDOMRange_h__
#define __gen_nsIDOMRange_h__


#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIDOMRange */
#define NS_IDOMRANGE_IID_STR "1f94055c-42e7-4a30-96a1-6a804f1c2d1e"

#define NS_IDOMRANGE_IID \
  {0x1f94055c, 0x42e7, 0x4a30, \
    { 0x96, 0xa1, 0x6a, 0x80, 0x4f, 0x1c, 0x2d, 0x1e }}

class NS_NO_VTABLE nsIDOMRange : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMRANGE_IID)

  /* readonly attribute nsIDOMNode startContainer; */
  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) = 0;

  /* readonly attribute long startOffset; */
  NS_IMETHOD GetStartOffset(int32_t *aStartOffset) = 0;

  /* readonly attribute nsIDOMNode endContainer; */
  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) = 0;

  /* readonly attribute long endOffset; */
  NS_IMETHOD GetEndOffset(int32_t *aEndOffset) = 0;

  /* readonly attribute boolean collapsed; */
  NS_IMETHOD GetCollapsed(bool *aCollapsed) = 0;

  /* readonly attribute nsIDOMNode commonAncestorContainer; */
  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) = 0;

  /* void setStart (in nsIDOMNode refNode, in long offset); */
  NS_IMETHOD SetStart(nsIDOMNode *refNode, int32_t offset) = 0;

  /* void setEnd (in nsIDOMNode refNode, in long offset); */
  NS_IMETHOD SetEnd(nsIDOMNode *refNode, int32_t offset) = 0;

  /* void setStartBefore (in nsIDOMNode refNode); */
  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) = 0;

  /* void setStartAfter (in nsIDOMNode refNode); */
  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) = 0;

  /* void setEndBefore (in nsIDOMNode refNode); */
  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) = 0;

  /* void setEndAfter (in nsIDOMNode refNode); */
  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) = 0;

  /* void collapse (in boolean toStart); */
  NS_IMETHOD Collapse(bool toStart) = 0;

  /* void selectNode (in nsIDOMNode refNode); */
  NS_IMETHOD SelectNode(nsIDOMNode *refNode) = 0;

  /* void selectNodeContents (in nsIDOMNode refNode); */
  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) = 0;

  enum {
    START_TO_START = 0U,
    START_TO_END = 1U,
    END_TO_END = 2U,
    END_TO_START = 3U
  };

  /* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRange); */
  NS_IMETHOD CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval) = 0;

  /* void deleteContents (); */
  NS_IMETHOD DeleteContents(void) = 0;

  /* nsIDOMDocumentFragment extractContents (); */
  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment * *_retval) = 0;

  /* nsIDOMDocumentFragment cloneContents (); */
  NS_IMETHOD CloneContents(nsIDOMDocumentFragment * *_retval) = 0;

  /* void insertNode (in nsIDOMNode newNode); */
  NS_IMETHOD InsertNode(nsIDOMNode *newNode) = 0;

  /* void surroundContents (in nsIDOMNode newParent); */
  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) = 0;

  /* nsIDOMRange cloneRange (); */
  NS_IMETHOD CloneRange(nsIDOMRange * *_retval) = 0;

  /* DOMString toString (); */
  NS_IMETHOD ToString(nsAString & _retval) = 0;

  /* void detach (); */
  NS_IMETHOD Detach(void) = 0;

  /* nsIDOMDocumentFragment createContextualFragment (in DOMString fragment); */
  NS_IMETHOD CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval) = 0;

  /* boolean isPointInRange (in nsIDOMNode parent, in long offset); */
  NS_IMETHOD IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval) = 0;

  /* short comparePoint (in nsIDOMNode parent, in long offset); */
  NS_IMETHOD ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval) = 0;

  /* boolean intersectsNode (in nsIDOMNode node); */
  NS_IMETHOD IntersectsNode(nsIDOMNode *node, bool *_retval) = 0;

  /* nsIDOMClientRectList getClientRects (); */
  NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) = 0;

  /* nsIDOMClientRect getBoundingClientRect (); */
  NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMRange, NS_IDOMRANGE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMRANGE \
  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) override; \
  NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override; \
  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) override; \
  NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override; \
  NS_IMETHOD GetCollapsed(bool *aCollapsed) override; \
  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) override; \
  NS_IMETHOD SetStart(nsIDOMNode *refNode, int32_t offset) override; \
  NS_IMETHOD SetEnd(nsIDOMNode *refNode, int32_t offset) override; \
  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) override; \
  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) override; \
  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) override; \
  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) override; \
  NS_IMETHOD Collapse(bool toStart) override; \
  NS_IMETHOD SelectNode(nsIDOMNode *refNode) override; \
  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) override; \
  NS_IMETHOD CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval) override; \
  NS_IMETHOD DeleteContents(void) override; \
  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment * *_retval) override; \
  NS_IMETHOD CloneContents(nsIDOMDocumentFragment * *_retval) override; \
  NS_IMETHOD InsertNode(nsIDOMNode *newNode) override; \
  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) override; \
  NS_IMETHOD CloneRange(nsIDOMRange * *_retval) override; \
  NS_IMETHOD ToString(nsAString & _retval) override; \
  NS_IMETHOD Detach(void) override; \
  NS_IMETHOD CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval) override; \
  NS_IMETHOD IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval) override; \
  NS_IMETHOD ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval) override; \
  NS_IMETHOD IntersectsNode(nsIDOMNode *node, bool *_retval) override; \
  NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override; \
  NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIDOMRANGE \
  nsresult GetStartContainer(nsIDOMNode * *aStartContainer); \
  nsresult GetStartOffset(int32_t *aStartOffset); \
  nsresult GetEndContainer(nsIDOMNode * *aEndContainer); \
  nsresult GetEndOffset(int32_t *aEndOffset); \
  nsresult GetCollapsed(bool *aCollapsed); \
  nsresult GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer); \
  nsresult SetStart(nsIDOMNode *refNode, int32_t offset); \
  nsresult SetEnd(nsIDOMNode *refNode, int32_t offset); \
  nsresult SetStartBefore(nsIDOMNode *refNode); \
  nsresult SetStartAfter(nsIDOMNode *refNode); \
  nsresult SetEndBefore(nsIDOMNode *refNode); \
  nsresult SetEndAfter(nsIDOMNode *refNode); \
  nsresult Collapse(bool toStart); \
  nsresult SelectNode(nsIDOMNode *refNode); \
  nsresult SelectNodeContents(nsIDOMNode *refNode); \
  nsresult CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval); \
  nsresult DeleteContents(void); \
  nsresult ExtractContents(nsIDOMDocumentFragment * *_retval); \
  nsresult CloneContents(nsIDOMDocumentFragment * *_retval); \
  nsresult InsertNode(nsIDOMNode *newNode); \
  nsresult SurroundContents(nsIDOMNode *newParent); \
  nsresult CloneRange(nsIDOMRange * *_retval); \
  nsresult ToString(nsAString & _retval); \
  nsresult Detach(void); \
  nsresult CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval); \
  nsresult IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval); \
  nsresult ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval); \
  nsresult IntersectsNode(nsIDOMNode *node, bool *_retval); \
  nsresult GetClientRects(nsIDOMClientRectList * *_retval); \
  nsresult GetBoundingClientRect(nsIDOMClientRect * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMRANGE(_to) \
  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) override { return _to GetStartContainer(aStartContainer); } \
  NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override { return _to GetStartOffset(aStartOffset); } \
  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) override { return _to GetEndContainer(aEndContainer); } \
  NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override { return _to GetEndOffset(aEndOffset); } \
  NS_IMETHOD GetCollapsed(bool *aCollapsed) override { return _to GetCollapsed(aCollapsed); } \
  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) override { return _to GetCommonAncestorContainer(aCommonAncestorContainer); } \
  NS_IMETHOD SetStart(nsIDOMNode *refNode, int32_t offset) override { return _to SetStart(refNode, offset); } \
  NS_IMETHOD SetEnd(nsIDOMNode *refNode, int32_t offset) override { return _to SetEnd(refNode, offset); } \
  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) override { return _to SetStartBefore(refNode); } \
  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) override { return _to SetStartAfter(refNode); } \
  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) override { return _to SetEndBefore(refNode); } \
  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) override { return _to SetEndAfter(refNode); } \
  NS_IMETHOD Collapse(bool toStart) override { return _to Collapse(toStart); } \
  NS_IMETHOD SelectNode(nsIDOMNode *refNode) override { return _to SelectNode(refNode); } \
  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) override { return _to SelectNodeContents(refNode); } \
  NS_IMETHOD CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval) override { return _to CompareBoundaryPoints(how, sourceRange, _retval); } \
  NS_IMETHOD DeleteContents(void) override { return _to DeleteContents(); } \
  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment * *_retval) override { return _to ExtractContents(_retval); } \
  NS_IMETHOD CloneContents(nsIDOMDocumentFragment * *_retval) override { return _to CloneContents(_retval); } \
  NS_IMETHOD InsertNode(nsIDOMNode *newNode) override { return _to InsertNode(newNode); } \
  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) override { return _to SurroundContents(newParent); } \
  NS_IMETHOD CloneRange(nsIDOMRange * *_retval) override { return _to CloneRange(_retval); } \
  NS_IMETHOD ToString(nsAString & _retval) override { return _to ToString(_retval); } \
  NS_IMETHOD Detach(void) override { return _to Detach(); } \
  NS_IMETHOD CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval) override { return _to CreateContextualFragment(fragment, _retval); } \
  NS_IMETHOD IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval) override { return _to IsPointInRange(parent, offset, _retval); } \
  NS_IMETHOD ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval) override { return _to ComparePoint(parent, offset, _retval); } \
  NS_IMETHOD IntersectsNode(nsIDOMNode *node, bool *_retval) override { return _to IntersectsNode(node, _retval); } \
  NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override { return _to GetClientRects(_retval); } \
  NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override { return _to GetBoundingClientRect(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMRANGE(_to) \
  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartContainer(aStartContainer); } \
  NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartOffset(aStartOffset); } \
  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndContainer(aEndContainer); } \
  NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndOffset(aEndOffset); } \
  NS_IMETHOD GetCollapsed(bool *aCollapsed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollapsed(aCollapsed); } \
  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommonAncestorContainer(aCommonAncestorContainer); } \
  NS_IMETHOD SetStart(nsIDOMNode *refNode, int32_t offset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(refNode, offset); } \
  NS_IMETHOD SetEnd(nsIDOMNode *refNode, int32_t offset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnd(refNode, offset); } \
  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartBefore(refNode); } \
  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartAfter(refNode); } \
  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndBefore(refNode); } \
  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndAfter(refNode); } \
  NS_IMETHOD Collapse(bool toStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Collapse(toStart); } \
  NS_IMETHOD SelectNode(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectNode(refNode); } \
  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectNodeContents(refNode); } \
  NS_IMETHOD CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareBoundaryPoints(how, sourceRange, _retval); } \
  NS_IMETHOD DeleteContents(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteContents(); } \
  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ExtractContents(_retval); } \
  NS_IMETHOD CloneContents(nsIDOMDocumentFragment * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneContents(_retval); } \
  NS_IMETHOD InsertNode(nsIDOMNode *newNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertNode(newNode); } \
  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SurroundContents(newParent); } \
  NS_IMETHOD CloneRange(nsIDOMRange * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneRange(_retval); } \
  NS_IMETHOD ToString(nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
  NS_IMETHOD Detach(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Detach(); } \
  NS_IMETHOD CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateContextualFragment(fragment, _retval); } \
  NS_IMETHOD IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsPointInRange(parent, offset, _retval); } \
  NS_IMETHOD ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ComparePoint(parent, offset, _retval); } \
  NS_IMETHOD IntersectsNode(nsIDOMNode *node, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IntersectsNode(node, _retval); } \
  NS_IMETHOD GetClientRects(nsIDOMClientRectList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientRects(_retval); } \
  NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoundingClientRect(_retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMRange : public nsIDOMRange
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMRANGE

  nsDOMRange();

private:
  ~nsDOMRange();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMRange, nsIDOMRange)

nsDOMRange::nsDOMRange()
{
  /* member initializers and constructor code */
}

nsDOMRange::~nsDOMRange()
{
  /* destructor code */
}

/* readonly attribute nsIDOMNode startContainer; */
NS_IMETHODIMP nsDOMRange::GetStartContainer(nsIDOMNode * *aStartContainer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long startOffset; */
NS_IMETHODIMP nsDOMRange::GetStartOffset(int32_t *aStartOffset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMNode endContainer; */
NS_IMETHODIMP nsDOMRange::GetEndContainer(nsIDOMNode * *aEndContainer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long endOffset; */
NS_IMETHODIMP nsDOMRange::GetEndOffset(int32_t *aEndOffset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean collapsed; */
NS_IMETHODIMP nsDOMRange::GetCollapsed(bool *aCollapsed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMNode commonAncestorContainer; */
NS_IMETHODIMP nsDOMRange::GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setStart (in nsIDOMNode refNode, in long offset); */
NS_IMETHODIMP nsDOMRange::SetStart(nsIDOMNode *refNode, int32_t offset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setEnd (in nsIDOMNode refNode, in long offset); */
NS_IMETHODIMP nsDOMRange::SetEnd(nsIDOMNode *refNode, int32_t offset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setStartBefore (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SetStartBefore(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setStartAfter (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SetStartAfter(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setEndBefore (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SetEndBefore(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setEndAfter (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SetEndAfter(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void collapse (in boolean toStart); */
NS_IMETHODIMP nsDOMRange::Collapse(bool toStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void selectNode (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SelectNode(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void selectNodeContents (in nsIDOMNode refNode); */
NS_IMETHODIMP nsDOMRange::SelectNodeContents(nsIDOMNode *refNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRange); */
NS_IMETHODIMP nsDOMRange::CompareBoundaryPoints(uint16_t how, nsIDOMRange *sourceRange, int16_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteContents (); */
NS_IMETHODIMP nsDOMRange::DeleteContents()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDocumentFragment extractContents (); */
NS_IMETHODIMP nsDOMRange::ExtractContents(nsIDOMDocumentFragment * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDocumentFragment cloneContents (); */
NS_IMETHODIMP nsDOMRange::CloneContents(nsIDOMDocumentFragment * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void insertNode (in nsIDOMNode newNode); */
NS_IMETHODIMP nsDOMRange::InsertNode(nsIDOMNode *newNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void surroundContents (in nsIDOMNode newParent); */
NS_IMETHODIMP nsDOMRange::SurroundContents(nsIDOMNode *newParent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMRange cloneRange (); */
NS_IMETHODIMP nsDOMRange::CloneRange(nsIDOMRange * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString toString (); */
NS_IMETHODIMP nsDOMRange::ToString(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void detach (); */
NS_IMETHODIMP nsDOMRange::Detach()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDocumentFragment createContextualFragment (in DOMString fragment); */
NS_IMETHODIMP nsDOMRange::CreateContextualFragment(const nsAString & fragment, nsIDOMDocumentFragment * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isPointInRange (in nsIDOMNode parent, in long offset); */
NS_IMETHODIMP nsDOMRange::IsPointInRange(nsIDOMNode *parent, int32_t offset, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* short comparePoint (in nsIDOMNode parent, in long offset); */
NS_IMETHODIMP nsDOMRange::ComparePoint(nsIDOMNode *parent, int32_t offset, int16_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean intersectsNode (in nsIDOMNode node); */
NS_IMETHODIMP nsDOMRange::IntersectsNode(nsIDOMNode *node, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMClientRectList getClientRects (); */
NS_IMETHODIMP nsDOMRange::GetClientRects(nsIDOMClientRectList * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMClientRect getBoundingClientRect (); */
NS_IMETHODIMP nsDOMRange::GetBoundingClientRect(nsIDOMClientRect * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMRange_h__ */