PageRenderTime 84ms CodeModel.GetById 60ms app.highlight 7ms RepoModel.GetById 9ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLBodyElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 208 lines | 136 code | 36 blank | 36 comment | 0 complexity | 88eca0b0e43da1f3a804afaf05c3c7ee 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/nsIDOMHTMLBodyElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLBodyElement_h__
  6#define __gen_nsIDOMHTMLBodyElement_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:    nsIDOMHTMLBodyElement */
 19#define NS_IDOMHTMLBODYELEMENT_IID_STR "a6cf908e-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLBODYELEMENT_IID \
 22  {0xa6cf908e, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLBodyElement interface is the interface to a [X]HTML
 27 * body 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 nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBODYELEMENT_IID)
 38
 39  /* attribute DOMString aLink; */
 40  NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) = 0;
 42
 43  /* attribute DOMString background; */
 44  NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) = 0;
 46
 47  /* attribute DOMString bgColor; */
 48  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
 50
 51  /* attribute DOMString link; */
 52  NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) = 0;
 54
 55  /* attribute DOMString text; */
 56  NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) = 0;
 58
 59  /* attribute DOMString vLink; */
 60  NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) = 0;
 62
 63};
 64
 65  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLBodyElement, NS_IDOMHTMLBODYELEMENT_IID)
 66
 67/* Use this macro when declaring classes that implement this interface. */
 68#define NS_DECL_NSIDOMHTMLBODYELEMENT \
 69  NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink); \
 70  NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink); \
 71  NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground); \
 72  NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground); \
 73  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor); \
 74  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
 75  NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink); \
 76  NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink); \
 77  NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText); \
 78  NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText); \
 79  NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink); \
 80  NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink); 
 81
 82/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 83#define NS_FORWARD_NSIDOMHTMLBODYELEMENT(_to) \
 84  NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) { return _to GetALink(aALink); } \
 85  NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) { return _to SetALink(aALink); } \
 86  NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) { return _to GetBackground(aBackground); } \
 87  NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) { return _to SetBackground(aBackground); } \
 88  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
 89  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
 90  NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
 91  NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
 92  NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
 93  NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
 94  NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) { return _to GetVLink(aVLink); } \
 95  NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) { return _to SetVLink(aVLink); } 
 96
 97/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 98#define NS_FORWARD_SAFE_NSIDOMHTMLBODYELEMENT(_to) \
 99  NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetALink(aALink); } \
100  NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetALink(aALink); } \
101  NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBackground(aBackground); } \
102  NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBackground(aBackground); } \
103  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
104  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
105  NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
106  NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
107  NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
108  NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
109  NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVLink(aVLink); } \
110  NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVLink(aVLink); } 
111
112#if 0
113/* Use the code below as a template for the implementation class for this interface. */
114
115/* Header file */
116class nsDOMHTMLBodyElement : public nsIDOMHTMLBodyElement
117{
118public:
119  NS_DECL_ISUPPORTS
120  NS_DECL_NSIDOMHTMLBODYELEMENT
121
122  nsDOMHTMLBodyElement();
123
124private:
125  ~nsDOMHTMLBodyElement();
126
127protected:
128  /* additional members */
129};
130
131/* Implementation file */
132NS_IMPL_ISUPPORTS1(nsDOMHTMLBodyElement, nsIDOMHTMLBodyElement)
133
134nsDOMHTMLBodyElement::nsDOMHTMLBodyElement()
135{
136  /* member initializers and constructor code */
137}
138
139nsDOMHTMLBodyElement::~nsDOMHTMLBodyElement()
140{
141  /* destructor code */
142}
143
144/* attribute DOMString aLink; */
145NS_IMETHODIMP nsDOMHTMLBodyElement::GetALink(nsAString & aALink)
146{
147    return NS_ERROR_NOT_IMPLEMENTED;
148}
149NS_IMETHODIMP nsDOMHTMLBodyElement::SetALink(const nsAString & aALink)
150{
151    return NS_ERROR_NOT_IMPLEMENTED;
152}
153
154/* attribute DOMString background; */
155NS_IMETHODIMP nsDOMHTMLBodyElement::GetBackground(nsAString & aBackground)
156{
157    return NS_ERROR_NOT_IMPLEMENTED;
158}
159NS_IMETHODIMP nsDOMHTMLBodyElement::SetBackground(const nsAString & aBackground)
160{
161    return NS_ERROR_NOT_IMPLEMENTED;
162}
163
164/* attribute DOMString bgColor; */
165NS_IMETHODIMP nsDOMHTMLBodyElement::GetBgColor(nsAString & aBgColor)
166{
167    return NS_ERROR_NOT_IMPLEMENTED;
168}
169NS_IMETHODIMP nsDOMHTMLBodyElement::SetBgColor(const nsAString & aBgColor)
170{
171    return NS_ERROR_NOT_IMPLEMENTED;
172}
173
174/* attribute DOMString link; */
175NS_IMETHODIMP nsDOMHTMLBodyElement::GetLink(nsAString & aLink)
176{
177    return NS_ERROR_NOT_IMPLEMENTED;
178}
179NS_IMETHODIMP nsDOMHTMLBodyElement::SetLink(const nsAString & aLink)
180{
181    return NS_ERROR_NOT_IMPLEMENTED;
182}
183
184/* attribute DOMString text; */
185NS_IMETHODIMP nsDOMHTMLBodyElement::GetText(nsAString & aText)
186{
187    return NS_ERROR_NOT_IMPLEMENTED;
188}
189NS_IMETHODIMP nsDOMHTMLBodyElement::SetText(const nsAString & aText)
190{
191    return NS_ERROR_NOT_IMPLEMENTED;
192}
193
194/* attribute DOMString vLink; */
195NS_IMETHODIMP nsDOMHTMLBodyElement::GetVLink(nsAString & aVLink)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199NS_IMETHODIMP nsDOMHTMLBodyElement::SetVLink(const nsAString & aVLink)
200{
201    return NS_ERROR_NOT_IMPLEMENTED;
202}
203
204/* End of implementation class template. */
205#endif
206
207
208#endif /* __gen_nsIDOMHTMLBodyElement_h__ */