1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMTransitionEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMTransitionEvent_h__
6 : #define __gen_nsIDOMTransitionEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMEvent_h__
10 : #include "nsIDOMEvent.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: nsIDOMTransitionEvent */
19 : #define NS_IDOMTRANSITIONEVENT_IID_STR "9ded6ca5-f5b2-4bf3-9250-e4f7808dc605"
20 :
21 : #define NS_IDOMTRANSITIONEVENT_IID \
22 : {0x9ded6ca5, 0xf5b2, 0x4bf3, \
23 : { 0x92, 0x50, 0xe4, 0xf7, 0x80, 0x8d, 0xc6, 0x05 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMTransitionEvent : public nsIDOMEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMTRANSITIONEVENT_IID)
29 :
30 : /* readonly attribute DOMString propertyName; */
31 : NS_SCRIPTABLE NS_IMETHOD GetPropertyName(nsAString & aPropertyName) = 0;
32 :
33 : /* readonly attribute float elapsedTime; */
34 : NS_SCRIPTABLE NS_IMETHOD GetElapsedTime(float *aElapsedTime) = 0;
35 :
36 : /* void initTransitionEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString propertyNameArg, in float elapsedTimeArg); */
37 : NS_SCRIPTABLE NS_IMETHOD InitTransitionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & propertyNameArg, float elapsedTimeArg) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMTransitionEvent, NS_IDOMTRANSITIONEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIDOMTRANSITIONEVENT \
45 : NS_SCRIPTABLE NS_IMETHOD GetPropertyName(nsAString & aPropertyName); \
46 : NS_SCRIPTABLE NS_IMETHOD GetElapsedTime(float *aElapsedTime); \
47 : NS_SCRIPTABLE NS_IMETHOD InitTransitionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & propertyNameArg, float elapsedTimeArg);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMTRANSITIONEVENT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetPropertyName(nsAString & aPropertyName) { return _to GetPropertyName(aPropertyName); } \
52 : NS_SCRIPTABLE NS_IMETHOD GetElapsedTime(float *aElapsedTime) { return _to GetElapsedTime(aElapsedTime); } \
53 : NS_SCRIPTABLE NS_IMETHOD InitTransitionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & propertyNameArg, float elapsedTimeArg) { return _to InitTransitionEvent(typeArg, canBubbleArg, cancelableArg, propertyNameArg, elapsedTimeArg); }
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
56 : #define NS_FORWARD_SAFE_NSIDOMTRANSITIONEVENT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetPropertyName(nsAString & aPropertyName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyName(aPropertyName); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetElapsedTime(float *aElapsedTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElapsedTime(aElapsedTime); } \
59 : NS_SCRIPTABLE NS_IMETHOD InitTransitionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & propertyNameArg, float elapsedTimeArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitTransitionEvent(typeArg, canBubbleArg, cancelableArg, propertyNameArg, elapsedTimeArg); }
60 :
61 : #if 0
62 : /* Use the code below as a template for the implementation class for this interface. */
63 :
64 : /* Header file */
65 : class nsDOMTransitionEvent : public nsIDOMTransitionEvent
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIDOMTRANSITIONEVENT
70 :
71 : nsDOMTransitionEvent();
72 :
73 : private:
74 : ~nsDOMTransitionEvent();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsDOMTransitionEvent, nsIDOMTransitionEvent)
82 :
83 : nsDOMTransitionEvent::nsDOMTransitionEvent()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsDOMTransitionEvent::~nsDOMTransitionEvent()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* readonly attribute DOMString propertyName; */
94 : NS_IMETHODIMP nsDOMTransitionEvent::GetPropertyName(nsAString & aPropertyName)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* readonly attribute float elapsedTime; */
100 : NS_IMETHODIMP nsDOMTransitionEvent::GetElapsedTime(float *aElapsedTime)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* void initTransitionEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString propertyNameArg, in float elapsedTimeArg); */
106 : NS_IMETHODIMP nsDOMTransitionEvent::InitTransitionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & propertyNameArg, float elapsedTimeArg)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIDOMTransitionEvent_h__ */
|