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

#ifndef __gen_nsIDOMHTMLImageElement_h__
#define __gen_nsIDOMHTMLImageElement_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:    nsIDOMHTMLImageElement */
#define NS_IDOMHTMLIMAGEELEMENT_IID_STR "a6cf90ab-15b3-11d2-932e-00805f8add32"

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

class NS_NO_VTABLE nsIDOMHTMLImageElement : public nsIDOMHTMLElement {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLIMAGEELEMENT_IID)

  /* attribute DOMString lowSrc; */
  NS_IMETHOD GetLowSrc(nsAWritableString & aLowSrc) = 0;
  NS_IMETHOD SetLowSrc(const nsAReadableString & aLowSrc) = 0;

  /* attribute DOMString name; */
  NS_IMETHOD GetName(nsAWritableString & aName) = 0;
  NS_IMETHOD SetName(const nsAReadableString & aName) = 0;

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

  /* attribute DOMString alt; */
  NS_IMETHOD GetAlt(nsAWritableString & aAlt) = 0;
  NS_IMETHOD SetAlt(const nsAReadableString & aAlt) = 0;

  /* attribute long border; */
  NS_IMETHOD GetBorder(PRInt32 *aBorder) = 0;
  NS_IMETHOD SetBorder(PRInt32 aBorder) = 0;

  /* attribute long height; */
  NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
  NS_IMETHOD SetHeight(PRInt32 aHeight) = 0;

  /* attribute long hspace; */
  NS_IMETHOD GetHspace(PRInt32 *aHspace) = 0;
  NS_IMETHOD SetHspace(PRInt32 aHspace) = 0;

  /* attribute boolean isMap; */
  NS_IMETHOD GetIsMap(PRBool *aIsMap) = 0;
  NS_IMETHOD SetIsMap(PRBool aIsMap) = 0;

  /* attribute DOMString longDesc; */
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc) = 0;
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc) = 0;

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

  /* attribute long vspace; */
  NS_IMETHOD GetVspace(PRInt32 *aVspace) = 0;
  NS_IMETHOD SetVspace(PRInt32 aVspace) = 0;

  /* attribute long width; */
  NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
  NS_IMETHOD SetWidth(PRInt32 aWidth) = 0;

  /* attribute DOMString useMap; */
  NS_IMETHOD GetUseMap(nsAWritableString & aUseMap) = 0;
  NS_IMETHOD SetUseMap(const nsAReadableString & aUseMap) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLIMAGEELEMENT \
  NS_IMETHOD GetLowSrc(nsAWritableString & aLowSrc); \
  NS_IMETHOD SetLowSrc(const nsAReadableString & aLowSrc); \
  NS_IMETHOD GetName(nsAWritableString & aName); \
  NS_IMETHOD SetName(const nsAReadableString & aName); \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign); \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign); \
  NS_IMETHOD GetAlt(nsAWritableString & aAlt); \
  NS_IMETHOD SetAlt(const nsAReadableString & aAlt); \
  NS_IMETHOD GetBorder(PRInt32 *aBorder); \
  NS_IMETHOD SetBorder(PRInt32 aBorder); \
  NS_IMETHOD GetHeight(PRInt32 *aHeight); \
  NS_IMETHOD SetHeight(PRInt32 aHeight); \
  NS_IMETHOD GetHspace(PRInt32 *aHspace); \
  NS_IMETHOD SetHspace(PRInt32 aHspace); \
  NS_IMETHOD GetIsMap(PRBool *aIsMap); \
  NS_IMETHOD SetIsMap(PRBool aIsMap); \
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc); \
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc); \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc); \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc); \
  NS_IMETHOD GetVspace(PRInt32 *aVspace); \
  NS_IMETHOD SetVspace(PRInt32 aVspace); \
  NS_IMETHOD GetWidth(PRInt32 *aWidth); \
  NS_IMETHOD SetWidth(PRInt32 aWidth); \
  NS_IMETHOD GetUseMap(nsAWritableString & aUseMap); \
  NS_IMETHOD SetUseMap(const nsAReadableString & aUseMap); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLIMAGEELEMENT(_to) \
  NS_IMETHOD GetLowSrc(nsAWritableString & aLowSrc) { return _to ## GetLowSrc(aLowSrc); } \
  NS_IMETHOD SetLowSrc(const nsAReadableString & aLowSrc) { return _to ## SetLowSrc(aLowSrc); } \
  NS_IMETHOD GetName(nsAWritableString & aName) { return _to ## GetName(aName); } \
  NS_IMETHOD SetName(const nsAReadableString & aName) { return _to ## SetName(aName); } \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) { return _to ## GetAlign(aAlign); } \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) { return _to ## SetAlign(aAlign); } \
  NS_IMETHOD GetAlt(nsAWritableString & aAlt) { return _to ## GetAlt(aAlt); } \
  NS_IMETHOD SetAlt(const nsAReadableString & aAlt) { return _to ## SetAlt(aAlt); } \
  NS_IMETHOD GetBorder(PRInt32 *aBorder) { return _to ## GetBorder(aBorder); } \
  NS_IMETHOD SetBorder(PRInt32 aBorder) { return _to ## SetBorder(aBorder); } \
  NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to ## GetHeight(aHeight); } \
  NS_IMETHOD SetHeight(PRInt32 aHeight) { return _to ## SetHeight(aHeight); } \
  NS_IMETHOD GetHspace(PRInt32 *aHspace) { return _to ## GetHspace(aHspace); } \
  NS_IMETHOD SetHspace(PRInt32 aHspace) { return _to ## SetHspace(aHspace); } \
  NS_IMETHOD GetIsMap(PRBool *aIsMap) { return _to ## GetIsMap(aIsMap); } \
  NS_IMETHOD SetIsMap(PRBool aIsMap) { return _to ## SetIsMap(aIsMap); } \
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc) { return _to ## GetLongDesc(aLongDesc); } \
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc) { return _to ## SetLongDesc(aLongDesc); } \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc) { return _to ## GetSrc(aSrc); } \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc) { return _to ## SetSrc(aSrc); } \
  NS_IMETHOD GetVspace(PRInt32 *aVspace) { return _to ## GetVspace(aVspace); } \
  NS_IMETHOD SetVspace(PRInt32 aVspace) { return _to ## SetVspace(aVspace); } \
  NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to ## GetWidth(aWidth); } \
  NS_IMETHOD SetWidth(PRInt32 aWidth) { return _to ## SetWidth(aWidth); } \
  NS_IMETHOD GetUseMap(nsAWritableString & aUseMap) { return _to ## GetUseMap(aUseMap); } \
  NS_IMETHOD SetUseMap(const nsAReadableString & aUseMap) { return _to ## SetUseMap(aUseMap); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLIMAGEELEMENT(_to) \
  NS_IMETHOD GetLowSrc(nsAWritableString & aLowSrc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLowSrc(aLowSrc); } \
  NS_IMETHOD SetLowSrc(const nsAReadableString & aLowSrc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetLowSrc(aLowSrc); } \
  NS_IMETHOD GetName(nsAWritableString & aName) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetName(aName); } \
  NS_IMETHOD SetName(const nsAReadableString & aName) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetName(aName); } \
  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 GetAlt(nsAWritableString & aAlt) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAlt(aAlt); } \
  NS_IMETHOD SetAlt(const nsAReadableString & aAlt) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetAlt(aAlt); } \
  NS_IMETHOD GetBorder(PRInt32 *aBorder) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetBorder(aBorder); } \
  NS_IMETHOD SetBorder(PRInt32 aBorder) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetBorder(aBorder); } \
  NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetHeight(aHeight); } \
  NS_IMETHOD SetHeight(PRInt32 aHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetHeight(aHeight); } \
  NS_IMETHOD GetHspace(PRInt32 *aHspace) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetHspace(aHspace); } \
  NS_IMETHOD SetHspace(PRInt32 aHspace) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetHspace(aHspace); } \
  NS_IMETHOD GetIsMap(PRBool *aIsMap) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetIsMap(aIsMap); } \
  NS_IMETHOD SetIsMap(PRBool aIsMap) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetIsMap(aIsMap); } \
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLongDesc(aLongDesc); } \
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetLongDesc(aLongDesc); } \
  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 GetVspace(PRInt32 *aVspace) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetVspace(aVspace); } \
  NS_IMETHOD SetVspace(PRInt32 aVspace) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetVspace(aVspace); } \
  NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetWidth(aWidth); } \
  NS_IMETHOD SetWidth(PRInt32 aWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetWidth(aWidth); } \
  NS_IMETHOD GetUseMap(nsAWritableString & aUseMap) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetUseMap(aUseMap); } \
  NS_IMETHOD SetUseMap(const nsAReadableString & aUseMap) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetUseMap(aUseMap); } 

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

/* Header file */
class nsDOMHTMLImageElement : public nsIDOMHTMLImageElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLIMAGEELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLImageElement, nsIDOMHTMLImageElement)

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

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

/* attribute DOMString lowSrc; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetLowSrc(nsAWritableString & aLowSrc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetLowSrc(const nsAReadableString & aLowSrc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString name; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetName(nsAWritableString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetName(const nsAReadableString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute DOMString alt; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetAlt(nsAWritableString & aAlt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetAlt(const nsAReadableString & aAlt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long border; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetBorder(PRInt32 *aBorder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetBorder(PRInt32 aBorder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long height; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetHeight(PRInt32 *aHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetHeight(PRInt32 aHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long hspace; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetHspace(PRInt32 *aHspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetHspace(PRInt32 aHspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isMap; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetIsMap(PRBool *aIsMap)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetIsMap(PRBool aIsMap)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString longDesc; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetLongDesc(nsAWritableString & aLongDesc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetLongDesc(const nsAReadableString & aLongDesc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute long vspace; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetVspace(PRInt32 *aVspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetVspace(PRInt32 aVspace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long width; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetWidth(PRInt32 *aWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetWidth(PRInt32 aWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString useMap; */
NS_IMETHODIMP nsDOMHTMLImageElement::GetUseMap(nsAWritableString & aUseMap)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLImageElement::SetUseMap(const nsAReadableString & aUseMap)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMHTMLImageElement_h__ */
