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

#ifndef __gen_nsIDOMHTMLHRElement_h__
#define __gen_nsIDOMHTMLHRElement_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:    nsIDOMHTMLHRElement */
#define NS_IDOMHTMLHRELEMENT_IID_STR "a6cf90a8-15b3-11d2-932e-00805f8add32"

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

class NS_NO_VTABLE nsIDOMHTMLHRElement : public nsIDOMHTMLElement {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHRELEMENT_IID)

  /* attribute DOMString align; */
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) = 0;
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) = 0;

  /* attribute boolean noShade; */
  NS_IMETHOD GetNoShade(PRBool *aNoShade) = 0;
  NS_IMETHOD SetNoShade(PRBool aNoShade) = 0;

  /* attribute DOMString size; */
  NS_IMETHOD GetSize(nsAWritableString & aSize) = 0;
  NS_IMETHOD SetSize(const nsAReadableString & aSize) = 0;

  /* attribute DOMString width; */
  NS_IMETHOD GetWidth(nsAWritableString & aWidth) = 0;
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLHRELEMENT \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign); \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign); \
  NS_IMETHOD GetNoShade(PRBool *aNoShade); \
  NS_IMETHOD SetNoShade(PRBool aNoShade); \
  NS_IMETHOD GetSize(nsAWritableString & aSize); \
  NS_IMETHOD SetSize(const nsAReadableString & aSize); \
  NS_IMETHOD GetWidth(nsAWritableString & aWidth); \
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLHRELEMENT(_to) \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) { return _to ## GetAlign(aAlign); } \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) { return _to ## SetAlign(aAlign); } \
  NS_IMETHOD GetNoShade(PRBool *aNoShade) { return _to ## GetNoShade(aNoShade); } \
  NS_IMETHOD SetNoShade(PRBool aNoShade) { return _to ## SetNoShade(aNoShade); } \
  NS_IMETHOD GetSize(nsAWritableString & aSize) { return _to ## GetSize(aSize); } \
  NS_IMETHOD SetSize(const nsAReadableString & aSize) { return _to ## SetSize(aSize); } \
  NS_IMETHOD GetWidth(nsAWritableString & aWidth) { return _to ## GetWidth(aWidth); } \
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth) { return _to ## SetWidth(aWidth); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLHRELEMENT(_to) \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAlign(aAlign); } \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetAlign(aAlign); } \
  NS_IMETHOD GetNoShade(PRBool *aNoShade) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetNoShade(aNoShade); } \
  NS_IMETHOD SetNoShade(PRBool aNoShade) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetNoShade(aNoShade); } \
  NS_IMETHOD GetSize(nsAWritableString & aSize) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetSize(aSize); } \
  NS_IMETHOD SetSize(const nsAReadableString & aSize) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetSize(aSize); } \
  NS_IMETHOD GetWidth(nsAWritableString & aWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetWidth(aWidth); } \
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetWidth(aWidth); } 

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

/* Header file */
class nsDOMHTMLHRElement : public nsIDOMHTMLHRElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLHRELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLHRElement, nsIDOMHTMLHRElement)

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

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

/* attribute DOMString align; */
NS_IMETHODIMP nsDOMHTMLHRElement::GetAlign(nsAWritableString & aAlign)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLHRElement::SetAlign(const nsAReadableString & aAlign)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean noShade; */
NS_IMETHODIMP nsDOMHTMLHRElement::GetNoShade(PRBool *aNoShade)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLHRElement::SetNoShade(PRBool aNoShade)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString size; */
NS_IMETHODIMP nsDOMHTMLHRElement::GetSize(nsAWritableString & aSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLHRElement::SetSize(const nsAReadableString & aSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString width; */
NS_IMETHODIMP nsDOMHTMLHRElement::GetWidth(nsAWritableString & aWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLHRElement::SetWidth(const nsAReadableString & aWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMHTMLHRElement_h__ */
