Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsICSSNameSpaceRule.h File Reference
#include "nsICSSRule.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsICSSNameSpaceRule

Defines

#define NS_ICSS_NAMESPACE_RULE_IID   {0x2469c930, 0x1a09, 0x11d3, {0x80, 0x5a, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}

Functions

nsresult NS_NewCSSNameSpaceRule (nsICSSNameSpaceRule **aInstancePtrResult, nsIAtom *aPrefix, const nsString &aURLSpec)

Define Documentation

#define NS_ICSS_NAMESPACE_RULE_IID   {0x2469c930, 0x1a09, 0x11d3, {0x80, 0x5a, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}

Definition at line 47 of file nsICSSNameSpaceRule.h.


Function Documentation

nsresult NS_NewCSSNameSpaceRule ( nsICSSNameSpaceRule **  aInstancePtrResult,
nsIAtom aPrefix,
const nsString aURLSpec 
)

Definition at line 1440 of file nsCSSRules.cpp.

{
  if (! aInstancePtrResult) {
    return NS_ERROR_NULL_POINTER;
  }

  CSSNameSpaceRuleImpl* it = new CSSNameSpaceRuleImpl();

  if (! it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  it->SetPrefix(aPrefix);
  it->SetURLSpec(aURLSpec);
  return CallQueryInterface(it, aInstancePtrResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: