Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGAnimatedEnumeration.cpp File Reference
#include "nsSVGValue.h"
#include "nsWeakReference.h"
#include "nsSVGAnimatedEnumeration.h"
#include "nsISVGEnum.h"
#include "nsContentUtils.h"

Go to the source code of this file.


class  nsSVGAnimatedEnumeration


nsresult NS_NewSVGAnimatedEnumeration (nsIDOMSVGAnimatedEnumeration **aResult, nsISVGEnum *aBaseVal)

Function Documentation

Definition at line 194 of file nsSVGAnimatedEnumeration.cpp.

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

  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: