PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 5ms RepoModel.GetById 35ms app.codeStats 1ms

/gecko_api/include/nsIDOMHTMLOListElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 148 lines | 88 code | 30 blank | 30 comment | 0 complexity | ac3c8bd9f747dc4f6b53b46963309672 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLOListElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLOListElement_h__
  6#define __gen_nsIDOMHTMLOListElement_h__
  7
  8
  9#ifndef __gen_nsIDOMHTMLElement_h__
 10#include "nsIDOMHTMLElement.h"
 11#endif
 12
 13/* For IDL files that don't want to include root IDL files. */
 14#ifndef NS_NO_VTABLE
 15#define NS_NO_VTABLE
 16#endif
 17
 18/* starting interface:    nsIDOMHTMLOListElement */
 19#define NS_IDOMHTMLOLISTELEMENT_IID_STR "a6cf909a-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLOLISTELEMENT_IID \
 22  {0xa6cf909a, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLOListElement interface is the interface to a [X]HTML
 27 * ol element.
 28 *
 29 * For more information on this interface please see
 30 * http://www.w3.org/TR/DOM-Level-2-HTML/
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLOListElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOLISTELEMENT_IID)
 38
 39  /* attribute boolean compact; */
 40  NS_SCRIPTABLE NS_IMETHOD GetCompact(PRBool *aCompact) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetCompact(PRBool aCompact) = 0;
 42
 43  /* attribute long start; */
 44  NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetStart(PRInt32 aStart) = 0;
 46
 47  /* attribute DOMString type; */
 48  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
 50
 51};
 52
 53  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOListElement, NS_IDOMHTMLOLISTELEMENT_IID)
 54
 55/* Use this macro when declaring classes that implement this interface. */
 56#define NS_DECL_NSIDOMHTMLOLISTELEMENT \
 57  NS_SCRIPTABLE NS_IMETHOD GetCompact(PRBool *aCompact); \
 58  NS_SCRIPTABLE NS_IMETHOD SetCompact(PRBool aCompact); \
 59  NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart); \
 60  NS_SCRIPTABLE NS_IMETHOD SetStart(PRInt32 aStart); \
 61  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
 62  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); 
 63
 64/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 65#define NS_FORWARD_NSIDOMHTMLOLISTELEMENT(_to) \
 66  NS_SCRIPTABLE NS_IMETHOD GetCompact(PRBool *aCompact) { return _to GetCompact(aCompact); } \
 67  NS_SCRIPTABLE NS_IMETHOD SetCompact(PRBool aCompact) { return _to SetCompact(aCompact); } \
 68  NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) { return _to GetStart(aStart); } \
 69  NS_SCRIPTABLE NS_IMETHOD SetStart(PRInt32 aStart) { return _to SetStart(aStart); } \
 70  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
 71  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } 
 72
 73/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 74#define NS_FORWARD_SAFE_NSIDOMHTMLOLISTELEMENT(_to) \
 75  NS_SCRIPTABLE NS_IMETHOD GetCompact(PRBool *aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
 76  NS_SCRIPTABLE NS_IMETHOD SetCompact(PRBool aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
 77  NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
 78  NS_SCRIPTABLE NS_IMETHOD SetStart(PRInt32 aStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(aStart); } \
 79  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
 80  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } 
 81
 82#if 0
 83/* Use the code below as a template for the implementation class for this interface. */
 84
 85/* Header file */
 86class nsDOMHTMLOListElement : public nsIDOMHTMLOListElement
 87{
 88public:
 89  NS_DECL_ISUPPORTS
 90  NS_DECL_NSIDOMHTMLOLISTELEMENT
 91
 92  nsDOMHTMLOListElement();
 93
 94private:
 95  ~nsDOMHTMLOListElement();
 96
 97protected:
 98  /* additional members */
 99};
100
101/* Implementation file */
102NS_IMPL_ISUPPORTS1(nsDOMHTMLOListElement, nsIDOMHTMLOListElement)
103
104nsDOMHTMLOListElement::nsDOMHTMLOListElement()
105{
106  /* member initializers and constructor code */
107}
108
109nsDOMHTMLOListElement::~nsDOMHTMLOListElement()
110{
111  /* destructor code */
112}
113
114/* attribute boolean compact; */
115NS_IMETHODIMP nsDOMHTMLOListElement::GetCompact(PRBool *aCompact)
116{
117    return NS_ERROR_NOT_IMPLEMENTED;
118}
119NS_IMETHODIMP nsDOMHTMLOListElement::SetCompact(PRBool aCompact)
120{
121    return NS_ERROR_NOT_IMPLEMENTED;
122}
123
124/* attribute long start; */
125NS_IMETHODIMP nsDOMHTMLOListElement::GetStart(PRInt32 *aStart)
126{
127    return NS_ERROR_NOT_IMPLEMENTED;
128}
129NS_IMETHODIMP nsDOMHTMLOListElement::SetStart(PRInt32 aStart)
130{
131    return NS_ERROR_NOT_IMPLEMENTED;
132}
133
134/* attribute DOMString type; */
135NS_IMETHODIMP nsDOMHTMLOListElement::GetType(nsAString & aType)
136{
137    return NS_ERROR_NOT_IMPLEMENTED;
138}
139NS_IMETHODIMP nsDOMHTMLOListElement::SetType(const nsAString & aType)
140{
141    return NS_ERROR_NOT_IMPLEMENTED;
142}
143
144/* End of implementation class template. */
145#endif
146
147
148#endif /* __gen_nsIDOMHTMLOListElement_h__ */