nsIDOMHTMLFrameSetElement.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLFrameSetElement_h__
  5. #define __gen_nsIDOMHTMLFrameSetElement_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: nsIDOMHTMLFrameSetElement */
  14. #define NS_IDOMHTMLFRAMESETELEMENT_IID_STR "a6cf90b8-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLFRAMESETELEMENT_IID \
  16. {0xa6cf90b8, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLFrameSetElement interface is the interface to a
  20. * [X]HTML frameset 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 nsIDOMHTMLFrameSetElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFRAMESETELEMENT_IID)
  30. /* attribute DOMString cols; */
  31. NS_IMETHOD GetCols(nsAString & aCols) = 0;
  32. NS_IMETHOD SetCols(const nsAString & aCols) = 0;
  33. /* attribute DOMString rows; */
  34. NS_IMETHOD GetRows(nsAString & aRows) = 0;
  35. NS_IMETHOD SetRows(const nsAString & aRows) = 0;
  36. };
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIDOMHTMLFRAMESETELEMENT \
  39. NS_IMETHOD GetCols(nsAString & aCols); \
  40. NS_IMETHOD SetCols(const nsAString & aCols); \
  41. NS_IMETHOD GetRows(nsAString & aRows); \
  42. NS_IMETHOD SetRows(const nsAString & aRows);
  43. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  44. #define NS_FORWARD_NSIDOMHTMLFRAMESETELEMENT(_to) \
  45. NS_IMETHOD GetCols(nsAString & aCols) { return _to GetCols(aCols); } \
  46. NS_IMETHOD SetCols(const nsAString & aCols) { return _to SetCols(aCols); } \
  47. NS_IMETHOD GetRows(nsAString & aRows) { return _to GetRows(aRows); } \
  48. NS_IMETHOD SetRows(const nsAString & aRows) { return _to SetRows(aRows); }
  49. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  50. #define NS_FORWARD_SAFE_NSIDOMHTMLFRAMESETELEMENT(_to) \
  51. NS_IMETHOD GetCols(nsAString & aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCols(aCols); } \
  52. NS_IMETHOD SetCols(const nsAString & aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCols(aCols); } \
  53. NS_IMETHOD GetRows(nsAString & aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
  54. NS_IMETHOD SetRows(const nsAString & aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRows(aRows); }
  55. #if 0
  56. /* Use the code below as a template for the implementation class for this interface. */
  57. /* Header file */
  58. class nsDOMHTMLFrameSetElement : public nsIDOMHTMLFrameSetElement
  59. {
  60. public:
  61. NS_DECL_ISUPPORTS
  62. NS_DECL_NSIDOMHTMLFRAMESETELEMENT
  63. nsDOMHTMLFrameSetElement();
  64. private:
  65. ~nsDOMHTMLFrameSetElement();
  66. protected:
  67. /* additional members */
  68. };
  69. /* Implementation file */
  70. NS_IMPL_ISUPPORTS1(nsDOMHTMLFrameSetElement, nsIDOMHTMLFrameSetElement)
  71. nsDOMHTMLFrameSetElement::nsDOMHTMLFrameSetElement()
  72. {
  73. /* member initializers and constructor code */
  74. }
  75. nsDOMHTMLFrameSetElement::~nsDOMHTMLFrameSetElement()
  76. {
  77. /* destructor code */
  78. }
  79. /* attribute DOMString cols; */
  80. NS_IMETHODIMP nsDOMHTMLFrameSetElement::GetCols(nsAString & aCols)
  81. {
  82. return NS_ERROR_NOT_IMPLEMENTED;
  83. }
  84. NS_IMETHODIMP nsDOMHTMLFrameSetElement::SetCols(const nsAString & aCols)
  85. {
  86. return NS_ERROR_NOT_IMPLEMENTED;
  87. }
  88. /* attribute DOMString rows; */
  89. NS_IMETHODIMP nsDOMHTMLFrameSetElement::GetRows(nsAString & aRows)
  90. {
  91. return NS_ERROR_NOT_IMPLEMENTED;
  92. }
  93. NS_IMETHODIMP nsDOMHTMLFrameSetElement::SetRows(const nsAString & aRows)
  94. {
  95. return NS_ERROR_NOT_IMPLEMENTED;
  96. }
  97. /* End of implementation class template. */
  98. #endif
  99. #endif /* __gen_nsIDOMHTMLFrameSetElement_h__ */