1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGMaskElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGMaskElement_h__
6 : #define __gen_nsIDOMSVGMaskElement_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 : class nsIDOMSVGAnimatedEnumeration; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMSVGMaskElement */
23 : #define NS_IDOMSVGMASKELEMENT_IID_STR "be2bf834-d5b8-45be-9411-21e3c97052d6"
24 :
25 : #define NS_IDOMSVGMASKELEMENT_IID \
26 : {0xbe2bf834, 0xd5b8, 0x45be, \
27 : { 0x94, 0x11, 0x21, 0xe3, 0xc9, 0x70, 0x52, 0xd6 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGMaskElement : public nsIDOMSVGElement {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGMASKELEMENT_IID)
33 :
34 : /* readonly attribute nsIDOMSVGAnimatedEnumeration maskUnits; */
35 : NS_SCRIPTABLE NS_IMETHOD GetMaskUnits(nsIDOMSVGAnimatedEnumeration * *aMaskUnits) = 0;
36 :
37 : /* readonly attribute nsIDOMSVGAnimatedEnumeration maskContentUnits; */
38 : NS_SCRIPTABLE NS_IMETHOD GetMaskContentUnits(nsIDOMSVGAnimatedEnumeration * *aMaskContentUnits) = 0;
39 :
40 : /* readonly attribute nsIDOMSVGAnimatedLength x; */
41 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
42 :
43 : /* readonly attribute nsIDOMSVGAnimatedLength y; */
44 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
45 :
46 : /* readonly attribute nsIDOMSVGAnimatedLength width; */
47 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
48 :
49 : /* readonly attribute nsIDOMSVGAnimatedLength height; */
50 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
51 :
52 : };
53 :
54 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGMaskElement, NS_IDOMSVGMASKELEMENT_IID)
55 :
56 : /* Use this macro when declaring classes that implement this interface. */
57 : #define NS_DECL_NSIDOMSVGMASKELEMENT \
58 : NS_SCRIPTABLE NS_IMETHOD GetMaskUnits(nsIDOMSVGAnimatedEnumeration * *aMaskUnits); \
59 : NS_SCRIPTABLE NS_IMETHOD GetMaskContentUnits(nsIDOMSVGAnimatedEnumeration * *aMaskContentUnits); \
60 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
61 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
62 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
63 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight);
64 :
65 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
66 : #define NS_FORWARD_NSIDOMSVGMASKELEMENT(_to) \
67 : NS_SCRIPTABLE NS_IMETHOD GetMaskUnits(nsIDOMSVGAnimatedEnumeration * *aMaskUnits) { return _to GetMaskUnits(aMaskUnits); } \
68 : NS_SCRIPTABLE NS_IMETHOD GetMaskContentUnits(nsIDOMSVGAnimatedEnumeration * *aMaskContentUnits) { return _to GetMaskContentUnits(aMaskContentUnits); } \
69 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
71 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); }
73 :
74 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
75 : #define NS_FORWARD_SAFE_NSIDOMSVGMASKELEMENT(_to) \
76 : NS_SCRIPTABLE NS_IMETHOD GetMaskUnits(nsIDOMSVGAnimatedEnumeration * *aMaskUnits) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaskUnits(aMaskUnits); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetMaskContentUnits(nsIDOMSVGAnimatedEnumeration * *aMaskContentUnits) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaskContentUnits(aMaskContentUnits); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
79 : NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
80 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
81 : NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); }
82 :
83 : #if 0
84 : /* Use the code below as a template for the implementation class for this interface. */
85 :
86 : /* Header file */
87 : class nsDOMSVGMaskElement : public nsIDOMSVGMaskElement
88 : {
89 : public:
90 : NS_DECL_ISUPPORTS
91 : NS_DECL_NSIDOMSVGMASKELEMENT
92 :
93 : nsDOMSVGMaskElement();
94 :
95 : private:
96 : ~nsDOMSVGMaskElement();
97 :
98 : protected:
99 : /* additional members */
100 : };
101 :
102 : /* Implementation file */
103 : NS_IMPL_ISUPPORTS1(nsDOMSVGMaskElement, nsIDOMSVGMaskElement)
104 :
105 : nsDOMSVGMaskElement::nsDOMSVGMaskElement()
106 : {
107 : /* member initializers and constructor code */
108 : }
109 :
110 : nsDOMSVGMaskElement::~nsDOMSVGMaskElement()
111 : {
112 : /* destructor code */
113 : }
114 :
115 : /* readonly attribute nsIDOMSVGAnimatedEnumeration maskUnits; */
116 : NS_IMETHODIMP nsDOMSVGMaskElement::GetMaskUnits(nsIDOMSVGAnimatedEnumeration * *aMaskUnits)
117 : {
118 : return NS_ERROR_NOT_IMPLEMENTED;
119 : }
120 :
121 : /* readonly attribute nsIDOMSVGAnimatedEnumeration maskContentUnits; */
122 : NS_IMETHODIMP nsDOMSVGMaskElement::GetMaskContentUnits(nsIDOMSVGAnimatedEnumeration * *aMaskContentUnits)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 :
127 : /* readonly attribute nsIDOMSVGAnimatedLength x; */
128 : NS_IMETHODIMP nsDOMSVGMaskElement::GetX(nsIDOMSVGAnimatedLength * *aX)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 :
133 : /* readonly attribute nsIDOMSVGAnimatedLength y; */
134 : NS_IMETHODIMP nsDOMSVGMaskElement::GetY(nsIDOMSVGAnimatedLength * *aY)
135 : {
136 : return NS_ERROR_NOT_IMPLEMENTED;
137 : }
138 :
139 : /* readonly attribute nsIDOMSVGAnimatedLength width; */
140 : NS_IMETHODIMP nsDOMSVGMaskElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* readonly attribute nsIDOMSVGAnimatedLength height; */
146 : NS_IMETHODIMP nsDOMSVGMaskElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 :
151 : /* End of implementation class template. */
152 : #endif
153 :
154 :
155 : #endif /* __gen_nsIDOMSVGMaskElement_h__ */
|