PageRenderTime 221ms CodeModel.GetById 20ms RepoModel.GetById 3ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLAppletElement.h

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