PageRenderTime 18ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/gecko_api/include/nsIDOMEventGroup.h

http://firefox-mac-pdf.googlecode.com/
C Header | 98 lines | 48 code | 26 blank | 24 comment | 0 complexity | efc08642b682afbec03cf7a75d2d8f8f 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/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 NS_SCRIPTABLE nsIDOMEventGroup : public nsISupports {
  19. public:
  20. NS_DECLARE_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_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) = 0;
  30. };
  31. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMEventGroup, NS_IDOMEVENTGROUP_IID)
  32. /* Use this macro when declaring classes that implement this interface. */
  33. #define NS_DECL_NSIDOMEVENTGROUP \
  34. NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval);
  35. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  36. #define NS_FORWARD_NSIDOMEVENTGROUP(_to) \
  37. NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return _to IsSameEventGroup(other, _retval); }
  38. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  39. #define NS_FORWARD_SAFE_NSIDOMEVENTGROUP(_to) \
  40. NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSameEventGroup(other, _retval); }
  41. #if 0
  42. /* Use the code below as a template for the implementation class for this interface. */
  43. /* Header file */
  44. class nsDOMEventGroup : public nsIDOMEventGroup
  45. {
  46. public:
  47. NS_DECL_ISUPPORTS
  48. NS_DECL_NSIDOMEVENTGROUP
  49. nsDOMEventGroup();
  50. private:
  51. ~nsDOMEventGroup();
  52. protected:
  53. /* additional members */
  54. };
  55. /* Implementation file */
  56. NS_IMPL_ISUPPORTS1(nsDOMEventGroup, nsIDOMEventGroup)
  57. nsDOMEventGroup::nsDOMEventGroup()
  58. {
  59. /* member initializers and constructor code */
  60. }
  61. nsDOMEventGroup::~nsDOMEventGroup()
  62. {
  63. /* destructor code */
  64. }
  65. /* boolean isSameEventGroup (in nsIDOMEventGroup other); */
  66. NS_IMETHODIMP nsDOMEventGroup::IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval)
  67. {
  68. return NS_ERROR_NOT_IMPLEMENTED;
  69. }
  70. /* End of implementation class template. */
  71. #endif
  72. #endif /* __gen_nsIDOMEventGroup_h__ */