Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGAnimatedEnumeration.h File Reference
#include "nsSVGValue.h"
#include "nsIDOMSVGAnimatedEnum.h"
#include "nsISVGEnum.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewSVGAnimatedEnumeration (nsIDOMSVGAnimatedEnumeration **result, nsISVGEnum *baseVal)

Function Documentation

Definition at line 194 of file nsSVGAnimatedEnumeration.cpp.

{
  *aResult = nsnull;
  
  nsSVGAnimatedEnumeration* animatedEnum = new nsSVGAnimatedEnumeration();
  if (!animatedEnum) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedEnum);

  nsresult rv = animatedEnum->Init(aBaseVal);
  
  *aResult = (nsIDOMSVGAnimatedEnumeration*) animatedEnum;
  
  return rv;
}

Here is the call graph for this function:

Here is the caller graph for this function: