Back to index

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

Go to the source code of this file.

Classes

class  nsICSSImportRule

Defines

#define NS_ICSS_IMPORT_RULE_IID   {0x33824a60, 0x1a09, 0x11d3, {0x80, 0x5a, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}

Functions

nsresult NS_NewCSSImportRule (nsICSSImportRule **aInstancePtrResult, const nsString &aURLSpec, nsMediaList *aMedia)

Define Documentation

#define NS_ICSS_IMPORT_RULE_IID   {0x33824a60, 0x1a09, 0x11d3, {0x80, 0x5a, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}

Definition at line 48 of file nsICSSImportRule.h.


Function Documentation

nsresult NS_NewCSSImportRule ( nsICSSImportRule **  aInstancePtrResult,
const nsString aURLSpec,
nsMediaList aMedia 
)

Definition at line 523 of file nsCSSRules.cpp.

{
  NS_ENSURE_ARG_POINTER(aInstancePtrResult);

  CSSImportRuleImpl* it = new CSSImportRuleImpl(aMedia);

  if (! it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

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

Here is the call graph for this function:

Here is the caller graph for this function: