PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLParamElement.h

http://firefox-mac-pdf.googlecode.com/
C Header | 168 lines | 104 code | 32 blank | 32 comment | 0 complexity | 86c307ad6e7d92a871f384f1cc7dc64e MD5 | raw file
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/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 NS_SCRIPTABLE nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAMELEMENT_IID)
  30. /* attribute DOMString name; */
  31. NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
  32. NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
  33. /* attribute DOMString type; */
  34. NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
  35. NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
  36. /* attribute DOMString value; */
  37. NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
  38. NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
  39. /* attribute DOMString valueType; */
  40. NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) = 0;
  41. NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) = 0;
  42. };
  43. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLParamElement, NS_IDOMHTMLPARAMELEMENT_IID)
  44. /* Use this macro when declaring classes that implement this interface. */
  45. #define NS_DECL_NSIDOMHTMLPARAMELEMENT \
  46. NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
  47. NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
  48. NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
  49. NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
  50. NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
  51. NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
  52. NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType); \
  53. NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType);
  54. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  55. #define NS_FORWARD_NSIDOMHTMLPARAMELEMENT(_to) \
  56. NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  57. NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  58. NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  59. NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  60. NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  61. NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
  62. NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return _to GetValueType(aValueType); } \
  63. NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return _to SetValueType(aValueType); }
  64. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  65. #define NS_FORWARD_SAFE_NSIDOMHTMLPARAMELEMENT(_to) \
  66. NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  67. NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  68. NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  69. NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  70. NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  71. NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  72. NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueType(aValueType); } \
  73. NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueType(aValueType); }
  74. #if 0
  75. /* Use the code below as a template for the implementation class for this interface. */
  76. /* Header file */
  77. class nsDOMHTMLParamElement : public nsIDOMHTMLParamElement
  78. {
  79. public:
  80. NS_DECL_ISUPPORTS
  81. NS_DECL_NSIDOMHTMLPARAMELEMENT
  82. nsDOMHTMLParamElement();
  83. private:
  84. ~nsDOMHTMLParamElement();
  85. protected:
  86. /* additional members */
  87. };
  88. /* Implementation file */
  89. NS_IMPL_ISUPPORTS1(nsDOMHTMLParamElement, nsIDOMHTMLParamElement)
  90. nsDOMHTMLParamElement::nsDOMHTMLParamElement()
  91. {
  92. /* member initializers and constructor code */
  93. }
  94. nsDOMHTMLParamElement::~nsDOMHTMLParamElement()
  95. {
  96. /* destructor code */
  97. }
  98. /* attribute DOMString name; */
  99. NS_IMETHODIMP nsDOMHTMLParamElement::GetName(nsAString & aName)
  100. {
  101. return NS_ERROR_NOT_IMPLEMENTED;
  102. }
  103. NS_IMETHODIMP nsDOMHTMLParamElement::SetName(const nsAString & aName)
  104. {
  105. return NS_ERROR_NOT_IMPLEMENTED;
  106. }
  107. /* attribute DOMString type; */
  108. NS_IMETHODIMP nsDOMHTMLParamElement::GetType(nsAString & aType)
  109. {
  110. return NS_ERROR_NOT_IMPLEMENTED;
  111. }
  112. NS_IMETHODIMP nsDOMHTMLParamElement::SetType(const nsAString & aType)
  113. {
  114. return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116. /* attribute DOMString value; */
  117. NS_IMETHODIMP nsDOMHTMLParamElement::GetValue(nsAString & aValue)
  118. {
  119. return NS_ERROR_NOT_IMPLEMENTED;
  120. }
  121. NS_IMETHODIMP nsDOMHTMLParamElement::SetValue(const nsAString & aValue)
  122. {
  123. return NS_ERROR_NOT_IMPLEMENTED;
  124. }
  125. /* attribute DOMString valueType; */
  126. NS_IMETHODIMP nsDOMHTMLParamElement::GetValueType(nsAString & aValueType)
  127. {
  128. return NS_ERROR_NOT_IMPLEMENTED;
  129. }
  130. NS_IMETHODIMP nsDOMHTMLParamElement::SetValueType(const nsAString & aValueType)
  131. {
  132. return NS_ERROR_NOT_IMPLEMENTED;
  133. }
  134. /* End of implementation class template. */
  135. #endif
  136. #endif /* __gen_nsIDOMHTMLParamElement_h__ */