Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMTransitionEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMTransitionEvent_h__
6 : #define __gen_nsIDOMTransitionEvent_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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 "ee3499bf-0f14-4bb6-829c-19ad24fd4a85"
20 :
21 : #define NS_IDOMTRANSITIONEVENT_IID \
22 : {0xee3499bf, 0x0f14, 0x4bb6, \
23 : { 0x82, 0x9c, 0x19, 0xad, 0x24, 0xfd, 0x4a, 0x85 }}
24 :
25 2 : class NS_NO_VTABLE nsIDOMTransitionEvent : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMTRANSITIONEVENT_IID)
29 :
30 : /* readonly attribute DOMString propertyName; */
31 : NS_IMETHOD GetPropertyName(nsAString & aPropertyName) = 0;
32 :
33 : /* readonly attribute float elapsedTime; */
34 : NS_IMETHOD GetElapsedTime(float *aElapsedTime) = 0;
35 :
36 : /* readonly attribute DOMString pseudoElement; */
37 : NS_IMETHOD GetPseudoElement(nsAString & aPseudoElement) = 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_IMETHOD GetPropertyName(nsAString & aPropertyName) override; \
46 : NS_IMETHOD GetElapsedTime(float *aElapsedTime) override; \
47 : NS_IMETHOD GetPseudoElement(nsAString & aPseudoElement) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIDOMTRANSITIONEVENT \
52 : nsresult GetPropertyName(nsAString & aPropertyName); \
53 : nsresult GetElapsedTime(float *aElapsedTime); \
54 : nsresult GetPseudoElement(nsAString & aPseudoElement);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIDOMTRANSITIONEVENT(_to) \
58 : NS_IMETHOD GetPropertyName(nsAString & aPropertyName) override { return _to GetPropertyName(aPropertyName); } \
59 : NS_IMETHOD GetElapsedTime(float *aElapsedTime) override { return _to GetElapsedTime(aElapsedTime); } \
60 : NS_IMETHOD GetPseudoElement(nsAString & aPseudoElement) override { return _to GetPseudoElement(aPseudoElement); }
61 :
62 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
63 : #define NS_FORWARD_SAFE_NSIDOMTRANSITIONEVENT(_to) \
64 : NS_IMETHOD GetPropertyName(nsAString & aPropertyName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyName(aPropertyName); } \
65 : NS_IMETHOD GetElapsedTime(float *aElapsedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElapsedTime(aElapsedTime); } \
66 : NS_IMETHOD GetPseudoElement(nsAString & aPseudoElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPseudoElement(aPseudoElement); }
67 :
68 : #if 0
69 : /* Use the code below as a template for the implementation class for this interface. */
70 :
71 : /* Header file */
72 : class nsDOMTransitionEvent : public nsIDOMTransitionEvent
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIDOMTRANSITIONEVENT
77 :
78 : nsDOMTransitionEvent();
79 :
80 : private:
81 : ~nsDOMTransitionEvent();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsDOMTransitionEvent, nsIDOMTransitionEvent)
89 :
90 : nsDOMTransitionEvent::nsDOMTransitionEvent()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsDOMTransitionEvent::~nsDOMTransitionEvent()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* readonly attribute DOMString propertyName; */
101 : NS_IMETHODIMP nsDOMTransitionEvent::GetPropertyName(nsAString & aPropertyName)
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* readonly attribute float elapsedTime; */
107 : NS_IMETHODIMP nsDOMTransitionEvent::GetElapsedTime(float *aElapsedTime)
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* readonly attribute DOMString pseudoElement; */
113 : NS_IMETHODIMP nsDOMTransitionEvent::GetPseudoElement(nsAString & aPseudoElement)
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIDOMTransitionEvent_h__ */
|