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

#ifndef __gen_nsIDOMHTMLOListElement_h__
#define __gen_nsIDOMHTMLOListElement_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:    nsIDOMHTMLOListElement */
#define NS_IDOMHTMLOLISTELEMENT_IID_STR "d899642a-53e2-4eb4-9d65-4a666a45ee01"

#define NS_IDOMHTMLOLISTELEMENT_IID \
  {0xd899642a, 0x53e2, 0x4eb4, \
    { 0x9d, 0x65, 0x4a, 0x66, 0x6a, 0x45, 0xee, 0x01 }}

class NS_NO_VTABLE nsIDOMHTMLOListElement : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOLISTELEMENT_IID)

  /* attribute boolean compact; */
  NS_IMETHOD GetCompact(bool *aCompact) = 0;
  NS_IMETHOD SetCompact(bool aCompact) = 0;

  /* attribute boolean reversed; */
  NS_IMETHOD GetReversed(bool *aReversed) = 0;
  NS_IMETHOD SetReversed(bool aReversed) = 0;

  /* attribute long start; */
  NS_IMETHOD GetStart(int32_t *aStart) = 0;
  NS_IMETHOD SetStart(int32_t aStart) = 0;

  /* attribute DOMString type; */
  NS_IMETHOD GetType(nsAString & aType) = 0;
  NS_IMETHOD SetType(const nsAString & aType) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOListElement, NS_IDOMHTMLOLISTELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLOLISTELEMENT \
  NS_IMETHOD GetCompact(bool *aCompact) MOZ_OVERRIDE; \
  NS_IMETHOD SetCompact(bool aCompact) MOZ_OVERRIDE; \
  NS_IMETHOD GetReversed(bool *aReversed) MOZ_OVERRIDE; \
  NS_IMETHOD SetReversed(bool aReversed) MOZ_OVERRIDE; \
  NS_IMETHOD GetStart(int32_t *aStart) MOZ_OVERRIDE; \
  NS_IMETHOD SetStart(int32_t aStart) MOZ_OVERRIDE; \
  NS_IMETHOD GetType(nsAString & aType) MOZ_OVERRIDE; \
  NS_IMETHOD SetType(const nsAString & aType) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLOLISTELEMENT(_to) \
  NS_IMETHOD GetCompact(bool *aCompact) MOZ_OVERRIDE { return _to GetCompact(aCompact); } \
  NS_IMETHOD SetCompact(bool aCompact) MOZ_OVERRIDE { return _to SetCompact(aCompact); } \
  NS_IMETHOD GetReversed(bool *aReversed) MOZ_OVERRIDE { return _to GetReversed(aReversed); } \
  NS_IMETHOD SetReversed(bool aReversed) MOZ_OVERRIDE { return _to SetReversed(aReversed); } \
  NS_IMETHOD GetStart(int32_t *aStart) MOZ_OVERRIDE { return _to GetStart(aStart); } \
  NS_IMETHOD SetStart(int32_t aStart) MOZ_OVERRIDE { return _to SetStart(aStart); } \
  NS_IMETHOD GetType(nsAString & aType) MOZ_OVERRIDE { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) MOZ_OVERRIDE { return _to SetType(aType); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLOLISTELEMENT(_to) \
  NS_IMETHOD GetCompact(bool *aCompact) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
  NS_IMETHOD SetCompact(bool aCompact) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
  NS_IMETHOD GetReversed(bool *aReversed) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReversed(aReversed); } \
  NS_IMETHOD SetReversed(bool aReversed) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReversed(aReversed); } \
  NS_IMETHOD GetStart(int32_t *aStart) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
  NS_IMETHOD SetStart(int32_t aStart) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(aStart); } \
  NS_IMETHOD GetType(nsAString & aType) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } 

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

/* Header file */
class nsDOMHTMLOListElement : public nsIDOMHTMLOListElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLOLISTELEMENT

  nsDOMHTMLOListElement();

private:
  ~nsDOMHTMLOListElement();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMHTMLOListElement, nsIDOMHTMLOListElement)

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

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

/* attribute boolean compact; */
NS_IMETHODIMP nsDOMHTMLOListElement::GetCompact(bool *aCompact)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLOListElement::SetCompact(bool aCompact)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean reversed; */
NS_IMETHODIMP nsDOMHTMLOListElement::GetReversed(bool *aReversed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLOListElement::SetReversed(bool aReversed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long start; */
NS_IMETHODIMP nsDOMHTMLOListElement::GetStart(int32_t *aStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLOListElement::SetStart(int32_t aStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString type; */
NS_IMETHODIMP nsDOMHTMLOListElement::GetType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLOListElement::SetType(const nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMHTMLOListElement_h__ */
