PageRenderTime 121ms CodeModel.GetById 60ms app.highlight 7ms RepoModel.GetById 34ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLEmbedElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 208 lines | 136 code | 36 blank | 36 comment | 0 complexity | a2a49926d128c71af99a05961217869d 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/nsIDOMHTMLEmbedElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLEmbedElement_h__
  6#define __gen_nsIDOMHTMLEmbedElement_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:    nsIDOMHTMLEmbedElement */
 19#define NS_IDOMHTMLEMBEDELEMENT_IID_STR "123f90ab-15b3-11d2-456e-00805f8add32"
 20
 21#define NS_IDOMHTMLEMBEDELEMENT_IID \
 22  {0x123f90ab, 0x15b3, 0x11d2, \
 23    { 0x45, 0x6e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLEmbedElement interface is the interface to a [X]HTML
 27 * embed element.
 28 *
 29 * Note that this is not a W3C standard interface, it is Mozilla
 30 * proprietary.
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_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 height; */
 44  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
 46
 47  /* attribute DOMString name; */
 48  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
 50
 51  /* attribute DOMString src; */
 52  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
 54
 55  /* attribute DOMString type; */
 56  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
 58
 59  /* attribute DOMString width; */
 60  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
 62
 63};
 64
 65  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLEmbedElement, NS_IDOMHTMLEMBEDELEMENT_IID)
 66
 67/* Use this macro when declaring classes that implement this interface. */
 68#define NS_DECL_NSIDOMHTMLEMBEDELEMENT \
 69  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 70  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
 71  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight); \
 72  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight); \
 73  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
 74  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
 75  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc); \
 76  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc); \
 77  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
 78  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
 79  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth); \
 80  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth); 
 81
 82/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 83#define NS_FORWARD_NSIDOMHTMLEMBEDELEMENT(_to) \
 84  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
 85  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
 86  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
 87  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
 88  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
 89  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
 90  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
 91  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
 92  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
 93  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
 94  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
 95  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } 
 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_NSIDOMHTMLEMBEDELEMENT(_to) \
 99  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
100  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
101  NS_SCRIPTABLE NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
102  NS_SCRIPTABLE NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
103  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
104  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
105  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
106  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
107  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
108  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
109  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
110  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } 
111
112#if 0
113/* Use the code below as a template for the implementation class for this interface. */
114
115/* Header file */
116class nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement
117{
118public:
119  NS_DECL_ISUPPORTS
120  NS_DECL_NSIDOMHTMLEMBEDELEMENT
121
122  nsDOMHTMLEmbedElement();
123
124private:
125  ~nsDOMHTMLEmbedElement();
126
127protected:
128  /* additional members */
129};
130
131/* Implementation file */
132NS_IMPL_ISUPPORTS1(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)
133
134nsDOMHTMLEmbedElement::nsDOMHTMLEmbedElement()
135{
136  /* member initializers and constructor code */
137}
138
139nsDOMHTMLEmbedElement::~nsDOMHTMLEmbedElement()
140{
141  /* destructor code */
142}
143
144/* attribute DOMString align; */
145NS_IMETHODIMP nsDOMHTMLEmbedElement::GetAlign(nsAString & aAlign)
146{
147    return NS_ERROR_NOT_IMPLEMENTED;
148}
149NS_IMETHODIMP nsDOMHTMLEmbedElement::SetAlign(const nsAString & aAlign)
150{
151    return NS_ERROR_NOT_IMPLEMENTED;
152}
153
154/* attribute DOMString height; */
155NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAString & aHeight)
156{
157    return NS_ERROR_NOT_IMPLEMENTED;
158}
159NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAString & aHeight)
160{
161    return NS_ERROR_NOT_IMPLEMENTED;
162}
163
164/* attribute DOMString name; */
165NS_IMETHODIMP nsDOMHTMLEmbedElement::GetName(nsAString & aName)
166{
167    return NS_ERROR_NOT_IMPLEMENTED;
168}
169NS_IMETHODIMP nsDOMHTMLEmbedElement::SetName(const nsAString & aName)
170{
171    return NS_ERROR_NOT_IMPLEMENTED;
172}
173
174/* attribute DOMString src; */
175NS_IMETHODIMP nsDOMHTMLEmbedElement::GetSrc(nsAString & aSrc)
176{
177    return NS_ERROR_NOT_IMPLEMENTED;
178}
179NS_IMETHODIMP nsDOMHTMLEmbedElement::SetSrc(const nsAString & aSrc)
180{
181    return NS_ERROR_NOT_IMPLEMENTED;
182}
183
184/* attribute DOMString type; */
185NS_IMETHODIMP nsDOMHTMLEmbedElement::GetType(nsAString & aType)
186{
187    return NS_ERROR_NOT_IMPLEMENTED;
188}
189NS_IMETHODIMP nsDOMHTMLEmbedElement::SetType(const nsAString & aType)
190{
191    return NS_ERROR_NOT_IMPLEMENTED;
192}
193
194/* attribute DOMString width; */
195NS_IMETHODIMP nsDOMHTMLEmbedElement::GetWidth(nsAString & aWidth)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199NS_IMETHODIMP nsDOMHTMLEmbedElement::SetWidth(const nsAString & aWidth)
200{
201    return NS_ERROR_NOT_IMPLEMENTED;
202}
203
204/* End of implementation class template. */
205#endif
206
207
208#endif /* __gen_nsIDOMHTMLEmbedElement_h__ */