PageRenderTime 41ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/mozilla/mozilla/dist/include/dom/nsIDOMHTMLFrameElement.h

http://kmbrasil.codeplex.com
C++ Header | 258 lines | 175 code | 41 blank | 42 comment | 0 complexity | 1ee7a84efbf8dedf8bd95ecd9ab1bf63 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, GPL-2.0
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM h:/projects/mozilla/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__ */