PageRenderTime 27ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/mozilla/mozilla/dist/include/dom/nsIDOMHTMLEmbedElement.h

http://kmbrasil.codeplex.com
C++ Header | 206 lines | 135 code | 35 blank | 36 comment | 0 complexity | fec2be82a9d2e687cce12fc8ca3171c6 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/nsIDOMHTMLEmbedElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLEmbedElement_h__
  5. #define __gen_nsIDOMHTMLEmbedElement_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: nsIDOMHTMLEmbedElement */
  14. #define NS_IDOMHTMLEMBEDELEMENT_IID_STR "123f90ab-15b3-11d2-456e-00805f8add32"
  15. #define NS_IDOMHTMLEMBEDELEMENT_IID \
  16. {0x123f90ab, 0x15b3, 0x11d2, \
  17. { 0x45, 0x6e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLEmbedElement interface is the interface to a [X]HTML
  20. * embed element.
  21. *
  22. * Note that this is not a W3C standard interface, it is Mozilla
  23. * proprietary.
  24. *
  25. * @status FROZEN
  26. */
  27. class NS_NO_VTABLE nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_IID)
  30. /* attribute DOMString align; */
  31. NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. /* attribute DOMString height; */
  34. NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
  35. NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
  36. /* attribute DOMString name; */
  37. NS_IMETHOD GetName(nsAString & aName) = 0;
  38. NS_IMETHOD SetName(const nsAString & aName) = 0;
  39. /* attribute DOMString src; */
  40. NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  41. NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  42. /* attribute DOMString type; */
  43. NS_IMETHOD GetType(nsAString & aType) = 0;
  44. NS_IMETHOD SetType(const nsAString & aType) = 0;
  45. /* attribute DOMString width; */
  46. NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  47. NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  48. };
  49. /* Use this macro when declaring classes that implement this interface. */
  50. #define NS_DECL_NSIDOMHTMLEMBEDELEMENT \
  51. NS_IMETHOD GetAlign(nsAString & aAlign); \
  52. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  53. NS_IMETHOD GetHeight(nsAString & aHeight); \
  54. NS_IMETHOD SetHeight(const nsAString & aHeight); \
  55. NS_IMETHOD GetName(nsAString & aName); \
  56. NS_IMETHOD SetName(const nsAString & aName); \
  57. NS_IMETHOD GetSrc(nsAString & aSrc); \
  58. NS_IMETHOD SetSrc(const nsAString & aSrc); \
  59. NS_IMETHOD GetType(nsAString & aType); \
  60. NS_IMETHOD SetType(const nsAString & aType); \
  61. NS_IMETHOD GetWidth(nsAString & aWidth); \
  62. NS_IMETHOD SetWidth(const nsAString & aWidth);
  63. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  64. #define NS_FORWARD_NSIDOMHTMLEMBEDELEMENT(_to) \
  65. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  66. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  67. NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
  68. NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
  69. NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  70. NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  71. NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  72. NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
  73. NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  74. NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  75. NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  76. NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
  77. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  78. #define NS_FORWARD_SAFE_NSIDOMHTMLEMBEDELEMENT(_to) \
  79. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  80. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  81. NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  82. NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
  83. NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  84. NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  85. NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  86. NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
  87. NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  88. NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  89. NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  90. NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
  91. #if 0
  92. /* Use the code below as a template for the implementation class for this interface. */
  93. /* Header file */
  94. class nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement
  95. {
  96. public:
  97. NS_DECL_ISUPPORTS
  98. NS_DECL_NSIDOMHTMLEMBEDELEMENT
  99. nsDOMHTMLEmbedElement();
  100. private:
  101. ~nsDOMHTMLEmbedElement();
  102. protected:
  103. /* additional members */
  104. };
  105. /* Implementation file */
  106. NS_IMPL_ISUPPORTS1(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)
  107. nsDOMHTMLEmbedElement::nsDOMHTMLEmbedElement()
  108. {
  109. /* member initializers and constructor code */
  110. }
  111. nsDOMHTMLEmbedElement::~nsDOMHTMLEmbedElement()
  112. {
  113. /* destructor code */
  114. }
  115. /* attribute DOMString align; */
  116. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetAlign(nsAString & aAlign)
  117. {
  118. return NS_ERROR_NOT_IMPLEMENTED;
  119. }
  120. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetAlign(const nsAString & aAlign)
  121. {
  122. return NS_ERROR_NOT_IMPLEMENTED;
  123. }
  124. /* attribute DOMString height; */
  125. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAString & aHeight)
  126. {
  127. return NS_ERROR_NOT_IMPLEMENTED;
  128. }
  129. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAString & aHeight)
  130. {
  131. return NS_ERROR_NOT_IMPLEMENTED;
  132. }
  133. /* attribute DOMString name; */
  134. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetName(nsAString & aName)
  135. {
  136. return NS_ERROR_NOT_IMPLEMENTED;
  137. }
  138. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetName(const nsAString & aName)
  139. {
  140. return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142. /* attribute DOMString src; */
  143. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetSrc(nsAString & aSrc)
  144. {
  145. return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetSrc(const nsAString & aSrc)
  148. {
  149. return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151. /* attribute DOMString type; */
  152. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetType(nsAString & aType)
  153. {
  154. return NS_ERROR_NOT_IMPLEMENTED;
  155. }
  156. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetType(const nsAString & aType)
  157. {
  158. return NS_ERROR_NOT_IMPLEMENTED;
  159. }
  160. /* attribute DOMString width; */
  161. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetWidth(nsAString & aWidth)
  162. {
  163. return NS_ERROR_NOT_IMPLEMENTED;
  164. }
  165. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetWidth(const nsAString & aWidth)
  166. {
  167. return NS_ERROR_NOT_IMPLEMENTED;
  168. }
  169. /* End of implementation class template. */
  170. #endif
  171. #endif /* __gen_nsIDOMHTMLEmbedElement_h__ */