/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /work/a/ports/www/libxul/work/mozilla-esr17/dom/interfaces/svg/nsIDOMSVGAnimatedInteger.idl
 */

#ifndef __gen_nsIDOMSVGAnimatedInteger_h__
#define __gen_nsIDOMSVGAnimatedInteger_h__


#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIDOMSVGAnimatedInteger */
#define NS_IDOMSVGANIMATEDINTEGER_IID_STR "7b196db6-955e-4a9f-8f42-645ebc2ce938"

#define NS_IDOMSVGANIMATEDINTEGER_IID \
  {0x7b196db6, 0x955e, 0x4a9f, \
    { 0x8f, 0x42, 0x64, 0x5e, 0xbc, 0x2c, 0xe9, 0x38 }}

class NS_NO_VTABLE nsIDOMSVGAnimatedInteger : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGANIMATEDINTEGER_IID)

  /* attribute long baseVal; */
  NS_IMETHOD GetBaseVal(int32_t *aBaseVal) = 0;
  NS_IMETHOD SetBaseVal(int32_t aBaseVal) = 0;

  /* readonly attribute long animVal; */
  NS_IMETHOD GetAnimVal(int32_t *aAnimVal) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGAnimatedInteger, NS_IDOMSVGANIMATEDINTEGER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSVGANIMATEDINTEGER \
  NS_IMETHOD GetBaseVal(int32_t *aBaseVal); \
  NS_IMETHOD SetBaseVal(int32_t aBaseVal); \
  NS_IMETHOD GetAnimVal(int32_t *aAnimVal); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSVGANIMATEDINTEGER(_to) \
  NS_IMETHOD GetBaseVal(int32_t *aBaseVal) { return _to GetBaseVal(aBaseVal); } \
  NS_IMETHOD SetBaseVal(int32_t aBaseVal) { return _to SetBaseVal(aBaseVal); } \
  NS_IMETHOD GetAnimVal(int32_t *aAnimVal) { return _to GetAnimVal(aAnimVal); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSVGANIMATEDINTEGER(_to) \
  NS_IMETHOD GetBaseVal(int32_t *aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseVal(aBaseVal); } \
  NS_IMETHOD SetBaseVal(int32_t aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseVal(aBaseVal); } \
  NS_IMETHOD GetAnimVal(int32_t *aAnimVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnimVal(aAnimVal); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMSVGAnimatedInteger : public nsIDOMSVGAnimatedInteger
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMSVGANIMATEDINTEGER

  nsDOMSVGAnimatedInteger();

private:
  ~nsDOMSVGAnimatedInteger();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSVGAnimatedInteger, nsIDOMSVGAnimatedInteger)

nsDOMSVGAnimatedInteger::nsDOMSVGAnimatedInteger()
{
  /* member initializers and constructor code */
}

nsDOMSVGAnimatedInteger::~nsDOMSVGAnimatedInteger()
{
  /* destructor code */
}

/* attribute long baseVal; */
NS_IMETHODIMP nsDOMSVGAnimatedInteger::GetBaseVal(int32_t *aBaseVal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGAnimatedInteger::SetBaseVal(int32_t aBaseVal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long animVal; */
NS_IMETHODIMP nsDOMSVGAnimatedInteger::GetAnimVal(int32_t *aAnimVal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMSVGAnimatedInteger_h__ */
