1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGNumber.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGNumber_h__
6 : #define __gen_nsIDOMSVGNumber_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 :
18 : /* starting interface: nsIDOMSVGNumber */
19 : #define NS_IDOMSVGNUMBER_IID_STR "98575762-a936-4ecf-a226-b74c3a2981b4"
20 :
21 : #define NS_IDOMSVGNUMBER_IID \
22 : {0x98575762, 0xa936, 0x4ecf, \
23 : { 0xa2, 0x26, 0xb7, 0x4c, 0x3a, 0x29, 0x81, 0xb4 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGNumber : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGNUMBER_IID)
29 :
30 : /* attribute float value; */
31 : NS_SCRIPTABLE NS_IMETHOD GetValue(float *aValue) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetValue(float aValue) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGNumber, NS_IDOMSVGNUMBER_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMSVGNUMBER \
40 : NS_SCRIPTABLE NS_IMETHOD GetValue(float *aValue); \
41 : NS_SCRIPTABLE NS_IMETHOD SetValue(float aValue);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIDOMSVGNUMBER(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetValue(float *aValue) { return _to GetValue(aValue); } \
46 : NS_SCRIPTABLE NS_IMETHOD SetValue(float aValue) { return _to SetValue(aValue); }
47 :
48 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
49 : #define NS_FORWARD_SAFE_NSIDOMSVGNUMBER(_to) \
50 : NS_SCRIPTABLE NS_IMETHOD GetValue(float *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetValue(float aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsDOMSVGNumber : public nsIDOMSVGNumber
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIDOMSVGNUMBER
62 :
63 : nsDOMSVGNumber();
64 :
65 : private:
66 : ~nsDOMSVGNumber();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsDOMSVGNumber, nsIDOMSVGNumber)
74 :
75 : nsDOMSVGNumber::nsDOMSVGNumber()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsDOMSVGNumber::~nsDOMSVGNumber()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* attribute float value; */
86 : NS_IMETHODIMP nsDOMSVGNumber::GetValue(float *aValue)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 : NS_IMETHODIMP nsDOMSVGNumber::SetValue(float aValue)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIDOMSVGNumber_h__ */
|