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/nsIDOMHTMLFrameElement.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOMHTMLFrameElement_h__ |
| 6 #define __gen_nsIDOMHTMLFrameElement_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: nsIDOMHTMLFrameElement */ |
| 19 #define NS_IDOMHTMLFRAMEELEMENT_IID_STR "a6cf90b9-15b3-11d2-932e-00805f8add32" |
| 20 |
| 21 #define NS_IDOMHTMLFRAMEELEMENT_IID \ |
| 22 {0xa6cf90b9, 0x15b3, 0x11d2, \ |
| 23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }} |
| 24 |
| 25 /** |
| 26 * The nsIDOMHTMLFrameElement interface is the interface to a [X]HTML |
| 27 * frame 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 nsIDOMHTMLFrameElement : public nsIDOMHTMLElement { |
| 35 public: |
| 36 |
| 37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFRAMEELEMENT_IID) |
| 38 |
| 39 /* attribute DOMString frameBorder; */ |
| 40 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0; |
| 41 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0; |
| 42 |
| 43 /* attribute DOMString longDesc; */ |
| 44 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0; |
| 45 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0; |
| 46 |
| 47 /* attribute DOMString marginHeight; */ |
| 48 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0; |
| 49 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0; |
| 50 |
| 51 /* attribute DOMString marginWidth; */ |
| 52 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0; |
| 53 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0; |
| 54 |
| 55 /* attribute DOMString name; */ |
| 56 NS_IMETHOD GetName(nsAString & aName) = 0; |
| 57 NS_IMETHOD SetName(const nsAString & aName) = 0; |
| 58 |
| 59 /* attribute boolean noResize; */ |
| 60 NS_IMETHOD GetNoResize(PRBool *aNoResize) = 0; |
| 61 NS_IMETHOD SetNoResize(PRBool aNoResize) = 0; |
| 62 |
| 63 /* attribute DOMString scrolling; */ |
| 64 NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0; |
| 65 NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0; |
| 66 |
| 67 /* attribute DOMString src; */ |
| 68 NS_IMETHOD GetSrc(nsAString & aSrc) = 0; |
| 69 NS_IMETHOD SetSrc(const nsAString & aSrc) = 0; |
| 70 |
| 71 /* readonly attribute nsIDOMDocument contentDocument; */ |
| 72 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0; |
| 73 |
| 74 }; |
| 75 |
| 76 /* Use this macro when declaring classes that implement this interface. */ |
| 77 #define NS_DECL_NSIDOMHTMLFRAMEELEMENT \ |
| 78 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \ |
| 79 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \ |
| 80 NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \ |
| 81 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \ |
| 82 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \ |
| 83 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \ |
| 84 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \ |
| 85 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \ |
| 86 NS_IMETHOD GetName(nsAString & aName); \ |
| 87 NS_IMETHOD SetName(const nsAString & aName); \ |
| 88 NS_IMETHOD GetNoResize(PRBool *aNoResize); \ |
| 89 NS_IMETHOD SetNoResize(PRBool aNoResize); \ |
| 90 NS_IMETHOD GetScrolling(nsAString & aScrolling); \ |
| 91 NS_IMETHOD SetScrolling(const nsAString & aScrolling); \ |
| 92 NS_IMETHOD GetSrc(nsAString & aSrc); \ |
| 93 NS_IMETHOD SetSrc(const nsAString & aSrc); \ |
| 94 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument); |
| 95 |
| 96 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 97 #define NS_FORWARD_NSIDOMHTMLFRAMEELEMENT(_to) \ |
| 98 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorde
r(aFrameBorder); } \ |
| 99 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFram
eBorder(aFrameBorder); } \ |
| 100 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDe
sc); } \ |
| 101 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(a
LongDesc); } \ |
| 102 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHe
ight(aMarginHeight); } \ |
| 103 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMa
rginHeight(aMarginHeight); } \ |
| 104 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidt
h(aMarginWidth); } \ |
| 105 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarg
inWidth(aMarginWidth); } \ |
| 106 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \ |
| 107 NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \ |
| 108 NS_IMETHOD GetNoResize(PRBool *aNoResize) { return _to GetNoResize(aNoResize);
} \ |
| 109 NS_IMETHOD SetNoResize(PRBool aNoResize) { return _to SetNoResize(aNoResize);
} \ |
| 110 NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScr
olling); } \ |
| 111 NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrollin
g(aScrolling); } \ |
| 112 NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \ |
| 113 NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \ |
| 114 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to
GetContentDocument(aContentDocument); } |
| 115 |
| 116 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 117 #define NS_FORWARD_SAFE_NSIDOMHTMLFRAMEELEMENT(_to) \ |
| 118 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \ |
| 119 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_E
RROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \ |
| 120 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->GetLongDesc(aLongDesc); } \ |
| 121 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->SetLongDesc(aLongDesc); } \ |
| 122 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR
_NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \ |
| 123 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS
_ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \ |
| 124 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \ |
| 125 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_E
RROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \ |
| 126 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER :
_to->GetName(aName); } \ |
| 127 NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->SetName(aName); } \ |
| 128 NS_IMETHOD GetNoResize(PRBool *aNoResize) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetNoResize(aNoResize); } \ |
| 129 NS_IMETHOD SetNoResize(PRBool aNoResize) { return !_to ? NS_ERROR_NULL_POINTER
: _to->SetNoResize(aNoResize); } \ |
| 130 NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_
POINTER : _to->GetScrolling(aScrolling); } \ |
| 131 NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR
_NULL_POINTER : _to->SetScrolling(aScrolling); } \ |
| 132 NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _t
o->GetSrc(aSrc); } \ |
| 133 NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->SetSrc(aSrc); } \ |
| 134 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_t
o ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); } |
| 135 |
| 136 #if 0 |
| 137 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 138 |
| 139 /* Header file */ |
| 140 class nsDOMHTMLFrameElement : public nsIDOMHTMLFrameElement |
| 141 { |
| 142 public: |
| 143 NS_DECL_ISUPPORTS |
| 144 NS_DECL_NSIDOMHTMLFRAMEELEMENT |
| 145 |
| 146 nsDOMHTMLFrameElement(); |
| 147 |
| 148 private: |
| 149 ~nsDOMHTMLFrameElement(); |
| 150 |
| 151 protected: |
| 152 /* additional members */ |
| 153 }; |
| 154 |
| 155 /* Implementation file */ |
| 156 NS_IMPL_ISUPPORTS1(nsDOMHTMLFrameElement, nsIDOMHTMLFrameElement) |
| 157 |
| 158 nsDOMHTMLFrameElement::nsDOMHTMLFrameElement() |
| 159 { |
| 160 /* member initializers and constructor code */ |
| 161 } |
| 162 |
| 163 nsDOMHTMLFrameElement::~nsDOMHTMLFrameElement() |
| 164 { |
| 165 /* destructor code */ |
| 166 } |
| 167 |
| 168 /* attribute DOMString frameBorder; */ |
| 169 NS_IMETHODIMP nsDOMHTMLFrameElement::GetFrameBorder(nsAString & aFrameBorder) |
| 170 { |
| 171 return NS_ERROR_NOT_IMPLEMENTED; |
| 172 } |
| 173 NS_IMETHODIMP nsDOMHTMLFrameElement::SetFrameBorder(const nsAString & aFrameBord
er) |
| 174 { |
| 175 return NS_ERROR_NOT_IMPLEMENTED; |
| 176 } |
| 177 |
| 178 /* attribute DOMString longDesc; */ |
| 179 NS_IMETHODIMP nsDOMHTMLFrameElement::GetLongDesc(nsAString & aLongDesc) |
| 180 { |
| 181 return NS_ERROR_NOT_IMPLEMENTED; |
| 182 } |
| 183 NS_IMETHODIMP nsDOMHTMLFrameElement::SetLongDesc(const nsAString & aLongDesc) |
| 184 { |
| 185 return NS_ERROR_NOT_IMPLEMENTED; |
| 186 } |
| 187 |
| 188 /* attribute DOMString marginHeight; */ |
| 189 NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginHeight(nsAString & aMarginHeight) |
| 190 { |
| 191 return NS_ERROR_NOT_IMPLEMENTED; |
| 192 } |
| 193 NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginHeight(const nsAString & aMarginHe
ight) |
| 194 { |
| 195 return NS_ERROR_NOT_IMPLEMENTED; |
| 196 } |
| 197 |
| 198 /* attribute DOMString marginWidth; */ |
| 199 NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginWidth(nsAString & aMarginWidth) |
| 200 { |
| 201 return NS_ERROR_NOT_IMPLEMENTED; |
| 202 } |
| 203 NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginWidth(const nsAString & aMarginWid
th) |
| 204 { |
| 205 return NS_ERROR_NOT_IMPLEMENTED; |
| 206 } |
| 207 |
| 208 /* attribute DOMString name; */ |
| 209 NS_IMETHODIMP nsDOMHTMLFrameElement::GetName(nsAString & aName) |
| 210 { |
| 211 return NS_ERROR_NOT_IMPLEMENTED; |
| 212 } |
| 213 NS_IMETHODIMP nsDOMHTMLFrameElement::SetName(const nsAString & aName) |
| 214 { |
| 215 return NS_ERROR_NOT_IMPLEMENTED; |
| 216 } |
| 217 |
| 218 /* attribute boolean noResize; */ |
| 219 NS_IMETHODIMP nsDOMHTMLFrameElement::GetNoResize(PRBool *aNoResize) |
| 220 { |
| 221 return NS_ERROR_NOT_IMPLEMENTED; |
| 222 } |
| 223 NS_IMETHODIMP nsDOMHTMLFrameElement::SetNoResize(PRBool aNoResize) |
| 224 { |
| 225 return NS_ERROR_NOT_IMPLEMENTED; |
| 226 } |
| 227 |
| 228 /* attribute DOMString scrolling; */ |
| 229 NS_IMETHODIMP nsDOMHTMLFrameElement::GetScrolling(nsAString & aScrolling) |
| 230 { |
| 231 return NS_ERROR_NOT_IMPLEMENTED; |
| 232 } |
| 233 NS_IMETHODIMP nsDOMHTMLFrameElement::SetScrolling(const nsAString & aScrolling) |
| 234 { |
| 235 return NS_ERROR_NOT_IMPLEMENTED; |
| 236 } |
| 237 |
| 238 /* attribute DOMString src; */ |
| 239 NS_IMETHODIMP nsDOMHTMLFrameElement::GetSrc(nsAString & aSrc) |
| 240 { |
| 241 return NS_ERROR_NOT_IMPLEMENTED; |
| 242 } |
| 243 NS_IMETHODIMP nsDOMHTMLFrameElement::SetSrc(const nsAString & aSrc) |
| 244 { |
| 245 return NS_ERROR_NOT_IMPLEMENTED; |
| 246 } |
| 247 |
| 248 /* readonly attribute nsIDOMDocument contentDocument; */ |
| 249 NS_IMETHODIMP nsDOMHTMLFrameElement::GetContentDocument(nsIDOMDocument * *aConte
ntDocument) |
| 250 { |
| 251 return NS_ERROR_NOT_IMPLEMENTED; |
| 252 } |
| 253 |
| 254 /* End of implementation class template. */ |
| 255 #endif |
| 256 |
| 257 |
| 258 #endif /* __gen_nsIDOMHTMLFrameElement_h__ */ |
OLD | NEW |