PageRenderTime 32ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/gecko_api/include/nsIDOM3DocumentEvent.h

http://firefox-mac-pdf.googlecode.com/
C Header | 98 lines | 48 code | 26 blank | 24 comment | 0 complexity | 1e29aaf139c6eb26ebf0b37d953cde0a 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/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 NS_SCRIPTABLE nsIDOM3DocumentEvent : public nsISupports {
  26. public:
  27. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOM3DOCUMENTEVENT_IID)
  28. /* nsIDOMEventGroup createEventGroup (); */
  29. NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) = 0;
  30. };
  31. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOM3DocumentEvent, NS_IDOM3DOCUMENTEVENT_IID)
  32. /* Use this macro when declaring classes that implement this interface. */
  33. #define NS_DECL_NSIDOM3DOCUMENTEVENT \
  34. NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval);
  35. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  36. #define NS_FORWARD_NSIDOM3DOCUMENTEVENT(_to) \
  37. NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return _to CreateEventGroup(_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_NSIDOM3DOCUMENTEVENT(_to) \
  40. NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateEventGroup(_retval); }
  41. #if 0
  42. /* Use the code below as a template for the implementation class for this interface. */
  43. /* Header file */
  44. class nsDOM3DocumentEvent : public nsIDOM3DocumentEvent
  45. {
  46. public:
  47. NS_DECL_ISUPPORTS
  48. NS_DECL_NSIDOM3DOCUMENTEVENT
  49. nsDOM3DocumentEvent();
  50. private:
  51. ~nsDOM3DocumentEvent();
  52. protected:
  53. /* additional members */
  54. };
  55. /* Implementation file */
  56. NS_IMPL_ISUPPORTS1(nsDOM3DocumentEvent, nsIDOM3DocumentEvent)
  57. nsDOM3DocumentEvent::nsDOM3DocumentEvent()
  58. {
  59. /* member initializers and constructor code */
  60. }
  61. nsDOM3DocumentEvent::~nsDOM3DocumentEvent()
  62. {
  63. /* destructor code */
  64. }
  65. /* nsIDOMEventGroup createEventGroup (); */
  66. NS_IMETHODIMP nsDOM3DocumentEvent::CreateEventGroup(nsIDOMEventGroup **_retval)
  67. {
  68. return NS_ERROR_NOT_IMPLEMENTED;
  69. }
  70. /* End of implementation class template. */
  71. #endif
  72. #endif /* __gen_nsIDOM3DocumentEvent_h__ */