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

#ifndef __gen_nsIDOMHTMLIFrameElement_h__
#define __gen_nsIDOMHTMLIFrameElement_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:    nsIDOMHTMLIFrameElement */
#define NS_IDOMHTMLIFRAMEELEMENT_IID_STR "a6cf90ba-15b3-11d2-932e-00805f8add32"

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

class NS_NO_VTABLE nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLIFRAMEELEMENT_IID)

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

  /* attribute DOMString frameBorder; */
  NS_IMETHOD GetFrameBorder(nsAWritableString & aFrameBorder) = 0;
  NS_IMETHOD SetFrameBorder(const nsAReadableString & aFrameBorder) = 0;

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

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

  /* attribute DOMString marginHeight; */
  NS_IMETHOD GetMarginHeight(nsAWritableString & aMarginHeight) = 0;
  NS_IMETHOD SetMarginHeight(const nsAReadableString & aMarginHeight) = 0;

  /* attribute DOMString marginWidth; */
  NS_IMETHOD GetMarginWidth(nsAWritableString & aMarginWidth) = 0;
  NS_IMETHOD SetMarginWidth(const nsAReadableString & aMarginWidth) = 0;

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

  /* attribute DOMString scrolling; */
  NS_IMETHOD GetScrolling(nsAWritableString & aScrolling) = 0;
  NS_IMETHOD SetScrolling(const nsAReadableString & aScrolling) = 0;

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

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

  /* readonly attribute nsIDOMDocument contentDocument; */
  NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLIFRAMEELEMENT \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign); \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign); \
  NS_IMETHOD GetFrameBorder(nsAWritableString & aFrameBorder); \
  NS_IMETHOD SetFrameBorder(const nsAReadableString & aFrameBorder); \
  NS_IMETHOD GetHeight(nsAWritableString & aHeight); \
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight); \
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc); \
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc); \
  NS_IMETHOD GetMarginHeight(nsAWritableString & aMarginHeight); \
  NS_IMETHOD SetMarginHeight(const nsAReadableString & aMarginHeight); \
  NS_IMETHOD GetMarginWidth(nsAWritableString & aMarginWidth); \
  NS_IMETHOD SetMarginWidth(const nsAReadableString & aMarginWidth); \
  NS_IMETHOD GetName(nsAWritableString & aName); \
  NS_IMETHOD SetName(const nsAReadableString & aName); \
  NS_IMETHOD GetScrolling(nsAWritableString & aScrolling); \
  NS_IMETHOD SetScrolling(const nsAReadableString & aScrolling); \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc); \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc); \
  NS_IMETHOD GetWidth(nsAWritableString & aWidth); \
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth); \
  NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLIFRAMEELEMENT(_to) \
  NS_IMETHOD GetAlign(nsAWritableString & aAlign) { return _to ## GetAlign(aAlign); } \
  NS_IMETHOD SetAlign(const nsAReadableString & aAlign) { return _to ## SetAlign(aAlign); } \
  NS_IMETHOD GetFrameBorder(nsAWritableString & aFrameBorder) { return _to ## GetFrameBorder(aFrameBorder); } \
  NS_IMETHOD SetFrameBorder(const nsAReadableString & aFrameBorder) { return _to ## SetFrameBorder(aFrameBorder); } \
  NS_IMETHOD GetHeight(nsAWritableString & aHeight) { return _to ## GetHeight(aHeight); } \
  NS_IMETHOD SetHeight(const nsAReadableString & aHeight) { return _to ## SetHeight(aHeight); } \
  NS_IMETHOD GetLongDesc(nsAWritableString & aLongDesc) { return _to ## GetLongDesc(aLongDesc); } \
  NS_IMETHOD SetLongDesc(const nsAReadableString & aLongDesc) { return _to ## SetLongDesc(aLongDesc); } \
  NS_IMETHOD GetMarginHeight(nsAWritableString & aMarginHeight) { return _to ## GetMarginHeight(aMarginHeight); } \
  NS_IMETHOD SetMarginHeight(const nsAReadableString & aMarginHeight) { return _to ## SetMarginHeight(aMarginHeight); } \
  NS_IMETHOD GetMarginWidth(nsAWritableString & aMarginWidth) { return _to ## GetMarginWidth(aMarginWidth); } \
  NS_IMETHOD SetMarginWidth(const nsAReadableString & aMarginWidth) { return _to ## SetMarginWidth(aMarginWidth); } \
  NS_IMETHOD GetName(nsAWritableString & aName) { return _to ## GetName(aName); } \
  NS_IMETHOD SetName(const nsAReadableString & aName) { return _to ## SetName(aName); } \
  NS_IMETHOD GetScrolling(nsAWritableString & aScrolling) { return _to ## GetScrolling(aScrolling); } \
  NS_IMETHOD SetScrolling(const nsAReadableString & aScrolling) { return _to ## SetScrolling(aScrolling); } \
  NS_IMETHOD GetSrc(nsAWritableString & aSrc) { return _to ## GetSrc(aSrc); } \
  NS_IMETHOD SetSrc(const nsAReadableString & aSrc) { return _to ## SetSrc(aSrc); } \
  NS_IMETHOD GetWidth(nsAWritableString & aWidth) { return _to ## GetWidth(aWidth); } \
  NS_IMETHOD SetWidth(const nsAReadableString & aWidth) { return _to ## SetWidth(aWidth); } \
  NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to ## GetContentDocument(aContentDocument); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLIFRAMEELEMENT(_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 GetFrameBorder(nsAWritableString & aFrameBorder) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetFrameBorder(aFrameBorder); } \
  NS_IMETHOD SetFrameBorder(const nsAReadableString & aFrameBorder) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetFrameBorder(aFrameBorder); } \
  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 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 GetMarginHeight(nsAWritableString & aMarginHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetMarginHeight(aMarginHeight); } \
  NS_IMETHOD SetMarginHeight(const nsAReadableString & aMarginHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetMarginHeight(aMarginHeight); } \
  NS_IMETHOD GetMarginWidth(nsAWritableString & aMarginWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetMarginWidth(aMarginWidth); } \
  NS_IMETHOD SetMarginWidth(const nsAReadableString & aMarginWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetMarginWidth(aMarginWidth); } \
  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 GetScrolling(nsAWritableString & aScrolling) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetScrolling(aScrolling); } \
  NS_IMETHOD SetScrolling(const nsAReadableString & aScrolling) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetScrolling(aScrolling); } \
  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 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); } \
  NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetContentDocument(aContentDocument); } 

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

/* Header file */
class nsDOMHTMLIFrameElement : public nsIDOMHTMLIFrameElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLIFRAMEELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLIFrameElement, nsIDOMHTMLIFrameElement)

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

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

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

/* attribute DOMString frameBorder; */
NS_IMETHODIMP nsDOMHTMLIFrameElement::GetFrameBorder(nsAWritableString & aFrameBorder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLIFrameElement::SetFrameBorder(const nsAReadableString & aFrameBorder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

/* attribute DOMString marginHeight; */
NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginHeight(nsAWritableString & aMarginHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginHeight(const nsAReadableString & aMarginHeight)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString marginWidth; */
NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginWidth(nsAWritableString & aMarginWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginWidth(const nsAReadableString & aMarginWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute DOMString scrolling; */
NS_IMETHODIMP nsDOMHTMLIFrameElement::GetScrolling(nsAWritableString & aScrolling)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLIFrameElement::SetScrolling(const nsAReadableString & aScrolling)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

/* readonly attribute nsIDOMDocument contentDocument; */
NS_IMETHODIMP nsDOMHTMLIFrameElement::GetContentDocument(nsIDOMDocument * *aContentDocument)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMHTMLIFrameElement_h__ */
