OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.id
l |
| 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 */ |
| 34 class NS_NO_VTABLE nsIDOMHTMLAppletElement : public nsIDOMHTMLElement { |
| 35 public: |
| 36 |
| 37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAPPLETELEMENT_IID) |
| 38 |
| 39 /* attribute DOMString align; */ |
| 40 NS_IMETHOD GetAlign(nsAString & aAlign) = 0; |
| 41 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0; |
| 42 |
| 43 /* attribute DOMString alt; */ |
| 44 NS_IMETHOD GetAlt(nsAString & aAlt) = 0; |
| 45 NS_IMETHOD SetAlt(const nsAString & aAlt) = 0; |
| 46 |
| 47 /* attribute DOMString archive; */ |
| 48 NS_IMETHOD GetArchive(nsAString & aArchive) = 0; |
| 49 NS_IMETHOD SetArchive(const nsAString & aArchive) = 0; |
| 50 |
| 51 /* attribute DOMString code; */ |
| 52 NS_IMETHOD GetCode(nsAString & aCode) = 0; |
| 53 NS_IMETHOD SetCode(const nsAString & aCode) = 0; |
| 54 |
| 55 /* attribute DOMString codeBase; */ |
| 56 NS_IMETHOD GetCodeBase(nsAString & aCodeBase) = 0; |
| 57 NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) = 0; |
| 58 |
| 59 /* attribute DOMString height; */ |
| 60 NS_IMETHOD GetHeight(nsAString & aHeight) = 0; |
| 61 NS_IMETHOD SetHeight(const nsAString & aHeight) = 0; |
| 62 |
| 63 /* attribute long hspace; */ |
| 64 NS_IMETHOD GetHspace(PRInt32 *aHspace) = 0; |
| 65 NS_IMETHOD SetHspace(PRInt32 aHspace) = 0; |
| 66 |
| 67 /* attribute DOMString name; */ |
| 68 NS_IMETHOD GetName(nsAString & aName) = 0; |
| 69 NS_IMETHOD SetName(const nsAString & aName) = 0; |
| 70 |
| 71 /* attribute DOMString object; */ |
| 72 NS_IMETHOD GetObject(nsAString & aObject) = 0; |
| 73 NS_IMETHOD SetObject(const nsAString & aObject) = 0; |
| 74 |
| 75 /* attribute long vspace; */ |
| 76 NS_IMETHOD GetVspace(PRInt32 *aVspace) = 0; |
| 77 NS_IMETHOD SetVspace(PRInt32 aVspace) = 0; |
| 78 |
| 79 /* attribute DOMString width; */ |
| 80 NS_IMETHOD GetWidth(nsAString & aWidth) = 0; |
| 81 NS_IMETHOD SetWidth(const nsAString & aWidth) = 0; |
| 82 |
| 83 }; |
| 84 |
| 85 /* Use this macro when declaring classes that implement this interface. */ |
| 86 #define NS_DECL_NSIDOMHTMLAPPLETELEMENT \ |
| 87 NS_IMETHOD GetAlign(nsAString & aAlign); \ |
| 88 NS_IMETHOD SetAlign(const nsAString & aAlign); \ |
| 89 NS_IMETHOD GetAlt(nsAString & aAlt); \ |
| 90 NS_IMETHOD SetAlt(const nsAString & aAlt); \ |
| 91 NS_IMETHOD GetArchive(nsAString & aArchive); \ |
| 92 NS_IMETHOD SetArchive(const nsAString & aArchive); \ |
| 93 NS_IMETHOD GetCode(nsAString & aCode); \ |
| 94 NS_IMETHOD SetCode(const nsAString & aCode); \ |
| 95 NS_IMETHOD GetCodeBase(nsAString & aCodeBase); \ |
| 96 NS_IMETHOD SetCodeBase(const nsAString & aCodeBase); \ |
| 97 NS_IMETHOD GetHeight(nsAString & aHeight); \ |
| 98 NS_IMETHOD SetHeight(const nsAString & aHeight); \ |
| 99 NS_IMETHOD GetHspace(PRInt32 *aHspace); \ |
| 100 NS_IMETHOD SetHspace(PRInt32 aHspace); \ |
| 101 NS_IMETHOD GetName(nsAString & aName); \ |
| 102 NS_IMETHOD SetName(const nsAString & aName); \ |
| 103 NS_IMETHOD GetObject(nsAString & aObject); \ |
| 104 NS_IMETHOD SetObject(const nsAString & aObject); \ |
| 105 NS_IMETHOD GetVspace(PRInt32 *aVspace); \ |
| 106 NS_IMETHOD SetVspace(PRInt32 aVspace); \ |
| 107 NS_IMETHOD GetWidth(nsAString & aWidth); \ |
| 108 NS_IMETHOD SetWidth(const nsAString & aWidth); |
| 109 |
| 110 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 111 #define NS_FORWARD_NSIDOMHTMLAPPLETELEMENT(_to) \ |
| 112 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \ |
| 113 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); }
\ |
| 114 NS_IMETHOD GetAlt(nsAString & aAlt) { return _to GetAlt(aAlt); } \ |
| 115 NS_IMETHOD SetAlt(const nsAString & aAlt) { return _to SetAlt(aAlt); } \ |
| 116 NS_IMETHOD GetArchive(nsAString & aArchive) { return _to GetArchive(aArchive);
} \ |
| 117 NS_IMETHOD SetArchive(const nsAString & aArchive) { return _to SetArchive(aArc
hive); } \ |
| 118 NS_IMETHOD GetCode(nsAString & aCode) { return _to GetCode(aCode); } \ |
| 119 NS_IMETHOD SetCode(const nsAString & aCode) { return _to SetCode(aCode); } \ |
| 120 NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return _to GetCodeBase(aCodeBa
se); } \ |
| 121 NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return _to SetCodeBase(a
CodeBase); } \ |
| 122 NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \ |
| 123 NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight
); } \ |
| 124 NS_IMETHOD GetHspace(PRInt32 *aHspace) { return _to GetHspace(aHspace); } \ |
| 125 NS_IMETHOD SetHspace(PRInt32 aHspace) { return _to SetHspace(aHspace); } \ |
| 126 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \ |
| 127 NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \ |
| 128 NS_IMETHOD GetObject(nsAString & aObject) { return _to GetObject(aObject); } \ |
| 129 NS_IMETHOD SetObject(const nsAString & aObject) { return _to SetObject(aObject
); } \ |
| 130 NS_IMETHOD GetVspace(PRInt32 *aVspace) { return _to GetVspace(aVspace); } \ |
| 131 NS_IMETHOD SetVspace(PRInt32 aVspace) { return _to SetVspace(aVspace); } \ |
| 132 NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \ |
| 133 NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
|
| 134 |
| 135 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 136 #define NS_FORWARD_SAFE_NSIDOMHTMLAPPLETELEMENT(_to) \ |
| 137 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetAlign(aAlign); } \ |
| 138 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetAlign(aAlign); } \ |
| 139 NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _t
o->GetAlt(aAlt); } \ |
| 140 NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->SetAlt(aAlt); } \ |
| 141 NS_IMETHOD GetArchive(nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->GetArchive(aArchive); } \ |
| 142 NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NUL
L_POINTER : _to->SetArchive(aArchive); } \ |
| 143 NS_IMETHOD GetCode(nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER :
_to->GetCode(aCode); } \ |
| 144 NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->SetCode(aCode); } \ |
| 145 NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->GetCodeBase(aCodeBase); } \ |
| 146 NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->SetCodeBase(aCodeBase); } \ |
| 147 NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetHeight(aHeight); } \ |
| 148 NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_
POINTER : _to->SetHeight(aHeight); } \ |
| 149 NS_IMETHOD GetHspace(PRInt32 *aHspace) { return !_to ? NS_ERROR_NULL_POINTER :
_to->GetHspace(aHspace); } \ |
| 150 NS_IMETHOD SetHspace(PRInt32 aHspace) { return !_to ? NS_ERROR_NULL_POINTER :
_to->SetHspace(aHspace); } \ |
| 151 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER :
_to->GetName(aName); } \ |
| 152 NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->SetName(aName); } \ |
| 153 NS_IMETHOD GetObject(nsAString & aObject) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetObject(aObject); } \ |
| 154 NS_IMETHOD SetObject(const nsAString & aObject) { return !_to ? NS_ERROR_NULL_
POINTER : _to->SetObject(aObject); } \ |
| 155 NS_IMETHOD GetVspace(PRInt32 *aVspace) { return !_to ? NS_ERROR_NULL_POINTER :
_to->GetVspace(aVspace); } \ |
| 156 NS_IMETHOD SetVspace(PRInt32 aVspace) { return !_to ? NS_ERROR_NULL_POINTER :
_to->SetVspace(aVspace); } \ |
| 157 NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetWidth(aWidth); } \ |
| 158 NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetWidth(aWidth); } |
| 159 |
| 160 #if 0 |
| 161 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 162 |
| 163 /* Header file */ |
| 164 class nsDOMHTMLAppletElement : public nsIDOMHTMLAppletElement |
| 165 { |
| 166 public: |
| 167 NS_DECL_ISUPPORTS |
| 168 NS_DECL_NSIDOMHTMLAPPLETELEMENT |
| 169 |
| 170 nsDOMHTMLAppletElement(); |
| 171 |
| 172 private: |
| 173 ~nsDOMHTMLAppletElement(); |
| 174 |
| 175 protected: |
| 176 /* additional members */ |
| 177 }; |
| 178 |
| 179 /* Implementation file */ |
| 180 NS_IMPL_ISUPPORTS1(nsDOMHTMLAppletElement, nsIDOMHTMLAppletElement) |
| 181 |
| 182 nsDOMHTMLAppletElement::nsDOMHTMLAppletElement() |
| 183 { |
| 184 /* member initializers and constructor code */ |
| 185 } |
| 186 |
| 187 nsDOMHTMLAppletElement::~nsDOMHTMLAppletElement() |
| 188 { |
| 189 /* destructor code */ |
| 190 } |
| 191 |
| 192 /* attribute DOMString align; */ |
| 193 NS_IMETHODIMP nsDOMHTMLAppletElement::GetAlign(nsAString & aAlign) |
| 194 { |
| 195 return NS_ERROR_NOT_IMPLEMENTED; |
| 196 } |
| 197 NS_IMETHODIMP nsDOMHTMLAppletElement::SetAlign(const nsAString & aAlign) |
| 198 { |
| 199 return NS_ERROR_NOT_IMPLEMENTED; |
| 200 } |
| 201 |
| 202 /* attribute DOMString alt; */ |
| 203 NS_IMETHODIMP nsDOMHTMLAppletElement::GetAlt(nsAString & aAlt) |
| 204 { |
| 205 return NS_ERROR_NOT_IMPLEMENTED; |
| 206 } |
| 207 NS_IMETHODIMP nsDOMHTMLAppletElement::SetAlt(const nsAString & aAlt) |
| 208 { |
| 209 return NS_ERROR_NOT_IMPLEMENTED; |
| 210 } |
| 211 |
| 212 /* attribute DOMString archive; */ |
| 213 NS_IMETHODIMP nsDOMHTMLAppletElement::GetArchive(nsAString & aArchive) |
| 214 { |
| 215 return NS_ERROR_NOT_IMPLEMENTED; |
| 216 } |
| 217 NS_IMETHODIMP nsDOMHTMLAppletElement::SetArchive(const nsAString & aArchive) |
| 218 { |
| 219 return NS_ERROR_NOT_IMPLEMENTED; |
| 220 } |
| 221 |
| 222 /* attribute DOMString code; */ |
| 223 NS_IMETHODIMP nsDOMHTMLAppletElement::GetCode(nsAString & aCode) |
| 224 { |
| 225 return NS_ERROR_NOT_IMPLEMENTED; |
| 226 } |
| 227 NS_IMETHODIMP nsDOMHTMLAppletElement::SetCode(const nsAString & aCode) |
| 228 { |
| 229 return NS_ERROR_NOT_IMPLEMENTED; |
| 230 } |
| 231 |
| 232 /* attribute DOMString codeBase; */ |
| 233 NS_IMETHODIMP nsDOMHTMLAppletElement::GetCodeBase(nsAString & aCodeBase) |
| 234 { |
| 235 return NS_ERROR_NOT_IMPLEMENTED; |
| 236 } |
| 237 NS_IMETHODIMP nsDOMHTMLAppletElement::SetCodeBase(const nsAString & aCodeBase) |
| 238 { |
| 239 return NS_ERROR_NOT_IMPLEMENTED; |
| 240 } |
| 241 |
| 242 /* attribute DOMString height; */ |
| 243 NS_IMETHODIMP nsDOMHTMLAppletElement::GetHeight(nsAString & aHeight) |
| 244 { |
| 245 return NS_ERROR_NOT_IMPLEMENTED; |
| 246 } |
| 247 NS_IMETHODIMP nsDOMHTMLAppletElement::SetHeight(const nsAString & aHeight) |
| 248 { |
| 249 return NS_ERROR_NOT_IMPLEMENTED; |
| 250 } |
| 251 |
| 252 /* attribute long hspace; */ |
| 253 NS_IMETHODIMP nsDOMHTMLAppletElement::GetHspace(PRInt32 *aHspace) |
| 254 { |
| 255 return NS_ERROR_NOT_IMPLEMENTED; |
| 256 } |
| 257 NS_IMETHODIMP nsDOMHTMLAppletElement::SetHspace(PRInt32 aHspace) |
| 258 { |
| 259 return NS_ERROR_NOT_IMPLEMENTED; |
| 260 } |
| 261 |
| 262 /* attribute DOMString name; */ |
| 263 NS_IMETHODIMP nsDOMHTMLAppletElement::GetName(nsAString & aName) |
| 264 { |
| 265 return NS_ERROR_NOT_IMPLEMENTED; |
| 266 } |
| 267 NS_IMETHODIMP nsDOMHTMLAppletElement::SetName(const nsAString & aName) |
| 268 { |
| 269 return NS_ERROR_NOT_IMPLEMENTED; |
| 270 } |
| 271 |
| 272 /* attribute DOMString object; */ |
| 273 NS_IMETHODIMP nsDOMHTMLAppletElement::GetObject(nsAString & aObject) |
| 274 { |
| 275 return NS_ERROR_NOT_IMPLEMENTED; |
| 276 } |
| 277 NS_IMETHODIMP nsDOMHTMLAppletElement::SetObject(const nsAString & aObject) |
| 278 { |
| 279 return NS_ERROR_NOT_IMPLEMENTED; |
| 280 } |
| 281 |
| 282 /* attribute long vspace; */ |
| 283 NS_IMETHODIMP nsDOMHTMLAppletElement::GetVspace(PRInt32 *aVspace) |
| 284 { |
| 285 return NS_ERROR_NOT_IMPLEMENTED; |
| 286 } |
| 287 NS_IMETHODIMP nsDOMHTMLAppletElement::SetVspace(PRInt32 aVspace) |
| 288 { |
| 289 return NS_ERROR_NOT_IMPLEMENTED; |
| 290 } |
| 291 |
| 292 /* attribute DOMString width; */ |
| 293 NS_IMETHODIMP nsDOMHTMLAppletElement::GetWidth(nsAString & aWidth) |
| 294 { |
| 295 return NS_ERROR_NOT_IMPLEMENTED; |
| 296 } |
| 297 NS_IMETHODIMP nsDOMHTMLAppletElement::SetWidth(const nsAString & aWidth) |
| 298 { |
| 299 return NS_ERROR_NOT_IMPLEMENTED; |
| 300 } |
| 301 |
| 302 /* End of implementation class template. */ |
| 303 #endif |
| 304 |
| 305 |
| 306 #endif /* __gen_nsIDOMHTMLAppletElement_h__ */ |
OLD | NEW |