1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGPoint.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGPoint_h__
6 : #define __gen_nsIDOMSVGPoint_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.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 nsIDOMSVGMatrix; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMSVGPoint */
21 : #define NS_IDOMSVGPOINT_IID_STR "45f18f8f-1315-4447-a7d5-8aeca77bdcaf"
22 :
23 : #define NS_IDOMSVGPOINT_IID \
24 : {0x45f18f8f, 0x1315, 0x4447, \
25 : { 0xa7, 0xd5, 0x8a, 0xec, 0xa7, 0x7b, 0xdc, 0xaf }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGPoint : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGPOINT_IID)
31 :
32 : /* attribute float x; */
33 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) = 0;
34 : NS_SCRIPTABLE NS_IMETHOD SetX(float aX) = 0;
35 :
36 : /* attribute float y; */
37 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) = 0;
38 : NS_SCRIPTABLE NS_IMETHOD SetY(float aY) = 0;
39 :
40 : /* nsIDOMSVGPoint matrixTransform (in nsIDOMSVGMatrix matrix); */
41 : NS_SCRIPTABLE NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint * *_retval NS_OUTPARAM) = 0;
42 :
43 : };
44 :
45 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGPoint, NS_IDOMSVGPOINT_IID)
46 :
47 : /* Use this macro when declaring classes that implement this interface. */
48 : #define NS_DECL_NSIDOMSVGPOINT \
49 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX); \
50 : NS_SCRIPTABLE NS_IMETHOD SetX(float aX); \
51 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY); \
52 : NS_SCRIPTABLE NS_IMETHOD SetY(float aY); \
53 : NS_SCRIPTABLE NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint * *_retval NS_OUTPARAM);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIDOMSVGPOINT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) { return _to GetX(aX); } \
58 : NS_SCRIPTABLE NS_IMETHOD SetX(float aX) { return _to SetX(aX); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) { return _to GetY(aY); } \
60 : NS_SCRIPTABLE NS_IMETHOD SetY(float aY) { return _to SetY(aY); } \
61 : NS_SCRIPTABLE NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return _to MatrixTransform(matrix, _retval); }
62 :
63 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
64 : #define NS_FORWARD_SAFE_NSIDOMSVGPOINT(_to) \
65 : NS_SCRIPTABLE NS_IMETHOD GetX(float *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
66 : NS_SCRIPTABLE NS_IMETHOD SetX(float aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetX(aX); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetY(float *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
68 : NS_SCRIPTABLE NS_IMETHOD SetY(float aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetY(aY); } \
69 : NS_SCRIPTABLE NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MatrixTransform(matrix, _retval); }
70 :
71 : #if 0
72 : /* Use the code below as a template for the implementation class for this interface. */
73 :
74 : /* Header file */
75 : class nsDOMSVGPoint : public nsIDOMSVGPoint
76 : {
77 : public:
78 : NS_DECL_ISUPPORTS
79 : NS_DECL_NSIDOMSVGPOINT
80 :
81 : nsDOMSVGPoint();
82 :
83 : private:
84 : ~nsDOMSVGPoint();
85 :
86 : protected:
87 : /* additional members */
88 : };
89 :
90 : /* Implementation file */
91 : NS_IMPL_ISUPPORTS1(nsDOMSVGPoint, nsIDOMSVGPoint)
92 :
93 : nsDOMSVGPoint::nsDOMSVGPoint()
94 : {
95 : /* member initializers and constructor code */
96 : }
97 :
98 : nsDOMSVGPoint::~nsDOMSVGPoint()
99 : {
100 : /* destructor code */
101 : }
102 :
103 : /* attribute float x; */
104 : NS_IMETHODIMP nsDOMSVGPoint::GetX(float *aX)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 : NS_IMETHODIMP nsDOMSVGPoint::SetX(float aX)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* attribute float y; */
114 : NS_IMETHODIMP nsDOMSVGPoint::GetY(float *aY)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 : NS_IMETHODIMP nsDOMSVGPoint::SetY(float aY)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* nsIDOMSVGPoint matrixTransform (in nsIDOMSVGMatrix matrix); */
124 : NS_IMETHODIMP nsDOMSVGPoint::MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint * *_retval NS_OUTPARAM)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* End of implementation class template. */
130 : #endif
131 :
132 :
133 : #endif /* __gen_nsIDOMSVGPoint_h__ */
|