Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 "adae53da-713d-4570-81ad-dabdd6d46241"
20 :
21 : #define NS_IDOMHTMLEMBEDELEMENT_IID \
22 : {0xadae53da, 0x713d, 0x4570, \
23 : { 0x81, 0xad, 0xda, 0xbd, 0xd6, 0xd4, 0x62, 0x41 }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLEmbedElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_IID)
29 :
30 : /* attribute DOMString align; */
31 : NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
32 : NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
33 :
34 : /* attribute DOMString height; */
35 : NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
36 : NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
37 :
38 : /* attribute DOMString name; */
39 : NS_IMETHOD GetName(nsAString & aName) = 0;
40 : NS_IMETHOD SetName(const nsAString & aName) = 0;
41 :
42 : /* attribute DOMString src; */
43 : NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
44 : NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
45 :
46 : /* attribute DOMString type; */
47 : NS_IMETHOD GetType(nsAString & aType) = 0;
48 : NS_IMETHOD SetType(const nsAString & aType) = 0;
49 :
50 : /* attribute DOMString width; */
51 : NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
52 : NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
53 :
54 : };
55 :
56 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLEmbedElement, NS_IDOMHTMLEMBEDELEMENT_IID)
57 :
58 : /* Use this macro when declaring classes that implement this interface. */
59 : #define NS_DECL_NSIDOMHTMLEMBEDELEMENT \
60 : NS_IMETHOD GetAlign(nsAString & aAlign) override; \
61 : NS_IMETHOD SetAlign(const nsAString & aAlign) override; \
62 : NS_IMETHOD GetHeight(nsAString & aHeight) override; \
63 : NS_IMETHOD SetHeight(const nsAString & aHeight) override; \
64 : NS_IMETHOD GetName(nsAString & aName) override; \
65 : NS_IMETHOD SetName(const nsAString & aName) override; \
66 : NS_IMETHOD GetSrc(nsAString & aSrc) override; \
67 : NS_IMETHOD SetSrc(const nsAString & aSrc) override; \
68 : NS_IMETHOD GetType(nsAString & aType) override; \
69 : NS_IMETHOD SetType(const nsAString & aType) override; \
70 : NS_IMETHOD GetWidth(nsAString & aWidth) override; \
71 : NS_IMETHOD SetWidth(const nsAString & aWidth) override;
72 :
73 : /* Use this macro when declaring the members of this interface when the
74 : class doesn't implement the interface. This is useful for forwarding. */
75 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLEMBEDELEMENT \
76 : nsresult GetAlign(nsAString & aAlign); \
77 : nsresult SetAlign(const nsAString & aAlign); \
78 : nsresult GetHeight(nsAString & aHeight); \
79 : nsresult SetHeight(const nsAString & aHeight); \
80 : nsresult GetName(nsAString & aName); \
81 : nsresult SetName(const nsAString & aName); \
82 : nsresult GetSrc(nsAString & aSrc); \
83 : nsresult SetSrc(const nsAString & aSrc); \
84 : nsresult GetType(nsAString & aType); \
85 : nsresult SetType(const nsAString & aType); \
86 : nsresult GetWidth(nsAString & aWidth); \
87 : nsresult SetWidth(const nsAString & aWidth);
88 :
89 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
90 : #define NS_FORWARD_NSIDOMHTMLEMBEDELEMENT(_to) \
91 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return _to GetAlign(aAlign); } \
92 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return _to SetAlign(aAlign); } \
93 : NS_IMETHOD GetHeight(nsAString & aHeight) override { return _to GetHeight(aHeight); } \
94 : NS_IMETHOD SetHeight(const nsAString & aHeight) override { return _to SetHeight(aHeight); } \
95 : NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
96 : NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
97 : NS_IMETHOD GetSrc(nsAString & aSrc) override { return _to GetSrc(aSrc); } \
98 : NS_IMETHOD SetSrc(const nsAString & aSrc) override { return _to SetSrc(aSrc); } \
99 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
100 : NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
101 : NS_IMETHOD GetWidth(nsAString & aWidth) override { return _to GetWidth(aWidth); } \
102 : NS_IMETHOD SetWidth(const nsAString & aWidth) override { return _to SetWidth(aWidth); }
103 :
104 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
105 : #define NS_FORWARD_SAFE_NSIDOMHTMLEMBEDELEMENT(_to) \
106 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
107 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
108 : NS_IMETHOD GetHeight(nsAString & aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
109 : NS_IMETHOD SetHeight(const nsAString & aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
110 : NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
111 : NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
112 : NS_IMETHOD GetSrc(nsAString & aSrc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
113 : NS_IMETHOD SetSrc(const nsAString & aSrc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
114 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
115 : NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
116 : NS_IMETHOD GetWidth(nsAString & aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
117 : NS_IMETHOD SetWidth(const nsAString & aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
118 :
119 : #if 0
120 : /* Use the code below as a template for the implementation class for this interface. */
121 :
122 : /* Header file */
123 : class nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement
124 : {
125 : public:
126 : NS_DECL_ISUPPORTS
127 : NS_DECL_NSIDOMHTMLEMBEDELEMENT
128 :
129 : nsDOMHTMLEmbedElement();
130 :
131 : private:
132 : ~nsDOMHTMLEmbedElement();
133 :
134 : protected:
135 : /* additional members */
136 : };
137 :
138 : /* Implementation file */
139 : NS_IMPL_ISUPPORTS(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)
140 :
141 : nsDOMHTMLEmbedElement::nsDOMHTMLEmbedElement()
142 : {
143 : /* member initializers and constructor code */
144 : }
145 :
146 : nsDOMHTMLEmbedElement::~nsDOMHTMLEmbedElement()
147 : {
148 : /* destructor code */
149 : }
150 :
151 : /* attribute DOMString align; */
152 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetAlign(nsAString & aAlign)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetAlign(const nsAString & aAlign)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 :
161 : /* attribute DOMString height; */
162 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAString & aHeight)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAString & aHeight)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* attribute DOMString name; */
172 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetName(nsAString & aName)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetName(const nsAString & aName)
177 : {
178 : return NS_ERROR_NOT_IMPLEMENTED;
179 : }
180 :
181 : /* attribute DOMString src; */
182 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetSrc(nsAString & aSrc)
183 : {
184 : return NS_ERROR_NOT_IMPLEMENTED;
185 : }
186 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetSrc(const nsAString & aSrc)
187 : {
188 : return NS_ERROR_NOT_IMPLEMENTED;
189 : }
190 :
191 : /* attribute DOMString type; */
192 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetType(nsAString & aType)
193 : {
194 : return NS_ERROR_NOT_IMPLEMENTED;
195 : }
196 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetType(const nsAString & aType)
197 : {
198 : return NS_ERROR_NOT_IMPLEMENTED;
199 : }
200 :
201 : /* attribute DOMString width; */
202 : NS_IMETHODIMP nsDOMHTMLEmbedElement::GetWidth(nsAString & aWidth)
203 : {
204 : return NS_ERROR_NOT_IMPLEMENTED;
205 : }
206 : NS_IMETHODIMP nsDOMHTMLEmbedElement::SetWidth(const nsAString & aWidth)
207 : {
208 : return NS_ERROR_NOT_IMPLEMENTED;
209 : }
210 :
211 : /* End of implementation class template. */
212 : #endif
213 :
214 :
215 : #endif /* __gen_nsIDOMHTMLEmbedElement_h__ */
|