nsIDOMEventGroup.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/events/nsIDOMEventGroup.idl
  3. */
  4. #ifndef __gen_nsIDOMEventGroup_h__
  5. #define __gen_nsIDOMEventGroup_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: nsIDOMEventGroup */
  14. #define NS_IDOMEVENTGROUP_IID_STR "33347bee-6620-4841-8152-36091ae80c7e"
  15. #define NS_IDOMEVENTGROUP_IID \
  16. {0x33347bee, 0x6620, 0x4841, \
  17. { 0x81, 0x52, 0x36, 0x09, 0x1a, 0xe8, 0x0c, 0x7e }}
  18. class NS_NO_VTABLE nsIDOMEventGroup : public nsISupports {
  19. public:
  20. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMEVENTGROUP_IID)
  21. /**
  22. * The nsIDOMEventTarget interface is the interface implemented by all
  23. * event targets in the Document Object Model.
  24. *
  25. * For more information on this interface please see
  26. * http://www.w3.org/TR/DOM-Level-3-Events/
  27. */
  28. /* boolean isSameEventGroup (in nsIDOMEventGroup other); */
  29. NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) = 0;
  30. };
  31. /* Use this macro when declaring classes that implement this interface. */
  32. #define NS_DECL_NSIDOMEVENTGROUP \
  33. NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval);
  34. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  35. #define NS_FORWARD_NSIDOMEVENTGROUP(_to) \
  36. NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return _to IsSameEventGroup(other, _retval); }
  37. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  38. #define NS_FORWARD_SAFE_NSIDOMEVENTGROUP(_to) \
  39. NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSameEventGroup(other, _retval); }
  40. #if 0
  41. /* Use the code below as a template for the implementation class for this interface. */
  42. /* Header file */
  43. class nsDOMEventGroup : public nsIDOMEventGroup
  44. {
  45. public:
  46. NS_DECL_ISUPPORTS
  47. NS_DECL_NSIDOMEVENTGROUP
  48. nsDOMEventGroup();
  49. private:
  50. ~nsDOMEventGroup();
  51. protected:
  52. /* additional members */
  53. };
  54. /* Implementation file */
  55. NS_IMPL_ISUPPORTS1(nsDOMEventGroup, nsIDOMEventGroup)
  56. nsDOMEventGroup::nsDOMEventGroup()
  57. {
  58. /* member initializers and constructor code */
  59. }
  60. nsDOMEventGroup::~nsDOMEventGroup()
  61. {
  62. /* destructor code */
  63. }
  64. /* boolean isSameEventGroup (in nsIDOMEventGroup other); */
  65. NS_IMETHODIMP nsDOMEventGroup::IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval)
  66. {
  67. return NS_ERROR_NOT_IMPLEMENTED;
  68. }
  69. /* End of implementation class template. */
  70. #endif
  71. #endif /* __gen_nsIDOMEventGroup_h__ */