/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLScriptElement.idl
 */

#ifndef __gen_nsIDOMHTMLScriptElement_h__
#define __gen_nsIDOMHTMLScriptElement_h__


#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.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:    nsIDOMHTMLScriptElement */
#define NS_IDOMHTMLSCRIPTELEMENT_IID_STR "a6cf90b1-15b3-11d2-932e-00805f8add32"

#define NS_IDOMHTMLSCRIPTELEMENT_IID \
  {0xa6cf90b1, 0x15b3, 0x11d2, \
    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}

class NS_NO_VTABLE nsIDOMHTMLScriptElement : public nsIDOMHTMLElement {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSCRIPTELEMENT_IID)

  /* attribute DOMString text; */
  NS_IMETHOD GetText(nsAWritableString & aText) = 0;
  NS_IMETHOD SetText(const nsAReadableString & aText) = 0;

  /* attribute DOMString htmlFor; */
  NS_IMETHOD GetHtmlFor(nsAWritableString & aHtmlFor) = 0;
  NS_IMETHOD SetHtmlFor(const nsAReadableString & aHtmlFor) = 0;

  /* attribute DOMString event; */
  NS_IMETHOD GetEvent(nsAWritableString & aEvent) = 0;
  NS_IMETHOD SetEvent(const nsAReadableString & aEvent) = 0;

  /* attribute DOMString charset; */
  NS_IMETHOD GetCharset(nsAWritableString & aCharset) = 0;
  NS_IMETHOD SetCharset(const nsAReadableString & aCharset) = 0;

  /* attribute boolean defer; */
  NS_IMETHOD GetDefer(PRBool *aDefer) = 0;
  NS_IMETHOD SetDefer(PRBool aDefer) = 0;

  /* attribute DOMString src; */
  NS_IMETHOD GetSrc(nsAWritableString & aSrc) = 0;
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc) = 0;

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

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLSCRIPTELEMENT \
  NS_IMETHOD GetText(nsAWritableString & aText); \
  NS_IMETHOD SetText(const nsAReadableString & aText); \
  NS_IMETHOD GetHtmlFor(nsAWritableString & aHtmlFor); \
  NS_IMETHOD SetHtmlFor(const nsAReadableString & aHtmlFor); \
  NS_IMETHOD GetEvent(nsAWritableString & aEvent); \
  NS_IMETHOD SetEvent(const nsAReadableString & aEvent); \
  NS_IMETHOD GetCharset(nsAWritableString & aCharset); \
  NS_IMETHOD SetCharset(const nsAReadableString & aCharset); \
  NS_IMETHOD GetDefer(PRBool *aDefer); \
  NS_IMETHOD SetDefer(PRBool aDefer); \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc); \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc); \
  NS_IMETHOD GetType(nsAWritableString & aType); \
  NS_IMETHOD SetType(const nsAReadableString & aType); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLSCRIPTELEMENT(_to) \
  NS_IMETHOD GetText(nsAWritableString & aText) { return _to ## GetText(aText); } \
  NS_IMETHOD SetText(const nsAReadableString & aText) { return _to ## SetText(aText); } \
  NS_IMETHOD GetHtmlFor(nsAWritableString & aHtmlFor) { return _to ## GetHtmlFor(aHtmlFor); } \
  NS_IMETHOD SetHtmlFor(const nsAReadableString & aHtmlFor) { return _to ## SetHtmlFor(aHtmlFor); } \
  NS_IMETHOD GetEvent(nsAWritableString & aEvent) { return _to ## GetEvent(aEvent); } \
  NS_IMETHOD SetEvent(const nsAReadableString & aEvent) { return _to ## SetEvent(aEvent); } \
  NS_IMETHOD GetCharset(nsAWritableString & aCharset) { return _to ## GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const nsAReadableString & aCharset) { return _to ## SetCharset(aCharset); } \
  NS_IMETHOD GetDefer(PRBool *aDefer) { return _to ## GetDefer(aDefer); } \
  NS_IMETHOD SetDefer(PRBool aDefer) { return _to ## SetDefer(aDefer); } \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc) { return _to ## GetSrc(aSrc); } \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc) { return _to ## SetSrc(aSrc); } \
  NS_IMETHOD GetType(nsAWritableString & aType) { return _to ## GetType(aType); } \
  NS_IMETHOD SetType(const nsAReadableString & aType) { return _to ## SetType(aType); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLSCRIPTELEMENT(_to) \
  NS_IMETHOD GetText(nsAWritableString & aText) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetText(aText); } \
  NS_IMETHOD SetText(const nsAReadableString & aText) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetText(aText); } \
  NS_IMETHOD GetHtmlFor(nsAWritableString & aHtmlFor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetHtmlFor(aHtmlFor); } \
  NS_IMETHOD SetHtmlFor(const nsAReadableString & aHtmlFor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetHtmlFor(aHtmlFor); } \
  NS_IMETHOD GetEvent(nsAWritableString & aEvent) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetEvent(aEvent); } \
  NS_IMETHOD SetEvent(const nsAReadableString & aEvent) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetEvent(aEvent); } \
  NS_IMETHOD GetCharset(nsAWritableString & aCharset) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const nsAReadableString & aCharset) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetCharset(aCharset); } \
  NS_IMETHOD GetDefer(PRBool *aDefer) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetDefer(aDefer); } \
  NS_IMETHOD SetDefer(PRBool aDefer) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetDefer(aDefer); } \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetSrc(aSrc); } \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetSrc(aSrc); } \
  NS_IMETHOD GetType(nsAWritableString & aType) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetType(aType); } \
  NS_IMETHOD SetType(const nsAReadableString & aType) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetType(aType); } 

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

/* Header file */
class nsDOMHTMLScriptElement : public nsIDOMHTMLScriptElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLSCRIPTELEMENT

  nsDOMHTMLScriptElement();
  virtual ~nsDOMHTMLScriptElement();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLScriptElement, nsIDOMHTMLScriptElement)

nsDOMHTMLScriptElement::nsDOMHTMLScriptElement()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* attribute DOMString text; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetText(nsAWritableString & aText)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetText(const nsAReadableString & aText)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString htmlFor; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetHtmlFor(nsAWritableString & aHtmlFor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetHtmlFor(const nsAReadableString & aHtmlFor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString event; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetEvent(nsAWritableString & aEvent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetEvent(const nsAReadableString & aEvent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString charset; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetCharset(nsAWritableString & aCharset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetCharset(const nsAReadableString & aCharset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean defer; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetDefer(PRBool *aDefer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetDefer(PRBool aDefer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString src; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetSrc(nsAWritableString & aSrc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetSrc(const nsAReadableString & aSrc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString type; */
NS_IMETHODIMP nsDOMHTMLScriptElement::GetType(nsAWritableString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLScriptElement::SetType(const nsAReadableString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMHTMLScriptElement_h__ */
