nsIDOMHTMLAppletElement.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLAppletElement_h__
  5. #define __gen_nsIDOMHTMLAppletElement_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: nsIDOMHTMLAppletElement */
  14. #define NS_IDOMHTMLAPPLETELEMENT_IID_STR "a6cf90ae-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLAPPLETELEMENT_IID \
  16. {0xa6cf90ae, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLAppletElement interface is the interface to a [X]HTML
  20. * applet 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 nsIDOMHTMLAppletElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAPPLETELEMENT_IID)
  30. /* attribute DOMString align; */
  31. NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. /* attribute DOMString alt; */
  34. NS_IMETHOD GetAlt(nsAString & aAlt) = 0;
  35. NS_IMETHOD SetAlt(const nsAString & aAlt) = 0;
  36. /* attribute DOMString archive; */
  37. NS_IMETHOD GetArchive(nsAString & aArchive) = 0;
  38. NS_IMETHOD SetArchive(const nsAString & aArchive) = 0;
  39. /* attribute DOMString code; */
  40. NS_IMETHOD GetCode(nsAString & aCode) = 0;
  41. NS_IMETHOD SetCode(const nsAString & aCode) = 0;
  42. /* attribute DOMString codeBase; */
  43. NS_IMETHOD GetCodeBase(nsAString & aCodeBase) = 0;
  44. NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) = 0;
  45. /* attribute DOMString height; */
  46. NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
  47. NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
  48. /* attribute long hspace; */
  49. NS_IMETHOD GetHspace(PRInt32 *aHspace) = 0;
  50. NS_IMETHOD SetHspace(PRInt32 aHspace) = 0;
  51. /* attribute DOMString name; */
  52. NS_IMETHOD GetName(nsAString & aName) = 0;
  53. NS_IMETHOD SetName(const nsAString & aName) = 0;
  54. /* attribute DOMString object; */
  55. NS_IMETHOD GetObject(nsAString & aObject) = 0;
  56. NS_IMETHOD SetObject(const nsAString & aObject) = 0;
  57. /* attribute long vspace; */
  58. NS_IMETHOD GetVspace(PRInt32 *aVspace) = 0;
  59. NS_IMETHOD SetVspace(PRInt32 aVspace) = 0;
  60. /* attribute DOMString width; */
  61. NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  62. NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  63. };
  64. /* Use this macro when declaring classes that implement this interface. */
  65. #define NS_DECL_NSIDOMHTMLAPPLETELEMENT \
  66. NS_IMETHOD GetAlign(nsAString & aAlign); \
  67. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  68. NS_IMETHOD GetAlt(nsAString & aAlt); \
  69. NS_IMETHOD SetAlt(const nsAString & aAlt); \
  70. NS_IMETHOD GetArchive(nsAString & aArchive); \
  71. NS_IMETHOD SetArchive(const nsAString & aArchive); \
  72. NS_IMETHOD GetCode(nsAString & aCode); \
  73. NS_IMETHOD SetCode(const nsAString & aCode); \
  74. NS_IMETHOD GetCodeBase(nsAString & aCodeBase); \
  75. NS_IMETHOD SetCodeBase(const nsAString & aCodeBase); \
  76. NS_IMETHOD GetHeight(nsAString & aHeight); \
  77. NS_IMETHOD SetHeight(const nsAString & aHeight); \
  78. NS_IMETHOD GetHspace(PRInt32 *aHspace); \
  79. NS_IMETHOD SetHspace(PRInt32 aHspace); \
  80. NS_IMETHOD GetName(nsAString & aName); \
  81. NS_IMETHOD SetName(const nsAString & aName); \
  82. NS_IMETHOD GetObject(nsAString & aObject); \
  83. NS_IMETHOD SetObject(const nsAString & aObject); \
  84. NS_IMETHOD GetVspace(PRInt32 *aVspace); \
  85. NS_IMETHOD SetVspace(PRInt32 aVspace); \
  86. NS_IMETHOD GetWidth(nsAString & aWidth); \
  87. NS_IMETHOD SetWidth(const nsAString & aWidth);
  88. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  89. #define NS_FORWARD_NSIDOMHTMLAPPLETELEMENT(_to) \
  90. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  91. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  92. NS_IMETHOD GetAlt(nsAString & aAlt) { return _to GetAlt(aAlt); } \
  93. NS_IMETHOD SetAlt(const nsAString & aAlt) { return _to SetAlt(aAlt); } \
  94. NS_IMETHOD GetArchive(nsAString & aArchive) { return _to GetArchive(aArchive); } \
  95. NS_IMETHOD SetArchive(const nsAString & aArchive) { return _to SetArchive(aArchive); } \
  96. NS_IMETHOD GetCode(nsAString & aCode) { return _to GetCode(aCode); } \
  97. NS_IMETHOD SetCode(const nsAString & aCode) { return _to SetCode(aCode); } \
  98. NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return _to GetCodeBase(aCodeBase); } \
  99. NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return _to SetCodeBase(aCodeBase); } \
  100. NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
  101. NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
  102. NS_IMETHOD GetHspace(PRInt32 *aHspace) { return _to GetHspace(aHspace); } \
  103. NS_IMETHOD SetHspace(PRInt32 aHspace) { return _to SetHspace(aHspace); } \
  104. NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  105. NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  106. NS_IMETHOD GetObject(nsAString & aObject) { return _to GetObject(aObject); } \
  107. NS_IMETHOD SetObject(const nsAString & aObject) { return _to SetObject(aObject); } \
  108. NS_IMETHOD GetVspace(PRInt32 *aVspace) { return _to GetVspace(aVspace); } \
  109. NS_IMETHOD SetVspace(PRInt32 aVspace) { return _to SetVspace(aVspace); } \
  110. NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  111. NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
  112. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  113. #define NS_FORWARD_SAFE_NSIDOMHTMLAPPLETELEMENT(_to) \
  114. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  115. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  116. NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlt(aAlt); } \
  117. NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \
  118. NS_IMETHOD GetArchive(nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchive(aArchive); } \
  119. NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchive(aArchive); } \
  120. NS_IMETHOD GetCode(nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCode(aCode); } \
  121. NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCode(aCode); } \
  122. NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCodeBase(aCodeBase); } \
  123. NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCodeBase(aCodeBase); } \
  124. NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  125. NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
  126. NS_IMETHOD GetHspace(PRInt32 *aHspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHspace(aHspace); } \
  127. NS_IMETHOD SetHspace(PRInt32 aHspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHspace(aHspace); } \
  128. NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  129. NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  130. NS_IMETHOD GetObject(nsAString & aObject) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetObject(aObject); } \
  131. NS_IMETHOD SetObject(const nsAString & aObject) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetObject(aObject); } \
  132. NS_IMETHOD GetVspace(PRInt32 *aVspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVspace(aVspace); } \
  133. NS_IMETHOD SetVspace(PRInt32 aVspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVspace(aVspace); } \
  134. NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  135. NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
  136. #if 0
  137. /* Use the code below as a template for the implementation class for this interface. */
  138. /* Header file */
  139. class nsDOMHTMLAppletElement : public nsIDOMHTMLAppletElement
  140. {
  141. public:
  142. NS_DECL_ISUPPORTS
  143. NS_DECL_NSIDOMHTMLAPPLETELEMENT
  144. nsDOMHTMLAppletElement();
  145. private:
  146. ~nsDOMHTMLAppletElement();
  147. protected:
  148. /* additional members */
  149. };
  150. /* Implementation file */
  151. NS_IMPL_ISUPPORTS1(nsDOMHTMLAppletElement, nsIDOMHTMLAppletElement)
  152. nsDOMHTMLAppletElement::nsDOMHTMLAppletElement()
  153. {
  154. /* member initializers and constructor code */
  155. }
  156. nsDOMHTMLAppletElement::~nsDOMHTMLAppletElement()
  157. {
  158. /* destructor code */
  159. }
  160. /* attribute DOMString align; */
  161. NS_IMETHODIMP nsDOMHTMLAppletElement::GetAlign(nsAString & aAlign)
  162. {
  163. return NS_ERROR_NOT_IMPLEMENTED;
  164. }
  165. NS_IMETHODIMP nsDOMHTMLAppletElement::SetAlign(const nsAString & aAlign)
  166. {
  167. return NS_ERROR_NOT_IMPLEMENTED;
  168. }
  169. /* attribute DOMString alt; */
  170. NS_IMETHODIMP nsDOMHTMLAppletElement::GetAlt(nsAString & aAlt)
  171. {
  172. return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174. NS_IMETHODIMP nsDOMHTMLAppletElement::SetAlt(const nsAString & aAlt)
  175. {
  176. return NS_ERROR_NOT_IMPLEMENTED;
  177. }
  178. /* attribute DOMString archive; */
  179. NS_IMETHODIMP nsDOMHTMLAppletElement::GetArchive(nsAString & aArchive)
  180. {
  181. return NS_ERROR_NOT_IMPLEMENTED;
  182. }
  183. NS_IMETHODIMP nsDOMHTMLAppletElement::SetArchive(const nsAString & aArchive)
  184. {
  185. return NS_ERROR_NOT_IMPLEMENTED;
  186. }
  187. /* attribute DOMString code; */
  188. NS_IMETHODIMP nsDOMHTMLAppletElement::GetCode(nsAString & aCode)
  189. {
  190. return NS_ERROR_NOT_IMPLEMENTED;
  191. }
  192. NS_IMETHODIMP nsDOMHTMLAppletElement::SetCode(const nsAString & aCode)
  193. {
  194. return NS_ERROR_NOT_IMPLEMENTED;
  195. }
  196. /* attribute DOMString codeBase; */
  197. NS_IMETHODIMP nsDOMHTMLAppletElement::GetCodeBase(nsAString & aCodeBase)
  198. {
  199. return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201. NS_IMETHODIMP nsDOMHTMLAppletElement::SetCodeBase(const nsAString & aCodeBase)
  202. {
  203. return NS_ERROR_NOT_IMPLEMENTED;
  204. }
  205. /* attribute DOMString height; */
  206. NS_IMETHODIMP nsDOMHTMLAppletElement::GetHeight(nsAString & aHeight)
  207. {
  208. return NS_ERROR_NOT_IMPLEMENTED;
  209. }
  210. NS_IMETHODIMP nsDOMHTMLAppletElement::SetHeight(const nsAString & aHeight)
  211. {
  212. return NS_ERROR_NOT_IMPLEMENTED;
  213. }
  214. /* attribute long hspace; */
  215. NS_IMETHODIMP nsDOMHTMLAppletElement::GetHspace(PRInt32 *aHspace)
  216. {
  217. return NS_ERROR_NOT_IMPLEMENTED;
  218. }
  219. NS_IMETHODIMP nsDOMHTMLAppletElement::SetHspace(PRInt32 aHspace)
  220. {
  221. return NS_ERROR_NOT_IMPLEMENTED;
  222. }
  223. /* attribute DOMString name; */
  224. NS_IMETHODIMP nsDOMHTMLAppletElement::GetName(nsAString & aName)
  225. {
  226. return NS_ERROR_NOT_IMPLEMENTED;
  227. }
  228. NS_IMETHODIMP nsDOMHTMLAppletElement::SetName(const nsAString & aName)
  229. {
  230. return NS_ERROR_NOT_IMPLEMENTED;
  231. }
  232. /* attribute DOMString object; */
  233. NS_IMETHODIMP nsDOMHTMLAppletElement::GetObject(nsAString & aObject)
  234. {
  235. return NS_ERROR_NOT_IMPLEMENTED;
  236. }
  237. NS_IMETHODIMP nsDOMHTMLAppletElement::SetObject(const nsAString & aObject)
  238. {
  239. return NS_ERROR_NOT_IMPLEMENTED;
  240. }
  241. /* attribute long vspace; */
  242. NS_IMETHODIMP nsDOMHTMLAppletElement::GetVspace(PRInt32 *aVspace)
  243. {
  244. return NS_ERROR_NOT_IMPLEMENTED;
  245. }
  246. NS_IMETHODIMP nsDOMHTMLAppletElement::SetVspace(PRInt32 aVspace)
  247. {
  248. return NS_ERROR_NOT_IMPLEMENTED;
  249. }
  250. /* attribute DOMString width; */
  251. NS_IMETHODIMP nsDOMHTMLAppletElement::GetWidth(nsAString & aWidth)
  252. {
  253. return NS_ERROR_NOT_IMPLEMENTED;
  254. }
  255. NS_IMETHODIMP nsDOMHTMLAppletElement::SetWidth(const nsAString & aWidth)
  256. {
  257. return NS_ERROR_NOT_IMPLEMENTED;
  258. }
  259. /* End of implementation class template. */
  260. #endif
  261. #endif /* __gen_nsIDOMHTMLAppletElement_h__ */