PageRenderTime 104ms CodeModel.GetById 60ms app.highlight 11ms RepoModel.GetById 30ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLAppletElement.h

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