/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/m-aurora-w32-xr/build/dom/interfaces/html/nsIDOMPropertyNodeList.idl
 */

#ifndef __gen_nsIDOMPropertyNodeList_h__
#define __gen_nsIDOMPropertyNodeList_h__


#ifndef __gen_nsIVariant_h__
#include "nsIVariant.h"
#endif

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


/* starting interface:    nsIDOMPropertyNodeList */
#define NS_IDOMPROPERTYNODELIST_IID_STR "22c9c591-182d-4504-8a95-d3274a8b147a"

#define NS_IDOMPROPERTYNODELIST_IID \
  {0x22c9c591, 0x182d, 0x4504, \
    { 0x8a, 0x95, 0xd3, 0x27, 0x4a, 0x8b, 0x14, 0x7a }}

class NS_NO_VTABLE nsIDOMPropertyNodeList : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPROPERTYNODELIST_IID)

  /* nsIDOMNode item (in unsigned long index); */
  NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) = 0;

  /* readonly attribute unsigned long length; */
  NS_IMETHOD GetLength(uint32_t *aLength) = 0;

  /* nsIVariant getValues (); */
  NS_IMETHOD GetValues(nsIVariant * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPropertyNodeList, NS_IDOMPROPERTYNODELIST_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMPROPERTYNODELIST \
  NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval); \
  NS_IMETHOD GetLength(uint32_t *aLength); \
  NS_IMETHOD GetValues(nsIVariant * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMPROPERTYNODELIST(_to) \
  NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) { return _to Item(index, _retval); } \
  NS_IMETHOD GetLength(uint32_t *aLength) { return _to GetLength(aLength); } \
  NS_IMETHOD GetValues(nsIVariant * *_retval) { return _to GetValues(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMPROPERTYNODELIST(_to) \
  NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
  NS_IMETHOD GetLength(uint32_t *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
  NS_IMETHOD GetValues(nsIVariant * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValues(_retval); } 

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

/* Header file */
class nsDOMPropertyNodeList : public nsIDOMPropertyNodeList
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMPROPERTYNODELIST

  nsDOMPropertyNodeList();

private:
  ~nsDOMPropertyNodeList();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMPropertyNodeList, nsIDOMPropertyNodeList)

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

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

/* nsIDOMNode item (in unsigned long index); */
NS_IMETHODIMP nsDOMPropertyNodeList::Item(uint32_t index, nsIDOMNode * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long length; */
NS_IMETHODIMP nsDOMPropertyNodeList::GetLength(uint32_t *aLength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIVariant getValues (); */
NS_IMETHODIMP nsDOMPropertyNodeList::GetValues(nsIVariant * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMPropertyNodeList_h__ */
