nsIDOMHTMLFrameElement.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLFrameElement_h__
  5. #define __gen_nsIDOMHTMLFrameElement_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: nsIDOMHTMLFrameElement */
  14. #define NS_IDOMHTMLFRAMEELEMENT_IID_STR "a6cf90b9-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLFRAMEELEMENT_IID \
  16. {0xa6cf90b9, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLFrameElement interface is the interface to a [X]HTML
  20. * frame 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 nsIDOMHTMLFrameElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFRAMEELEMENT_IID)
  30. /* attribute DOMString frameBorder; */
  31. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0;
  32. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0;
  33. /* attribute DOMString longDesc; */
  34. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0;
  35. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0;
  36. /* attribute DOMString marginHeight; */
  37. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0;
  38. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0;
  39. /* attribute DOMString marginWidth; */
  40. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0;
  41. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0;
  42. /* attribute DOMString name; */
  43. NS_IMETHOD GetName(nsAString & aName) = 0;
  44. NS_IMETHOD SetName(const nsAString & aName) = 0;
  45. /* attribute boolean noResize; */
  46. NS_IMETHOD GetNoResize(PRBool *aNoResize) = 0;
  47. NS_IMETHOD SetNoResize(PRBool aNoResize) = 0;
  48. /* attribute DOMString scrolling; */
  49. NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0;
  50. NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0;
  51. /* attribute DOMString src; */
  52. NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  53. NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  54. /* readonly attribute nsIDOMDocument contentDocument; */
  55. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;
  56. };
  57. /* Use this macro when declaring classes that implement this interface. */
  58. #define NS_DECL_NSIDOMHTMLFRAMEELEMENT \
  59. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \
  60. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \
  61. NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \
  62. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \
  63. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \
  64. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \
  65. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \
  66. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \
  67. NS_IMETHOD GetName(nsAString & aName); \
  68. NS_IMETHOD SetName(const nsAString & aName); \
  69. NS_IMETHOD GetNoResize(PRBool *aNoResize); \
  70. NS_IMETHOD SetNoResize(PRBool aNoResize); \
  71. NS_IMETHOD GetScrolling(nsAString & aScrolling); \
  72. NS_IMETHOD SetScrolling(const nsAString & aScrolling); \
  73. NS_IMETHOD GetSrc(nsAString & aSrc); \
  74. NS_IMETHOD SetSrc(const nsAString & aSrc); \
  75. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument);
  76. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  77. #define NS_FORWARD_NSIDOMHTMLFRAMEELEMENT(_to) \
  78. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
  79. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
  80. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDesc); } \
  81. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(aLongDesc); } \
  82. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
  83. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
  84. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
  85. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
  86. NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  87. NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  88. NS_IMETHOD GetNoResize(PRBool *aNoResize) { return _to GetNoResize(aNoResize); } \
  89. NS_IMETHOD SetNoResize(PRBool aNoResize) { return _to SetNoResize(aNoResize); } \
  90. NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScrolling); } \
  91. NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrolling(aScrolling); } \
  92. NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  93. NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
  94. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to GetContentDocument(aContentDocument); }
  95. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  96. #define NS_FORWARD_SAFE_NSIDOMHTMLFRAMEELEMENT(_to) \
  97. NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \
  98. NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \
  99. NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongDesc(aLongDesc); } \
  100. NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLongDesc(aLongDesc); } \
  101. NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \
  102. NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \
  103. NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \
  104. NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \
  105. NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  106. NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  107. NS_IMETHOD GetNoResize(PRBool *aNoResize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoResize(aNoResize); } \
  108. NS_IMETHOD SetNoResize(PRBool aNoResize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoResize(aNoResize); } \
  109. NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrolling(aScrolling); } \
  110. NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrolling(aScrolling); } \
  111. NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  112. NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
  113. NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); }
  114. #if 0
  115. /* Use the code below as a template for the implementation class for this interface. */
  116. /* Header file */
  117. class nsDOMHTMLFrameElement : public nsIDOMHTMLFrameElement
  118. {
  119. public:
  120. NS_DECL_ISUPPORTS
  121. NS_DECL_NSIDOMHTMLFRAMEELEMENT
  122. nsDOMHTMLFrameElement();
  123. private:
  124. ~nsDOMHTMLFrameElement();
  125. protected:
  126. /* additional members */
  127. };
  128. /* Implementation file */
  129. NS_IMPL_ISUPPORTS1(nsDOMHTMLFrameElement, nsIDOMHTMLFrameElement)
  130. nsDOMHTMLFrameElement::nsDOMHTMLFrameElement()
  131. {
  132. /* member initializers and constructor code */
  133. }
  134. nsDOMHTMLFrameElement::~nsDOMHTMLFrameElement()
  135. {
  136. /* destructor code */
  137. }
  138. /* attribute DOMString frameBorder; */
  139. NS_IMETHODIMP nsDOMHTMLFrameElement::GetFrameBorder(nsAString & aFrameBorder)
  140. {
  141. return NS_ERROR_NOT_IMPLEMENTED;
  142. }
  143. NS_IMETHODIMP nsDOMHTMLFrameElement::SetFrameBorder(const nsAString & aFrameBorder)
  144. {
  145. return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. /* attribute DOMString longDesc; */
  148. NS_IMETHODIMP nsDOMHTMLFrameElement::GetLongDesc(nsAString & aLongDesc)
  149. {
  150. return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152. NS_IMETHODIMP nsDOMHTMLFrameElement::SetLongDesc(const nsAString & aLongDesc)
  153. {
  154. return NS_ERROR_NOT_IMPLEMENTED;
  155. }
  156. /* attribute DOMString marginHeight; */
  157. NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginHeight(nsAString & aMarginHeight)
  158. {
  159. return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161. NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginHeight(const nsAString & aMarginHeight)
  162. {
  163. return NS_ERROR_NOT_IMPLEMENTED;
  164. }
  165. /* attribute DOMString marginWidth; */
  166. NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginWidth(nsAString & aMarginWidth)
  167. {
  168. return NS_ERROR_NOT_IMPLEMENTED;
  169. }
  170. NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginWidth(const nsAString & aMarginWidth)
  171. {
  172. return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174. /* attribute DOMString name; */
  175. NS_IMETHODIMP nsDOMHTMLFrameElement::GetName(nsAString & aName)
  176. {
  177. return NS_ERROR_NOT_IMPLEMENTED;
  178. }
  179. NS_IMETHODIMP nsDOMHTMLFrameElement::SetName(const nsAString & aName)
  180. {
  181. return NS_ERROR_NOT_IMPLEMENTED;
  182. }
  183. /* attribute boolean noResize; */
  184. NS_IMETHODIMP nsDOMHTMLFrameElement::GetNoResize(PRBool *aNoResize)
  185. {
  186. return NS_ERROR_NOT_IMPLEMENTED;
  187. }
  188. NS_IMETHODIMP nsDOMHTMLFrameElement::SetNoResize(PRBool aNoResize)
  189. {
  190. return NS_ERROR_NOT_IMPLEMENTED;
  191. }
  192. /* attribute DOMString scrolling; */
  193. NS_IMETHODIMP nsDOMHTMLFrameElement::GetScrolling(nsAString & aScrolling)
  194. {
  195. return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. NS_IMETHODIMP nsDOMHTMLFrameElement::SetScrolling(const nsAString & aScrolling)
  198. {
  199. return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201. /* attribute DOMString src; */
  202. NS_IMETHODIMP nsDOMHTMLFrameElement::GetSrc(nsAString & aSrc)
  203. {
  204. return NS_ERROR_NOT_IMPLEMENTED;
  205. }
  206. NS_IMETHODIMP nsDOMHTMLFrameElement::SetSrc(const nsAString & aSrc)
  207. {
  208. return NS_ERROR_NOT_IMPLEMENTED;
  209. }
  210. /* readonly attribute nsIDOMDocument contentDocument; */
  211. NS_IMETHODIMP nsDOMHTMLFrameElement::GetContentDocument(nsIDOMDocument * *aContentDocument)
  212. {
  213. return NS_ERROR_NOT_IMPLEMENTED;
  214. }
  215. /* End of implementation class template. */
  216. #endif
  217. #endif /* __gen_nsIDOMHTMLFrameElement_h__ */