1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGRectElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGRectElement_h__
6 : #define __gen_nsIDOMSVGRectElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMSVGElement_h__
10 : #include "nsIDOMSVGElement.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 : class nsIDOMSVGAnimatedLength; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMSVGRectElement */
21 : #define NS_IDOMSVGRECTELEMENT_IID_STR "19eff2bb-224a-41dc-b3bb-c135c9d17d35"
22 :
23 : #define NS_IDOMSVGRECTELEMENT_IID \
24 : {0x19eff2bb, 0x224a, 0x41dc, \
25 : { 0xb3, 0xbb, 0xc1, 0x35, 0xc9, 0xd1, 0x7d, 0x35 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGRectElement : public nsIDOMSVGElement {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGRECTELEMENT_IID)
31 :
32 : /* readonly attribute nsIDOMSVGAnimatedLength x; */
33 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
34 :
35 : /* readonly attribute nsIDOMSVGAnimatedLength y; */
36 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
37 :
38 : /* readonly attribute nsIDOMSVGAnimatedLength width; */
39 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
40 :
41 : /* readonly attribute nsIDOMSVGAnimatedLength height; */
42 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
43 :
44 : /* readonly attribute nsIDOMSVGAnimatedLength rx; */
45 : NS_SCRIPTABLE NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) = 0;
46 :
47 : /* readonly attribute nsIDOMSVGAnimatedLength ry; */
48 : NS_SCRIPTABLE NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) = 0;
49 :
50 : };
51 :
52 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGRectElement, NS_IDOMSVGRECTELEMENT_IID)
53 :
54 : /* Use this macro when declaring classes that implement this interface. */
55 : #define NS_DECL_NSIDOMSVGRECTELEMENT \
56 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
57 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
58 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
59 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight); \
60 : NS_SCRIPTABLE NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx); \
61 : NS_SCRIPTABLE NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy);
62 :
63 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
64 : #define NS_FORWARD_NSIDOMSVGRECTELEMENT(_to) \
65 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
66 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
68 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); } \
69 : NS_SCRIPTABLE NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return _to GetRx(aRx); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return _to GetRy(aRy); }
71 :
72 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
73 : #define NS_FORWARD_SAFE_NSIDOMSVGRECTELEMENT(_to) \
74 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
75 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRx(aRx); } \
79 : NS_SCRIPTABLE NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRy(aRy); }
80 :
81 : #if 0
82 : /* Use the code below as a template for the implementation class for this interface. */
83 :
84 : /* Header file */
85 : class nsDOMSVGRectElement : public nsIDOMSVGRectElement
86 : {
87 : public:
88 : NS_DECL_ISUPPORTS
89 : NS_DECL_NSIDOMSVGRECTELEMENT
90 :
91 : nsDOMSVGRectElement();
92 :
93 : private:
94 : ~nsDOMSVGRectElement();
95 :
96 : protected:
97 : /* additional members */
98 : };
99 :
100 : /* Implementation file */
101 : NS_IMPL_ISUPPORTS1(nsDOMSVGRectElement, nsIDOMSVGRectElement)
102 :
103 : nsDOMSVGRectElement::nsDOMSVGRectElement()
104 : {
105 : /* member initializers and constructor code */
106 : }
107 :
108 : nsDOMSVGRectElement::~nsDOMSVGRectElement()
109 : {
110 : /* destructor code */
111 : }
112 :
113 : /* readonly attribute nsIDOMSVGAnimatedLength x; */
114 : NS_IMETHODIMP nsDOMSVGRectElement::GetX(nsIDOMSVGAnimatedLength * *aX)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute nsIDOMSVGAnimatedLength y; */
120 : NS_IMETHODIMP nsDOMSVGRectElement::GetY(nsIDOMSVGAnimatedLength * *aY)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* readonly attribute nsIDOMSVGAnimatedLength width; */
126 : NS_IMETHODIMP nsDOMSVGRectElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* readonly attribute nsIDOMSVGAnimatedLength height; */
132 : NS_IMETHODIMP nsDOMSVGRectElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* readonly attribute nsIDOMSVGAnimatedLength rx; */
138 : NS_IMETHODIMP nsDOMSVGRectElement::GetRx(nsIDOMSVGAnimatedLength * *aRx)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 :
143 : /* readonly attribute nsIDOMSVGAnimatedLength ry; */
144 : NS_IMETHODIMP nsDOMSVGRectElement::GetRy(nsIDOMSVGAnimatedLength * *aRy)
145 : {
146 : return NS_ERROR_NOT_IMPLEMENTED;
147 : }
148 :
149 : /* End of implementation class template. */
150 : #endif
151 :
152 :
153 : #endif /* __gen_nsIDOMSVGRectElement_h__ */
|