PageRenderTime 142ms CodeModel.GetById 80ms app.highlight 4ms RepoModel.GetById 56ms app.codeStats 1ms

/gecko_api/include/nsIDOMHTMLLegendElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 140 lines | 80 code | 30 blank | 30 comment | 0 complexity | 5c44812767aa2d5ecef321ba690af3f7 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/nsIDOMHTMLLegendElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLLegendElement_h__
  6#define __gen_nsIDOMHTMLLegendElement_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:    nsIDOMHTMLLegendElement */
 19#define NS_IDOMHTMLLEGENDELEMENT_IID_STR "a6cf9098-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLLEGENDELEMENT_IID \
 22  {0xa6cf9098, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLLegendElement interface is the interface to a [X]HTML
 27 * legend 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 nsIDOMHTMLLegendElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLEGENDELEMENT_IID)
 38
 39  /* readonly attribute nsIDOMHTMLFormElement form; */
 40  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
 41
 42  /* attribute DOMString accessKey; */
 43  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
 44  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
 45
 46  /* attribute DOMString align; */
 47  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
 48  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
 49
 50};
 51
 52  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLLegendElement, NS_IDOMHTMLLEGENDELEMENT_IID)
 53
 54/* Use this macro when declaring classes that implement this interface. */
 55#define NS_DECL_NSIDOMHTMLLEGENDELEMENT \
 56  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
 57  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
 58  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
 59  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 60  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); 
 61
 62/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 63#define NS_FORWARD_NSIDOMHTMLLEGENDELEMENT(_to) \
 64  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
 65  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
 66  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
 67  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
 68  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } 
 69
 70/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 71#define NS_FORWARD_SAFE_NSIDOMHTMLLEGENDELEMENT(_to) \
 72  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
 73  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
 74  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
 75  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
 76  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } 
 77
 78#if 0
 79/* Use the code below as a template for the implementation class for this interface. */
 80
 81/* Header file */
 82class nsDOMHTMLLegendElement : public nsIDOMHTMLLegendElement
 83{
 84public:
 85  NS_DECL_ISUPPORTS
 86  NS_DECL_NSIDOMHTMLLEGENDELEMENT
 87
 88  nsDOMHTMLLegendElement();
 89
 90private:
 91  ~nsDOMHTMLLegendElement();
 92
 93protected:
 94  /* additional members */
 95};
 96
 97/* Implementation file */
 98NS_IMPL_ISUPPORTS1(nsDOMHTMLLegendElement, nsIDOMHTMLLegendElement)
 99
100nsDOMHTMLLegendElement::nsDOMHTMLLegendElement()
101{
102  /* member initializers and constructor code */
103}
104
105nsDOMHTMLLegendElement::~nsDOMHTMLLegendElement()
106{
107  /* destructor code */
108}
109
110/* readonly attribute nsIDOMHTMLFormElement form; */
111NS_IMETHODIMP nsDOMHTMLLegendElement::GetForm(nsIDOMHTMLFormElement * *aForm)
112{
113    return NS_ERROR_NOT_IMPLEMENTED;
114}
115
116/* attribute DOMString accessKey; */
117NS_IMETHODIMP nsDOMHTMLLegendElement::GetAccessKey(nsAString & aAccessKey)
118{
119    return NS_ERROR_NOT_IMPLEMENTED;
120}
121NS_IMETHODIMP nsDOMHTMLLegendElement::SetAccessKey(const nsAString & aAccessKey)
122{
123    return NS_ERROR_NOT_IMPLEMENTED;
124}
125
126/* attribute DOMString align; */
127NS_IMETHODIMP nsDOMHTMLLegendElement::GetAlign(nsAString & aAlign)
128{
129    return NS_ERROR_NOT_IMPLEMENTED;
130}
131NS_IMETHODIMP nsDOMHTMLLegendElement::SetAlign(const nsAString & aAlign)
132{
133    return NS_ERROR_NOT_IMPLEMENTED;
134}
135
136/* End of implementation class template. */
137#endif
138
139
140#endif /* __gen_nsIDOMHTMLLegendElement_h__ */