PageRenderTime 43ms CodeModel.GetById 28ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLIFrameElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 300 lines | 208 code | 46 blank | 46 comment | 0 complexity | 68ed742fd9b613c77fba826450978056 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/nsIDOMHTMLIFrameElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLIFrameElement_h__
  6#define __gen_nsIDOMHTMLIFrameElement_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:    nsIDOMHTMLIFrameElement */
 19#define NS_IDOMHTMLIFRAMEELEMENT_IID_STR "a6cf90ba-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLIFRAMEELEMENT_IID \
 22  {0xa6cf90ba, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLIFrameElement interface is the interface to a [X]HTML
 27 * iframe 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 nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLIFRAMEELEMENT_IID)
 38
 39  /* attribute DOMString align; */
 40  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
 42
 43  /* attribute DOMString frameBorder; */
 44  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0;
 46
 47  /* attribute DOMString height; */
 48  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
 50
 51  /* attribute DOMString longDesc; */
 52  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0;
 54
 55  /* attribute DOMString marginHeight; */
 56  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0;
 58
 59  /* attribute DOMString marginWidth; */
 60  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0;
 62
 63  /* attribute DOMString name; */
 64  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
 65  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
 66
 67  /* attribute DOMString scrolling; */
 68  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0;
 69  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0;
 70
 71  /* attribute DOMString src; */
 72  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
 73  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
 74
 75  /* attribute DOMString width; */
 76  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
 77  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
 78
 79  /* readonly attribute nsIDOMDocument contentDocument; */
 80  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;
 81
 82};
 83
 84  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLIFrameElement, NS_IDOMHTMLIFRAMEELEMENT_IID)
 85
 86/* Use this macro when declaring classes that implement this interface. */
 87#define NS_DECL_NSIDOMHTMLIFRAMEELEMENT \
 88  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 89  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
 90  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \
 91  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \
 92  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight); \
 93  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight); \
 94  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \
 95  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \
 96  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \
 97  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \
 98  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \
 99  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \
100  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
101  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
102  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling); \
103  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling); \
104  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc); \
105  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc); \
106  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth); \
107  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth); \
108  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument); 
109
110/* Use this macro to declare functions that forward the behavior of this interface to another object. */
111#define NS_FORWARD_NSIDOMHTMLIFRAMEELEMENT(_to) \
112  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
113  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
114  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
115  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
116  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
117  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
118  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDesc); } \
119  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(aLongDesc); } \
120  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
121  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
122  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
123  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
124  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
125  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
126  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScrolling); } \
127  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrolling(aScrolling); } \
128  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
129  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
130  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
131  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } \
132  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to GetContentDocument(aContentDocument); } 
133
134/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
135#define NS_FORWARD_SAFE_NSIDOMHTMLIFRAMEELEMENT(_to) \
136  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
137  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
138  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \
139  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \
140  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
141  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
142  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongDesc(aLongDesc); } \
143  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLongDesc(aLongDesc); } \
144  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \
145  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \
146  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \
147  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \
148  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
149  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
150  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrolling(aScrolling); } \
151  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrolling(aScrolling); } \
152  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
153  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
154  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
155  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
156  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); } 
157
158#if 0
159/* Use the code below as a template for the implementation class for this interface. */
160
161/* Header file */
162class nsDOMHTMLIFrameElement : public nsIDOMHTMLIFrameElement
163{
164public:
165  NS_DECL_ISUPPORTS
166  NS_DECL_NSIDOMHTMLIFRAMEELEMENT
167
168  nsDOMHTMLIFrameElement();
169
170private:
171  ~nsDOMHTMLIFrameElement();
172
173protected:
174  /* additional members */
175};
176
177/* Implementation file */
178NS_IMPL_ISUPPORTS1(nsDOMHTMLIFrameElement, nsIDOMHTMLIFrameElement)
179
180nsDOMHTMLIFrameElement::nsDOMHTMLIFrameElement()
181{
182  /* member initializers and constructor code */
183}
184
185nsDOMHTMLIFrameElement::~nsDOMHTMLIFrameElement()
186{
187  /* destructor code */
188}
189
190/* attribute DOMString align; */
191NS_IMETHODIMP nsDOMHTMLIFrameElement::GetAlign(nsAString & aAlign)
192{
193    return NS_ERROR_NOT_IMPLEMENTED;
194}
195NS_IMETHODIMP nsDOMHTMLIFrameElement::SetAlign(const nsAString & aAlign)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199
200/* attribute DOMString frameBorder; */
201NS_IMETHODIMP nsDOMHTMLIFrameElement::GetFrameBorder(nsAString & aFrameBorder)
202{
203    return NS_ERROR_NOT_IMPLEMENTED;
204}
205NS_IMETHODIMP nsDOMHTMLIFrameElement::SetFrameBorder(const nsAString & aFrameBorder)
206{
207    return NS_ERROR_NOT_IMPLEMENTED;
208}
209
210/* attribute DOMString height; */
211NS_IMETHODIMP nsDOMHTMLIFrameElement::GetHeight(nsAString & aHeight)
212{
213    return NS_ERROR_NOT_IMPLEMENTED;
214}
215NS_IMETHODIMP nsDOMHTMLIFrameElement::SetHeight(const nsAString & aHeight)
216{
217    return NS_ERROR_NOT_IMPLEMENTED;
218}
219
220/* attribute DOMString longDesc; */
221NS_IMETHODIMP nsDOMHTMLIFrameElement::GetLongDesc(nsAString & aLongDesc)
222{
223    return NS_ERROR_NOT_IMPLEMENTED;
224}
225NS_IMETHODIMP nsDOMHTMLIFrameElement::SetLongDesc(const nsAString & aLongDesc)
226{
227    return NS_ERROR_NOT_IMPLEMENTED;
228}
229
230/* attribute DOMString marginHeight; */
231NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginHeight(nsAString & aMarginHeight)
232{
233    return NS_ERROR_NOT_IMPLEMENTED;
234}
235NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginHeight(const nsAString & aMarginHeight)
236{
237    return NS_ERROR_NOT_IMPLEMENTED;
238}
239
240/* attribute DOMString marginWidth; */
241NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginWidth(nsAString & aMarginWidth)
242{
243    return NS_ERROR_NOT_IMPLEMENTED;
244}
245NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginWidth(const nsAString & aMarginWidth)
246{
247    return NS_ERROR_NOT_IMPLEMENTED;
248}
249
250/* attribute DOMString name; */
251NS_IMETHODIMP nsDOMHTMLIFrameElement::GetName(nsAString & aName)
252{
253    return NS_ERROR_NOT_IMPLEMENTED;
254}
255NS_IMETHODIMP nsDOMHTMLIFrameElement::SetName(const nsAString & aName)
256{
257    return NS_ERROR_NOT_IMPLEMENTED;
258}
259
260/* attribute DOMString scrolling; */
261NS_IMETHODIMP nsDOMHTMLIFrameElement::GetScrolling(nsAString & aScrolling)
262{
263    return NS_ERROR_NOT_IMPLEMENTED;
264}
265NS_IMETHODIMP nsDOMHTMLIFrameElement::SetScrolling(const nsAString & aScrolling)
266{
267    return NS_ERROR_NOT_IMPLEMENTED;
268}
269
270/* attribute DOMString src; */
271NS_IMETHODIMP nsDOMHTMLIFrameElement::GetSrc(nsAString & aSrc)
272{
273    return NS_ERROR_NOT_IMPLEMENTED;
274}
275NS_IMETHODIMP nsDOMHTMLIFrameElement::SetSrc(const nsAString & aSrc)
276{
277    return NS_ERROR_NOT_IMPLEMENTED;
278}
279
280/* attribute DOMString width; */
281NS_IMETHODIMP nsDOMHTMLIFrameElement::GetWidth(nsAString & aWidth)
282{
283    return NS_ERROR_NOT_IMPLEMENTED;
284}
285NS_IMETHODIMP nsDOMHTMLIFrameElement::SetWidth(const nsAString & aWidth)
286{
287    return NS_ERROR_NOT_IMPLEMENTED;
288}
289
290/* readonly attribute nsIDOMDocument contentDocument; */
291NS_IMETHODIMP nsDOMHTMLIFrameElement::GetContentDocument(nsIDOMDocument * *aContentDocument)
292{
293    return NS_ERROR_NOT_IMPLEMENTED;
294}
295
296/* End of implementation class template. */
297#endif
298
299
300#endif /* __gen_nsIDOMHTMLIFrameElement_h__ */