PageRenderTime 122ms CodeModel.GetById 70ms app.highlight 3ms RepoModel.GetById 48ms 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
 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 */
32class NS_NO_VTABLE NS_SCRIPTABLE nsIDOM3DocumentEvent : public nsISupports {
33 public: 
34
35  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOM3DOCUMENTEVENT_IID)
36
37  /* nsIDOMEventGroup createEventGroup (); */
38  NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) = 0;
39
40};
41
42  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOM3DocumentEvent, NS_IDOM3DOCUMENTEVENT_IID)
43
44/* Use this macro when declaring classes that implement this interface. */
45#define NS_DECL_NSIDOM3DOCUMENTEVENT \
46  NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval); 
47
48/* Use this macro to declare functions that forward the behavior of this interface to another object. */
49#define NS_FORWARD_NSIDOM3DOCUMENTEVENT(_to) \
50  NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return _to CreateEventGroup(_retval); } 
51
52/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
53#define NS_FORWARD_SAFE_NSIDOM3DOCUMENTEVENT(_to) \
54  NS_SCRIPTABLE NS_IMETHOD CreateEventGroup(nsIDOMEventGroup **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateEventGroup(_retval); } 
55
56#if 0
57/* Use the code below as a template for the implementation class for this interface. */
58
59/* Header file */
60class nsDOM3DocumentEvent : public nsIDOM3DocumentEvent
61{
62public:
63  NS_DECL_ISUPPORTS
64  NS_DECL_NSIDOM3DOCUMENTEVENT
65
66  nsDOM3DocumentEvent();
67
68private:
69  ~nsDOM3DocumentEvent();
70
71protected:
72  /* additional members */
73};
74
75/* Implementation file */
76NS_IMPL_ISUPPORTS1(nsDOM3DocumentEvent, nsIDOM3DocumentEvent)
77
78nsDOM3DocumentEvent::nsDOM3DocumentEvent()
79{
80  /* member initializers and constructor code */
81}
82
83nsDOM3DocumentEvent::~nsDOM3DocumentEvent()
84{
85  /* destructor code */
86}
87
88/* nsIDOMEventGroup createEventGroup (); */
89NS_IMETHODIMP nsDOM3DocumentEvent::CreateEventGroup(nsIDOMEventGroup **_retval)
90{
91    return NS_ERROR_NOT_IMPLEMENTED;
92}
93
94/* End of implementation class template. */
95#endif
96
97
98#endif /* __gen_nsIDOM3DocumentEvent_h__ */