nsIDOMHTMLMetaElement.h 5.7 KB

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