OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/events/nsIDOM3DocumentEvent.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOM3DocumentEvent_h__ |
| 6 #define __gen_nsIDOM3DocumentEvent_h__ |
| 7 |
| 8 |
| 9 #ifndef __gen_domstubs_h__ |
| 10 #include "domstubs.h" |
| 11 #endif |
| 12 |
| 13 /* For IDL files that don't want to include root IDL files. */ |
| 14 #ifndef NS_NO_VTABLE |
| 15 #define NS_NO_VTABLE |
| 16 #endif |
| 17 |
| 18 /* starting interface: nsIDOM3DocumentEvent */ |
| 19 #define NS_IDOM3DOCUMENTEVENT_IID_STR "090ecc19-b7cb-4f47-ae47-ed68d4926249" |
| 20 |
| 21 #define NS_IDOM3DOCUMENTEVENT_IID \ |
| 22 {0x090ecc19, 0xb7cb, 0x4f47, \ |
| 23 { 0xae, 0x47, 0xed, 0x68, 0xd4, 0x92, 0x62, 0x49 }} |
| 24 |
| 25 /** |
| 26 * The nsIDOMDocumentEvent interface is the interface to the event |
| 27 * factory method on a DOM document object. |
| 28 * |
| 29 * For more information on this interface please see |
| 30 * http://www.w3.org/TR/DOM-Level-3-Events/ |
| 31 */ |
| 32 class NS_NO_VTABLE nsIDOM3DocumentEvent : public nsISupports { |
| 33 public: |
| 34 |
| 35 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOM3DOCUMENTEVENT_IID) |
| 36 |
| 37 /* nsIDOMEventGroup createEventGroup (); */ |
| 38 NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) = 0; |
| 39 |
| 40 }; |
| 41 |
| 42 /* Use this macro when declaring classes that implement this interface. */ |
| 43 #define NS_DECL_NSIDOM3DOCUMENTEVENT \ |
| 44 NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval); |
| 45 |
| 46 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 47 #define NS_FORWARD_NSIDOM3DOCUMENTEVENT(_to) \ |
| 48 NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return _to CreateEve
ntGroup(_retval); } |
| 49 |
| 50 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 51 #define NS_FORWARD_SAFE_NSIDOM3DOCUMENTEVENT(_to) \ |
| 52 NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return !_to ? NS_ERR
OR_NULL_POINTER : _to->CreateEventGroup(_retval); } |
| 53 |
| 54 #if 0 |
| 55 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 56 |
| 57 /* Header file */ |
| 58 class nsDOM3DocumentEvent : public nsIDOM3DocumentEvent |
| 59 { |
| 60 public: |
| 61 NS_DECL_ISUPPORTS |
| 62 NS_DECL_NSIDOM3DOCUMENTEVENT |
| 63 |
| 64 nsDOM3DocumentEvent(); |
| 65 |
| 66 private: |
| 67 ~nsDOM3DocumentEvent(); |
| 68 |
| 69 protected: |
| 70 /* additional members */ |
| 71 }; |
| 72 |
| 73 /* Implementation file */ |
| 74 NS_IMPL_ISUPPORTS1(nsDOM3DocumentEvent, nsIDOM3DocumentEvent) |
| 75 |
| 76 nsDOM3DocumentEvent::nsDOM3DocumentEvent() |
| 77 { |
| 78 /* member initializers and constructor code */ |
| 79 } |
| 80 |
| 81 nsDOM3DocumentEvent::~nsDOM3DocumentEvent() |
| 82 { |
| 83 /* destructor code */ |
| 84 } |
| 85 |
| 86 /* nsIDOMEventGroup createEventGroup (); */ |
| 87 NS_IMETHODIMP nsDOM3DocumentEvent::CreateEventGroup(nsIDOMEventGroup **_retval) |
| 88 { |
| 89 return NS_ERROR_NOT_IMPLEMENTED; |
| 90 } |
| 91 |
| 92 /* End of implementation class template. */ |
| 93 #endif |
| 94 |
| 95 |
| 96 #endif /* __gen_nsIDOM3DocumentEvent_h__ */ |
OLD | NEW |