nsIDOM3DocumentEvent.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/events/nsIDOM3DocumentEvent.idl
  3. */
  4. #ifndef __gen_nsIDOM3DocumentEvent_h__
  5. #define __gen_nsIDOM3DocumentEvent_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: nsIDOM3DocumentEvent */
  14. #define NS_IDOM3DOCUMENTEVENT_IID_STR "090ecc19-b7cb-4f47-ae47-ed68d4926249"
  15. #define NS_IDOM3DOCUMENTEVENT_IID \
  16. {0x090ecc19, 0xb7cb, 0x4f47, \
  17. { 0xae, 0x47, 0xed, 0x68, 0xd4, 0x92, 0x62, 0x49 }}
  18. /**
  19. * The nsIDOMDocumentEvent interface is the interface to the event
  20. * factory method on a DOM document object.
  21. *
  22. * For more information on this interface please see
  23. * http://www.w3.org/TR/DOM-Level-3-Events/
  24. */
  25. class NS_NO_VTABLE nsIDOM3DocumentEvent : public nsISupports {
  26. public:
  27. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOM3DOCUMENTEVENT_IID)
  28. /* nsIDOMEventGroup createEventGroup (); */
  29. NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) = 0;
  30. };
  31. /* Use this macro when declaring classes that implement this interface. */
  32. #define NS_DECL_NSIDOM3DOCUMENTEVENT \
  33. NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval);
  34. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  35. #define NS_FORWARD_NSIDOM3DOCUMENTEVENT(_to) \
  36. NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return _to CreateEventGroup(_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_NSIDOM3DOCUMENTEVENT(_to) \
  39. NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateEventGroup(_retval); }
  40. #if 0
  41. /* Use the code below as a template for the implementation class for this interface. */
  42. /* Header file */
  43. class nsDOM3DocumentEvent : public nsIDOM3DocumentEvent
  44. {
  45. public:
  46. NS_DECL_ISUPPORTS
  47. NS_DECL_NSIDOM3DOCUMENTEVENT
  48. nsDOM3DocumentEvent();
  49. private:
  50. ~nsDOM3DocumentEvent();
  51. protected:
  52. /* additional members */
  53. };
  54. /* Implementation file */
  55. NS_IMPL_ISUPPORTS1(nsDOM3DocumentEvent, nsIDOM3DocumentEvent)
  56. nsDOM3DocumentEvent::nsDOM3DocumentEvent()
  57. {
  58. /* member initializers and constructor code */
  59. }
  60. nsDOM3DocumentEvent::~nsDOM3DocumentEvent()
  61. {
  62. /* destructor code */
  63. }
  64. /* nsIDOMEventGroup createEventGroup (); */
  65. NS_IMETHODIMP nsDOM3DocumentEvent::CreateEventGroup(nsIDOMEventGroup **_retval)
  66. {
  67. return NS_ERROR_NOT_IMPLEMENTED;
  68. }
  69. /* End of implementation class template. */
  70. #endif
  71. #endif /* __gen_nsIDOM3DocumentEvent_h__ */