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

#ifndef __gen_nsIDOMNSHTMLDocument_h__
#define __gen_nsIDOMNSHTMLDocument_h__


#ifndef __gen_domstubs_h__
#include "domstubs.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:    nsIDOMNSHTMLDocument */
#define NS_IDOMNSHTMLDOCUMENT_IID_STR "a6cf90c5-15b3-11d2-932e-00805f8add32"

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

class NS_NO_VTABLE nsIDOMNSHTMLDocument : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLDOCUMENT_IID)

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

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

  /* attribute DOMString alinkColor; */
  NS_IMETHOD GetAlinkColor(nsAWritableString & aAlinkColor) = 0;
  NS_IMETHOD SetAlinkColor(const nsAReadableString & aAlinkColor) = 0;

  /* attribute DOMString linkColor; */
  NS_IMETHOD GetLinkColor(nsAWritableString & aLinkColor) = 0;
  NS_IMETHOD SetLinkColor(const nsAReadableString & aLinkColor) = 0;

  /* attribute DOMString vlinkColor; */
  NS_IMETHOD GetVlinkColor(nsAWritableString & aVlinkColor) = 0;
  NS_IMETHOD SetVlinkColor(const nsAReadableString & aVlinkColor) = 0;

  /* attribute DOMString bgColor; */
  NS_IMETHOD GetBgColor(nsAWritableString & aBgColor) = 0;
  NS_IMETHOD SetBgColor(const nsAReadableString & aBgColor) = 0;

  /* attribute DOMString fgColor; */
  NS_IMETHOD GetFgColor(nsAWritableString & aFgColor) = 0;
  NS_IMETHOD SetFgColor(const nsAReadableString & aFgColor) = 0;

  /* readonly attribute DOMString lastModified; */
  NS_IMETHOD GetLastModified(nsAWritableString & aLastModified) = 0;

  /* readonly attribute nsIDOMHTMLCollection embeds; */
  NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) = 0;

  /* DOMString getSelection (); */
  NS_IMETHOD GetSelection(nsAWritableString & _retval) = 0;

  /* nsIDOMDocument open (); */
  NS_IMETHOD Open(nsIDOMDocument **_retval) = 0;

  /* void write (); */
  NS_IMETHOD Write(void) = 0;

  /* void writeln (); */
  NS_IMETHOD Writeln(void) = 0;

  /* void clear (); */
  NS_IMETHOD Clear(void) = 0;

  /* void captureEvents (in long eventFlags); */
  NS_IMETHOD CaptureEvents(PRInt32 eventFlags) = 0;

  /* void releaseEvents (in long eventFlags); */
  NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) = 0;

  /* void routeEvent (in nsIDOMEvent evt); */
  NS_IMETHOD RouteEvent(nsIDOMEvent *evt) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMNSHTMLDOCUMENT \
  NS_IMETHOD GetWidth(PRInt32 *aWidth); \
  NS_IMETHOD GetHeight(PRInt32 *aHeight); \
  NS_IMETHOD GetAlinkColor(nsAWritableString & aAlinkColor); \
  NS_IMETHOD SetAlinkColor(const nsAReadableString & aAlinkColor); \
  NS_IMETHOD GetLinkColor(nsAWritableString & aLinkColor); \
  NS_IMETHOD SetLinkColor(const nsAReadableString & aLinkColor); \
  NS_IMETHOD GetVlinkColor(nsAWritableString & aVlinkColor); \
  NS_IMETHOD SetVlinkColor(const nsAReadableString & aVlinkColor); \
  NS_IMETHOD GetBgColor(nsAWritableString & aBgColor); \
  NS_IMETHOD SetBgColor(const nsAReadableString & aBgColor); \
  NS_IMETHOD GetFgColor(nsAWritableString & aFgColor); \
  NS_IMETHOD SetFgColor(const nsAReadableString & aFgColor); \
  NS_IMETHOD GetLastModified(nsAWritableString & aLastModified); \
  NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds); \
  NS_IMETHOD GetSelection(nsAWritableString & _retval); \
  NS_IMETHOD Open(nsIDOMDocument **_retval); \
  NS_IMETHOD Write(void); \
  NS_IMETHOD Writeln(void); \
  NS_IMETHOD Clear(void); \
  NS_IMETHOD CaptureEvents(PRInt32 eventFlags); \
  NS_IMETHOD ReleaseEvents(PRInt32 eventFlags); \
  NS_IMETHOD RouteEvent(nsIDOMEvent *evt); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMNSHTMLDOCUMENT(_to) \
  NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to ## GetWidth(aWidth); } \
  NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to ## GetHeight(aHeight); } \
  NS_IMETHOD GetAlinkColor(nsAWritableString & aAlinkColor) { return _to ## GetAlinkColor(aAlinkColor); } \
  NS_IMETHOD SetAlinkColor(const nsAReadableString & aAlinkColor) { return _to ## SetAlinkColor(aAlinkColor); } \
  NS_IMETHOD GetLinkColor(nsAWritableString & aLinkColor) { return _to ## GetLinkColor(aLinkColor); } \
  NS_IMETHOD SetLinkColor(const nsAReadableString & aLinkColor) { return _to ## SetLinkColor(aLinkColor); } \
  NS_IMETHOD GetVlinkColor(nsAWritableString & aVlinkColor) { return _to ## GetVlinkColor(aVlinkColor); } \
  NS_IMETHOD SetVlinkColor(const nsAReadableString & aVlinkColor) { return _to ## SetVlinkColor(aVlinkColor); } \
  NS_IMETHOD GetBgColor(nsAWritableString & aBgColor) { return _to ## GetBgColor(aBgColor); } \
  NS_IMETHOD SetBgColor(const nsAReadableString & aBgColor) { return _to ## SetBgColor(aBgColor); } \
  NS_IMETHOD GetFgColor(nsAWritableString & aFgColor) { return _to ## GetFgColor(aFgColor); } \
  NS_IMETHOD SetFgColor(const nsAReadableString & aFgColor) { return _to ## SetFgColor(aFgColor); } \
  NS_IMETHOD GetLastModified(nsAWritableString & aLastModified) { return _to ## GetLastModified(aLastModified); } \
  NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return _to ## GetEmbeds(aEmbeds); } \
  NS_IMETHOD GetSelection(nsAWritableString & _retval) { return _to ## GetSelection(_retval); } \
  NS_IMETHOD Open(nsIDOMDocument **_retval) { return _to ## Open(_retval); } \
  NS_IMETHOD Write(void) { return _to ## Write(); } \
  NS_IMETHOD Writeln(void) { return _to ## Writeln(); } \
  NS_IMETHOD Clear(void) { return _to ## Clear(); } \
  NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return _to ## CaptureEvents(eventFlags); } \
  NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return _to ## ReleaseEvents(eventFlags); } \
  NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return _to ## RouteEvent(evt); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMNSHTMLDOCUMENT(_to) \
  NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetWidth(aWidth); } \
  NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetHeight(aHeight); } \
  NS_IMETHOD GetAlinkColor(nsAWritableString & aAlinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetAlinkColor(aAlinkColor); } \
  NS_IMETHOD SetAlinkColor(const nsAReadableString & aAlinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetAlinkColor(aAlinkColor); } \
  NS_IMETHOD GetLinkColor(nsAWritableString & aLinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLinkColor(aLinkColor); } \
  NS_IMETHOD SetLinkColor(const nsAReadableString & aLinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetLinkColor(aLinkColor); } \
  NS_IMETHOD GetVlinkColor(nsAWritableString & aVlinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetVlinkColor(aVlinkColor); } \
  NS_IMETHOD SetVlinkColor(const nsAReadableString & aVlinkColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetVlinkColor(aVlinkColor); } \
  NS_IMETHOD GetBgColor(nsAWritableString & aBgColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetBgColor(aBgColor); } \
  NS_IMETHOD SetBgColor(const nsAReadableString & aBgColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetBgColor(aBgColor); } \
  NS_IMETHOD GetFgColor(nsAWritableString & aFgColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetFgColor(aFgColor); } \
  NS_IMETHOD SetFgColor(const nsAReadableString & aFgColor) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetFgColor(aFgColor); } \
  NS_IMETHOD GetLastModified(nsAWritableString & aLastModified) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLastModified(aLastModified); } \
  NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetEmbeds(aEmbeds); } \
  NS_IMETHOD GetSelection(nsAWritableString & _retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetSelection(_retval); } \
  NS_IMETHOD Open(nsIDOMDocument **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> Open(_retval); } \
  NS_IMETHOD Write(void) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> Write(); } \
  NS_IMETHOD Writeln(void) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> Writeln(); } \
  NS_IMETHOD Clear(void) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> Clear(); } \
  NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> CaptureEvents(eventFlags); } \
  NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ReleaseEvents(eventFlags); } \
  NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> RouteEvent(evt); } 

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

/* Header file */
class nsDOMNSHTMLDocument : public nsIDOMNSHTMLDocument
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMNSHTMLDOCUMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMNSHTMLDocument, nsIDOMNSHTMLDocument)

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

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

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

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

/* attribute DOMString alinkColor; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetAlinkColor(nsAWritableString & aAlinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMNSHTMLDocument::SetAlinkColor(const nsAReadableString & aAlinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString linkColor; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetLinkColor(nsAWritableString & aLinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMNSHTMLDocument::SetLinkColor(const nsAReadableString & aLinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString vlinkColor; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetVlinkColor(nsAWritableString & aVlinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMNSHTMLDocument::SetVlinkColor(const nsAReadableString & aVlinkColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString bgColor; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetBgColor(nsAWritableString & aBgColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMNSHTMLDocument::SetBgColor(const nsAReadableString & aBgColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString fgColor; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetFgColor(nsAWritableString & aFgColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMNSHTMLDocument::SetFgColor(const nsAReadableString & aFgColor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString lastModified; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetLastModified(nsAWritableString & aLastModified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMHTMLCollection embeds; */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetEmbeds(nsIDOMHTMLCollection * *aEmbeds)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString getSelection (); */
NS_IMETHODIMP nsDOMNSHTMLDocument::GetSelection(nsAWritableString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDocument open (); */
NS_IMETHODIMP nsDOMNSHTMLDocument::Open(nsIDOMDocument **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void write (); */
NS_IMETHODIMP nsDOMNSHTMLDocument::Write()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void writeln (); */
NS_IMETHODIMP nsDOMNSHTMLDocument::Writeln()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clear (); */
NS_IMETHODIMP nsDOMNSHTMLDocument::Clear()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void captureEvents (in long eventFlags); */
NS_IMETHODIMP nsDOMNSHTMLDocument::CaptureEvents(PRInt32 eventFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void releaseEvents (in long eventFlags); */
NS_IMETHODIMP nsDOMNSHTMLDocument::ReleaseEvents(PRInt32 eventFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void routeEvent (in nsIDOMEvent evt); */
NS_IMETHODIMP nsDOMNSHTMLDocument::RouteEvent(nsIDOMEvent *evt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMNSHTMLDocument_h__ */
