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

#ifndef __gen_nsIDOMViewerElement_h__
#define __gen_nsIDOMViewerElement_h__

#include "nsISupports.h"
#include "domstubs.h"

#include "nsIDOMNode.h"

/* starting interface:    nsIDOMViewerElement */
#define NS_IDOMVIEWERELEMENT_IID_STR "2842a0ba-4bd8-11d3-ac84-00a0c900d445"

#define NS_IDOMVIEWERELEMENT_IID \
  {0x2842a0ba, 0x4bd8, 0x11d3, \
    { 0xac, 0x84, 0x00, 0xa0, 0xc9, 0x00, 0xd4, 0x45 }}

class NS_NO_VTABLE nsIDOMViewerElement : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMVIEWERELEMENT_IID)

  /* attribute nsISupports object; */
  NS_IMETHOD GetObject(nsISupports * *aObject) = 0;
  NS_IMETHOD SetObject(nsISupports * aObject) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMVIEWERELEMENT \
  NS_IMETHOD GetObject(nsISupports * *aObject); \
  NS_IMETHOD SetObject(nsISupports * aObject); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMVIEWERELEMENT(_to) \
  NS_IMETHOD GetObject(nsISupports * *aObject) { return _to ## GetObject(aObject); } \
  NS_IMETHOD SetObject(nsISupports * aObject) { return _to ## SetObject(aObject); } 

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

/* Header file */
class nsDOMViewerElement : public nsIDOMViewerElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMVIEWERELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMViewerElement, nsIDOMViewerElement)

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

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

/* attribute nsISupports object; */
NS_IMETHODIMP nsDOMViewerElement::GetObject(nsISupports * *aObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMViewerElement::SetObject(nsISupports * aObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMViewerElement_h__ */
