/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/xr19rel/WINNT_5.2_Depend/mozilla/dom/public/idl/svg/nsIDOMSVGStyleElement.idl
 */

#ifndef __gen_nsIDOMSVGStyleElement_h__
#define __gen_nsIDOMSVGStyleElement_h__


#ifndef __gen_nsIDOMSVGElement_h__
#include "nsIDOMSVGElement.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:    nsIDOMSVGStyleElement */
#define NS_IDOMSVGSTYLEELEMENT_IID_STR "9af0d129-b366-4aa8-b7d8-8dce93148d91"

#define NS_IDOMSVGSTYLEELEMENT_IID \
  {0x9af0d129, 0xb366, 0x4aa8, \
    { 0xb7, 0xd8, 0x8d, 0xce, 0x93, 0x14, 0x8d, 0x91 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGStyleElement : public nsIDOMSVGElement {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGSTYLEELEMENT_IID)

  /* attribute DOMString xmlspace; */
  NS_SCRIPTABLE NS_IMETHOD GetXmlspace(nsAString & aXmlspace) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) = 0;

  /* attribute DOMString type; */
  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;

  /* attribute DOMString media; */
  NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) = 0;

  /* attribute DOMString title; */
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGStyleElement, NS_IDOMSVGSTYLEELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSVGSTYLEELEMENT \
  NS_SCRIPTABLE NS_IMETHOD GetXmlspace(nsAString & aXmlspace); \
  NS_SCRIPTABLE NS_IMETHOD SetXmlspace(const nsAString & aXmlspace); \
  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
  NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia); \
  NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia); \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle); \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSVGSTYLEELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetXmlspace(nsAString & aXmlspace) { return _to GetXmlspace(aXmlspace); } \
  NS_SCRIPTABLE NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) { return _to SetXmlspace(aXmlspace); } \
  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) { return _to GetMedia(aMedia); } \
  NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) { return _to SetMedia(aMedia); } \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSVGSTYLEELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetXmlspace(nsAString & aXmlspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetXmlspace(aXmlspace); } \
  NS_SCRIPTABLE NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetXmlspace(aXmlspace); } \
  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
  NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMedia(aMedia); } \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } 

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

/* Header file */
class nsDOMSVGStyleElement : public nsIDOMSVGStyleElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMSVGSTYLEELEMENT

  nsDOMSVGStyleElement();

private:
  ~nsDOMSVGStyleElement();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSVGStyleElement, nsIDOMSVGStyleElement)

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

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

/* attribute DOMString xmlspace; */
NS_IMETHODIMP nsDOMSVGStyleElement::GetXmlspace(nsAString & aXmlspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGStyleElement::SetXmlspace(const nsAString & aXmlspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString type; */
NS_IMETHODIMP nsDOMSVGStyleElement::GetType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGStyleElement::SetType(const nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString media; */
NS_IMETHODIMP nsDOMSVGStyleElement::GetMedia(nsAString & aMedia)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGStyleElement::SetMedia(const nsAString & aMedia)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString title; */
NS_IMETHODIMP nsDOMSVGStyleElement::GetTitle(nsAString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGStyleElement::SetTitle(const nsAString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMSVGStyleElement_h__ */
