/gecko_api/include/nsIDOMElementCSSInlineStyle.h

http://firefox-mac-pdf.googlecode.com/ · C Header · 100 lines · 48 code · 26 blank · 26 comment · 0 complexity · 911e7cc2ca19d372b3dd139eaa4374c2 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/css/nsIDOMElementCSSInlineStyle.idl
  3. */
  4. #ifndef __gen_nsIDOMElementCSSInlineStyle_h__
  5. #define __gen_nsIDOMElementCSSInlineStyle_h__
  6. #ifndef __gen_domstubs_h__
  7. #include "domstubs.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: nsIDOMElementCSSInlineStyle */
  14. #define NS_IDOMELEMENTCSSINLINESTYLE_IID_STR "99715845-95fc-4a56-aa53-214b65c26e22"
  15. #define NS_IDOMELEMENTCSSINLINESTYLE_IID \
  16. {0x99715845, 0x95fc, 0x4a56, \
  17. { 0xaa, 0x53, 0x21, 0x4b, 0x65, 0xc2, 0x6e, 0x22 }}
  18. /**
  19. * The nsIDOMElementCSSInlineStyle interface allows access to the inline
  20. * style information for elements.
  21. *
  22. * For more information on this interface please see
  23. * http://www.w3.org/TR/DOM-Level-2-Style
  24. *
  25. * @status FROZEN
  26. */
  27. class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMElementCSSInlineStyle : public nsISupports {
  28. public:
  29. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMELEMENTCSSINLINESTYLE_IID)
  30. /* readonly attribute nsIDOMCSSStyleDeclaration style; */
  31. NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0;
  32. };
  33. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMElementCSSInlineStyle, NS_IDOMELEMENTCSSINLINESTYLE_IID)
  34. /* Use this macro when declaring classes that implement this interface. */
  35. #define NS_DECL_NSIDOMELEMENTCSSINLINESTYLE \
  36. NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle);
  37. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  38. #define NS_FORWARD_NSIDOMELEMENTCSSINLINESTYLE(_to) \
  39. NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return _to GetStyle(aStyle); }
  40. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  41. #define NS_FORWARD_SAFE_NSIDOMELEMENTCSSINLINESTYLE(_to) \
  42. NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); }
  43. #if 0
  44. /* Use the code below as a template for the implementation class for this interface. */
  45. /* Header file */
  46. class nsDOMElementCSSInlineStyle : public nsIDOMElementCSSInlineStyle
  47. {
  48. public:
  49. NS_DECL_ISUPPORTS
  50. NS_DECL_NSIDOMELEMENTCSSINLINESTYLE
  51. nsDOMElementCSSInlineStyle();
  52. private:
  53. ~nsDOMElementCSSInlineStyle();
  54. protected:
  55. /* additional members */
  56. };
  57. /* Implementation file */
  58. NS_IMPL_ISUPPORTS1(nsDOMElementCSSInlineStyle, nsIDOMElementCSSInlineStyle)
  59. nsDOMElementCSSInlineStyle::nsDOMElementCSSInlineStyle()
  60. {
  61. /* member initializers and constructor code */
  62. }
  63. nsDOMElementCSSInlineStyle::~nsDOMElementCSSInlineStyle()
  64. {
  65. /* destructor code */
  66. }
  67. /* readonly attribute nsIDOMCSSStyleDeclaration style; */
  68. NS_IMETHODIMP nsDOMElementCSSInlineStyle::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle)
  69. {
  70. return NS_ERROR_NOT_IMPLEMENTED;
  71. }
  72. /* End of implementation class template. */
  73. #endif
  74. #endif /* __gen_nsIDOMElementCSSInlineStyle_h__ */