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

#ifndef __gen_nsIXTFElementWrapper_h__
#define __gen_nsIXTFElementWrapper_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMElement; /* forward declaration */

class nsIDOMDocument; /* forward declaration */


/* starting interface:    nsIXTFElementWrapper */
#define NS_IXTFELEMENTWRAPPER_IID_STR "94c05b72-997a-4bb0-a23d-63e40c55b02c"

#define NS_IXTFELEMENTWRAPPER_IID \
  {0x94c05b72, 0x997a, 0x4bb0, \
    { 0xa2, 0x3d, 0x63, 0xe4, 0x0c, 0x55, 0xb0, 0x2c }}

class NS_NO_VTABLE nsIXTFElementWrapper : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXTFELEMENTWRAPPER_IID)

  /* readonly attribute nsIDOMElement elementNode; */
  NS_IMETHOD GetElementNode(nsIDOMElement * *aElementNode) = 0;

  /* readonly attribute nsIDOMElement documentFrameElement; */
  NS_IMETHOD GetDocumentFrameElement(nsIDOMElement * *aDocumentFrameElement) = 0;

  /* attribute unsigned long notificationMask; */
  NS_IMETHOD GetNotificationMask(PRUint32 *aNotificationMask) = 0;
  NS_IMETHOD SetNotificationMask(PRUint32 aNotificationMask) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXTFELEMENTWRAPPER \
  NS_IMETHOD GetElementNode(nsIDOMElement * *aElementNode); \
  NS_IMETHOD GetDocumentFrameElement(nsIDOMElement * *aDocumentFrameElement); \
  NS_IMETHOD GetNotificationMask(PRUint32 *aNotificationMask); \
  NS_IMETHOD SetNotificationMask(PRUint32 aNotificationMask); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXTFELEMENTWRAPPER(_to) \
  NS_IMETHOD GetElementNode(nsIDOMElement * *aElementNode) { return _to GetElementNode(aElementNode); } \
  NS_IMETHOD GetDocumentFrameElement(nsIDOMElement * *aDocumentFrameElement) { return _to GetDocumentFrameElement(aDocumentFrameElement); } \
  NS_IMETHOD GetNotificationMask(PRUint32 *aNotificationMask) { return _to GetNotificationMask(aNotificationMask); } \
  NS_IMETHOD SetNotificationMask(PRUint32 aNotificationMask) { return _to SetNotificationMask(aNotificationMask); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXTFELEMENTWRAPPER(_to) \
  NS_IMETHOD GetElementNode(nsIDOMElement * *aElementNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementNode(aElementNode); } \
  NS_IMETHOD GetDocumentFrameElement(nsIDOMElement * *aDocumentFrameElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentFrameElement(aDocumentFrameElement); } \
  NS_IMETHOD GetNotificationMask(PRUint32 *aNotificationMask) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationMask(aNotificationMask); } \
  NS_IMETHOD SetNotificationMask(PRUint32 aNotificationMask) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationMask(aNotificationMask); } 

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

/* Header file */
class nsXTFElementWrapper : public nsIXTFElementWrapper
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIXTFELEMENTWRAPPER

  nsXTFElementWrapper();

private:
  ~nsXTFElementWrapper();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXTFElementWrapper, nsIXTFElementWrapper)

nsXTFElementWrapper::nsXTFElementWrapper()
{
  /* member initializers and constructor code */
}

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

/* readonly attribute nsIDOMElement elementNode; */
NS_IMETHODIMP nsXTFElementWrapper::GetElementNode(nsIDOMElement * *aElementNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMElement documentFrameElement; */
NS_IMETHODIMP nsXTFElementWrapper::GetDocumentFrameElement(nsIDOMElement * *aDocumentFrameElement)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long notificationMask; */
NS_IMETHODIMP nsXTFElementWrapper::GetNotificationMask(PRUint32 *aNotificationMask)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsXTFElementWrapper::SetNotificationMask(PRUint32 aNotificationMask)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIXTFElementWrapper_h__ */
