Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsHTMLURIRefObject.h File Reference
#include "nsIURIRefObject.h"
#include "nsCOMPtr.h"
#include "nsIDOMNode.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsString.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  nsHTMLURIRefObject




nsresult NS_NewHTMLURIRefObject (nsIURIRefObject **aResult, nsIDOMNode *aNode)

Define Documentation

{ /* {bdd79df6-1dd1-11b2-b29c-c3d63a58f1d2} */         \
    0xbdd79df6, 0x1dd1, 0x11b2,                        \
    { 0xb2, 0x9c, 0xc3, 0xd6, 0x3a, 0x58, 0xf1, 0xd2 } \

Definition at line 49 of file nsHTMLURIRefObject.h.

Function Documentation

Definition at line 319 of file nsHTMLURIRefObject.cpp.

  nsHTMLURIRefObject* refObject = new nsHTMLURIRefObject();
  if (!refObject) return NS_ERROR_OUT_OF_MEMORY;
  nsresult rv = refObject->SetNode(aNode);
  if (NS_FAILED(rv)) {
    *aResult = 0;
    delete refObject;
    return rv;
  return refObject->QueryInterface(NS_GET_IID(nsIURIRefObject),