1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGUseElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGUseElement_h__
6 : #define __gen_nsIDOMSVGUseElement_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: nsIDOMSVGUseElement */
21 : #define NS_IDOMSVGUSEELEMENT_IID_STR "389ce629-1aea-41f4-aec3-ba274bbc7433"
22 :
23 : #define NS_IDOMSVGUSEELEMENT_IID \
24 : {0x389ce629, 0x1aea, 0x41f4, \
25 : { 0xae, 0xc3, 0xba, 0x27, 0x4b, 0xbc, 0x74, 0x33 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGUseElement : public nsIDOMSVGElement {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGUSEELEMENT_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 : };
45 :
46 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGUseElement, NS_IDOMSVGUSEELEMENT_IID)
47 :
48 : /* Use this macro when declaring classes that implement this interface. */
49 : #define NS_DECL_NSIDOMSVGUSEELEMENT \
50 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
51 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
52 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
53 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIDOMSVGUSEELEMENT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); }
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_NSIDOMSVGUSEELEMENT(_to) \
64 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
66 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); }
68 :
69 : #if 0
70 : /* Use the code below as a template for the implementation class for this interface. */
71 :
72 : /* Header file */
73 : class nsDOMSVGUseElement : public nsIDOMSVGUseElement
74 : {
75 : public:
76 : NS_DECL_ISUPPORTS
77 : NS_DECL_NSIDOMSVGUSEELEMENT
78 :
79 : nsDOMSVGUseElement();
80 :
81 : private:
82 : ~nsDOMSVGUseElement();
83 :
84 : protected:
85 : /* additional members */
86 : };
87 :
88 : /* Implementation file */
89 : NS_IMPL_ISUPPORTS1(nsDOMSVGUseElement, nsIDOMSVGUseElement)
90 :
91 : nsDOMSVGUseElement::nsDOMSVGUseElement()
92 : {
93 : /* member initializers and constructor code */
94 : }
95 :
96 : nsDOMSVGUseElement::~nsDOMSVGUseElement()
97 : {
98 : /* destructor code */
99 : }
100 :
101 : /* readonly attribute nsIDOMSVGAnimatedLength x; */
102 : NS_IMETHODIMP nsDOMSVGUseElement::GetX(nsIDOMSVGAnimatedLength * *aX)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* readonly attribute nsIDOMSVGAnimatedLength y; */
108 : NS_IMETHODIMP nsDOMSVGUseElement::GetY(nsIDOMSVGAnimatedLength * *aY)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute nsIDOMSVGAnimatedLength width; */
114 : NS_IMETHODIMP nsDOMSVGUseElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute nsIDOMSVGAnimatedLength height; */
120 : NS_IMETHODIMP nsDOMSVGUseElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* End of implementation class template. */
126 : #endif
127 :
128 :
129 : #endif /* __gen_nsIDOMSVGUseElement_h__ */
|