nsIDOMHTMLParamElement.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLParamElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLParamElement_h__
  5. #define __gen_nsIDOMHTMLParamElement_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: nsIDOMHTMLParamElement */
  14. #define NS_IDOMHTMLPARAMELEMENT_IID_STR "a6cf90ad-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLPARAMELEMENT_IID \
  16. {0xa6cf90ad, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLParamElement interface is the interface to a [X]HTML
  20. * param 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 nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAMELEMENT_IID)
  30. /* attribute DOMString name; */
  31. NS_IMETHOD GetName(nsAString & aName) = 0;
  32. NS_IMETHOD SetName(const nsAString & aName) = 0;
  33. /* attribute DOMString type; */
  34. NS_IMETHOD GetType(nsAString & aType) = 0;
  35. NS_IMETHOD SetType(const nsAString & aType) = 0;
  36. /* attribute DOMString value; */
  37. NS_IMETHOD GetValue(nsAString & aValue) = 0;
  38. NS_IMETHOD SetValue(const nsAString & aValue) = 0;
  39. /* attribute DOMString valueType; */
  40. NS_IMETHOD GetValueType(nsAString & aValueType) = 0;
  41. NS_IMETHOD SetValueType(const nsAString & aValueType) = 0;
  42. };
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIDOMHTMLPARAMELEMENT \
  45. NS_IMETHOD GetName(nsAString & aName); \
  46. NS_IMETHOD SetName(const nsAString & aName); \
  47. NS_IMETHOD GetType(nsAString & aType); \
  48. NS_IMETHOD SetType(const nsAString & aType); \
  49. NS_IMETHOD GetValue(nsAString & aValue); \
  50. NS_IMETHOD SetValue(const nsAString & aValue); \
  51. NS_IMETHOD GetValueType(nsAString & aValueType); \
  52. NS_IMETHOD SetValueType(const nsAString & aValueType);
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMHTMLPARAMELEMENT(_to) \
  55. NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  56. NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  57. NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  58. NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  59. NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  60. NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
  61. NS_IMETHOD GetValueType(nsAString & aValueType) { return _to GetValueType(aValueType); } \
  62. NS_IMETHOD SetValueType(const nsAString & aValueType) { return _to SetValueType(aValueType); }
  63. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  64. #define NS_FORWARD_SAFE_NSIDOMHTMLPARAMELEMENT(_to) \
  65. NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  66. NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  67. NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  68. NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  69. NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  70. NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  71. NS_IMETHOD GetValueType(nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueType(aValueType); } \
  72. NS_IMETHOD SetValueType(const nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueType(aValueType); }
  73. #if 0
  74. /* Use the code below as a template for the implementation class for this interface. */
  75. /* Header file */
  76. class nsDOMHTMLParamElement : public nsIDOMHTMLParamElement
  77. {
  78. public:
  79. NS_DECL_ISUPPORTS
  80. NS_DECL_NSIDOMHTMLPARAMELEMENT
  81. nsDOMHTMLParamElement();
  82. private:
  83. ~nsDOMHTMLParamElement();
  84. protected:
  85. /* additional members */
  86. };
  87. /* Implementation file */
  88. NS_IMPL_ISUPPORTS1(nsDOMHTMLParamElement, nsIDOMHTMLParamElement)
  89. nsDOMHTMLParamElement::nsDOMHTMLParamElement()
  90. {
  91. /* member initializers and constructor code */
  92. }
  93. nsDOMHTMLParamElement::~nsDOMHTMLParamElement()
  94. {
  95. /* destructor code */
  96. }
  97. /* attribute DOMString name; */
  98. NS_IMETHODIMP nsDOMHTMLParamElement::GetName(nsAString & aName)
  99. {
  100. return NS_ERROR_NOT_IMPLEMENTED;
  101. }
  102. NS_IMETHODIMP nsDOMHTMLParamElement::SetName(const nsAString & aName)
  103. {
  104. return NS_ERROR_NOT_IMPLEMENTED;
  105. }
  106. /* attribute DOMString type; */
  107. NS_IMETHODIMP nsDOMHTMLParamElement::GetType(nsAString & aType)
  108. {
  109. return NS_ERROR_NOT_IMPLEMENTED;
  110. }
  111. NS_IMETHODIMP nsDOMHTMLParamElement::SetType(const nsAString & aType)
  112. {
  113. return NS_ERROR_NOT_IMPLEMENTED;
  114. }
  115. /* attribute DOMString value; */
  116. NS_IMETHODIMP nsDOMHTMLParamElement::GetValue(nsAString & aValue)
  117. {
  118. return NS_ERROR_NOT_IMPLEMENTED;
  119. }
  120. NS_IMETHODIMP nsDOMHTMLParamElement::SetValue(const nsAString & aValue)
  121. {
  122. return NS_ERROR_NOT_IMPLEMENTED;
  123. }
  124. /* attribute DOMString valueType; */
  125. NS_IMETHODIMP nsDOMHTMLParamElement::GetValueType(nsAString & aValueType)
  126. {
  127. return NS_ERROR_NOT_IMPLEMENTED;
  128. }
  129. NS_IMETHODIMP nsDOMHTMLParamElement::SetValueType(const nsAString & aValueType)
  130. {
  131. return NS_ERROR_NOT_IMPLEMENTED;
  132. }
  133. /* End of implementation class template. */
  134. #endif
  135. #endif /* __gen_nsIDOMHTMLParamElement_h__ */