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

#ifndef __gen_nsIDOMHTMLEmbedElement_h__
#define __gen_nsIDOMHTMLEmbedElement_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:    nsIDOMHTMLEmbedElement */
#define NS_IDOMHTMLEMBEDELEMENT_IID_STR "123f90ab-15b3-11d2-456e-00805f8add32"

#define NS_IDOMHTMLEMBEDELEMENT_IID \
  {0x123f90ab, 0x15b3, 0x11d2, \
    { 0x45, 0x6e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}

class NS_NO_VTABLE nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_IID)

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

  /* attribute DOMString height; */
  NS_IMETHOD GetHeight(nsAWritableString & aHeight) = 0;
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight) = 0;

  /* attribute DOMString name; */
  NS_IMETHOD GetName(nsAWritableString & aName) = 0;
  NS_IMETHOD SetName(const nsAReadableString & aName) = 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;

  /* 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_NSIDOMHTMLEMBEDELEMENT \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign); \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign); \
  NS_IMETHOD GetHeight(nsAWritableString & aHeight); \
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight); \
  NS_IMETHOD GetName(nsAWritableString & aName); \
  NS_IMETHOD SetName(const nsAReadableString & aName); \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc); \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc); \
  NS_IMETHOD GetType(nsAWritableString & aType); \
  NS_IMETHOD SetType(const nsAReadableString & aType); \
  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_NSIDOMHTMLEMBEDELEMENT(_to) \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) { return _to ## GetAlign(aAlign); } \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) { return _to ## SetAlign(aAlign); } \
  NS_IMETHOD GetHeight(nsAWritableString & aHeight) { return _to ## GetHeight(aHeight); } \
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight) { return _to ## SetHeight(aHeight); } \
  NS_IMETHOD GetName(nsAWritableString & aName) { return _to ## GetName(aName); } \
  NS_IMETHOD SetName(const nsAReadableString & aName) { return _to ## SetName(aName); } \
  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); } \
  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_NSIDOMHTMLEMBEDELEMENT(_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 GetHeight(nsAWritableString & aHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetHeight(aHeight); } \
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetHeight(aHeight); } \
  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 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); } \
  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 nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLEMBEDELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)

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

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

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

/* attribute DOMString height; */
NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAWritableString & aHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAReadableString & aHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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

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

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


#endif /* __gen_nsIDOMHTMLEmbedElement_h__ */
