nsIDOMHTMLIFrameElement.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLIFrameElement_h__
  5. #define __gen_nsIDOMHTMLIFrameElement_h__
  6. #ifndef __gen_nsIDOMHTMLElement_h__
  7. #include "nsIDOMHTMLElement.h"
  8. #endif
  9. /* For IDL files that don't want to include root IDL files. */
  10. #ifndef NS_NO_VTABLE
  11. #define NS_NO_VTABLE
  12. #endif
  13. /* starting interface: nsIDOMHTMLIFrameElement */
  14. #define NS_IDOMHTMLIFRAMEELEMENT_IID_STR "a6cf90ba-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLIFRAMEELEMENT_IID \
  16. {0xa6cf90ba, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLIFrameElement interface is the interface to a [X]HTML
  20. * iframe element.
  21. *
  22. * For more information on this interface please see
  23. * http://www.w3.org/TR/DOM-Level-2-HTML/
  24. *
  25. * @status FROZEN
  26. */
  27. class NS_NO_VTABLE nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLIFRAMEELEMENT_IID)
  30. /* attribute DOMString align; */
  31. NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. /* attribute DOMString frameBorder; */
  34. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0;
  35. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0;
  36. /* attribute DOMString height; */
  37. NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
  38. NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
  39. /* attribute DOMString longDesc; */
  40. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0;
  41. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0;
  42. /* attribute DOMString marginHeight; */
  43. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0;
  44. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0;
  45. /* attribute DOMString marginWidth; */
  46. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0;
  47. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0;
  48. /* attribute DOMString name; */
  49. NS_IMETHOD GetName(nsAString & aName) = 0;
  50. NS_IMETHOD SetName(const nsAString & aName) = 0;
  51. /* attribute DOMString scrolling; */
  52. NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0;
  53. NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0;
  54. /* attribute DOMString src; */
  55. NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  56. NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  57. /* attribute DOMString width; */
  58. NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  59. NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  60. /* readonly attribute nsIDOMDocument contentDocument; */
  61. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;
  62. };
  63. /* Use this macro when declaring classes that implement this interface. */
  64. #define NS_DECL_NSIDOMHTMLIFRAMEELEMENT \
  65. NS_IMETHOD GetAlign(nsAString & aAlign); \
  66. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  67. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \
  68. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \
  69. NS_IMETHOD GetHeight(nsAString & aHeight); \
  70. NS_IMETHOD SetHeight(const nsAString & aHeight); \
  71. NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \
  72. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \
  73. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \
  74. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \
  75. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \
  76. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \
  77. NS_IMETHOD GetName(nsAString & aName); \
  78. NS_IMETHOD SetName(const nsAString & aName); \
  79. NS_IMETHOD GetScrolling(nsAString & aScrolling); \
  80. NS_IMETHOD SetScrolling(const nsAString & aScrolling); \
  81. NS_IMETHOD GetSrc(nsAString & aSrc); \
  82. NS_IMETHOD SetSrc(const nsAString & aSrc); \
  83. NS_IMETHOD GetWidth(nsAString & aWidth); \
  84. NS_IMETHOD SetWidth(const nsAString & aWidth); \
  85. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument);
  86. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  87. #define NS_FORWARD_NSIDOMHTMLIFRAMEELEMENT(_to) \
  88. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  89. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  90. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
  91. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
  92. NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
  93. NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
  94. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDesc); } \
  95. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(aLongDesc); } \
  96. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
  97. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
  98. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
  99. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
  100. NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  101. NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  102. NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScrolling); } \
  103. NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrolling(aScrolling); } \
  104. NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  105. NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
  106. NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  107. NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } \
  108. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to GetContentDocument(aContentDocument); }
  109. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  110. #define NS_FORWARD_SAFE_NSIDOMHTMLIFRAMEELEMENT(_to) \
  111. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  112. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  113. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \
  114. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \
  115. NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  116. NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
  117. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongDesc(aLongDesc); } \
  118. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLongDesc(aLongDesc); } \
  119. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \
  120. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \
  121. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \
  122. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \
  123. NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  124. NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  125. NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrolling(aScrolling); } \
  126. NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrolling(aScrolling); } \
  127. NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  128. NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
  129. NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  130. NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
  131. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); }
  132. #if 0
  133. /* Use the code below as a template for the implementation class for this interface. */
  134. /* Header file */
  135. class nsDOMHTMLIFrameElement : public nsIDOMHTMLIFrameElement
  136. {
  137. public:
  138. NS_DECL_ISUPPORTS
  139. NS_DECL_NSIDOMHTMLIFRAMEELEMENT
  140. nsDOMHTMLIFrameElement();
  141. private:
  142. ~nsDOMHTMLIFrameElement();
  143. protected:
  144. /* additional members */
  145. };
  146. /* Implementation file */
  147. NS_IMPL_ISUPPORTS1(nsDOMHTMLIFrameElement, nsIDOMHTMLIFrameElement)
  148. nsDOMHTMLIFrameElement::nsDOMHTMLIFrameElement()
  149. {
  150. /* member initializers and constructor code */
  151. }
  152. nsDOMHTMLIFrameElement::~nsDOMHTMLIFrameElement()
  153. {
  154. /* destructor code */
  155. }
  156. /* attribute DOMString align; */
  157. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetAlign(nsAString & aAlign)
  158. {
  159. return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetAlign(const nsAString & aAlign)
  162. {
  163. return NS_ERROR_NOT_IMPLEMENTED;
  164. }
  165. /* attribute DOMString frameBorder; */
  166. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetFrameBorder(nsAString & aFrameBorder)
  167. {
  168. return NS_ERROR_NOT_IMPLEMENTED;
  169. }
  170. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetFrameBorder(const nsAString & aFrameBorder)
  171. {
  172. return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174. /* attribute DOMString height; */
  175. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetHeight(nsAString & aHeight)
  176. {
  177. return NS_ERROR_NOT_IMPLEMENTED;
  178. }
  179. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetHeight(const nsAString & aHeight)
  180. {
  181. return NS_ERROR_NOT_IMPLEMENTED;
  182. }
  183. /* attribute DOMString longDesc; */
  184. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetLongDesc(nsAString & aLongDesc)
  185. {
  186. return NS_ERROR_NOT_IMPLEMENTED;
  187. }
  188. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetLongDesc(const nsAString & aLongDesc)
  189. {
  190. return NS_ERROR_NOT_IMPLEMENTED;
  191. }
  192. /* attribute DOMString marginHeight; */
  193. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginHeight(nsAString & aMarginHeight)
  194. {
  195. return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginHeight(const nsAString & aMarginHeight)
  198. {
  199. return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201. /* attribute DOMString marginWidth; */
  202. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginWidth(nsAString & aMarginWidth)
  203. {
  204. return NS_ERROR_NOT_IMPLEMENTED;
  205. }
  206. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginWidth(const nsAString & aMarginWidth)
  207. {
  208. return NS_ERROR_NOT_IMPLEMENTED;
  209. }
  210. /* attribute DOMString name; */
  211. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetName(nsAString & aName)
  212. {
  213. return NS_ERROR_NOT_IMPLEMENTED;
  214. }
  215. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetName(const nsAString & aName)
  216. {
  217. return NS_ERROR_NOT_IMPLEMENTED;
  218. }
  219. /* attribute DOMString scrolling; */
  220. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetScrolling(nsAString & aScrolling)
  221. {
  222. return NS_ERROR_NOT_IMPLEMENTED;
  223. }
  224. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetScrolling(const nsAString & aScrolling)
  225. {
  226. return NS_ERROR_NOT_IMPLEMENTED;
  227. }
  228. /* attribute DOMString src; */
  229. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetSrc(nsAString & aSrc)
  230. {
  231. return NS_ERROR_NOT_IMPLEMENTED;
  232. }
  233. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetSrc(const nsAString & aSrc)
  234. {
  235. return NS_ERROR_NOT_IMPLEMENTED;
  236. }
  237. /* attribute DOMString width; */
  238. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetWidth(nsAString & aWidth)
  239. {
  240. return NS_ERROR_NOT_IMPLEMENTED;
  241. }
  242. NS_IMETHODIMP nsDOMHTMLIFrameElement::SetWidth(const nsAString & aWidth)
  243. {
  244. return NS_ERROR_NOT_IMPLEMENTED;
  245. }
  246. /* readonly attribute nsIDOMDocument contentDocument; */
  247. NS_IMETHODIMP nsDOMHTMLIFrameElement::GetContentDocument(nsIDOMDocument * *aContentDocument)
  248. {
  249. return NS_ERROR_NOT_IMPLEMENTED;
  250. }
  251. /* End of implementation class template. */
  252. #endif
  253. #endif /* __gen_nsIDOMHTMLIFrameElement_h__ */