1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGAnimatedInteger.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGAnimatedInteger_h__
6 : #define __gen_nsIDOMSVGAnimatedInteger_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: nsIDOMSVGAnimatedInteger */
19 : #define NS_IDOMSVGANIMATEDINTEGER_IID_STR "7b196db6-955e-4a9f-8f42-645ebc2ce938"
20 :
21 : #define NS_IDOMSVGANIMATEDINTEGER_IID \
22 : {0x7b196db6, 0x955e, 0x4a9f, \
23 : { 0x8f, 0x42, 0x64, 0x5e, 0xbc, 0x2c, 0xe9, 0x38 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGAnimatedInteger : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGANIMATEDINTEGER_IID)
29 :
30 : /* attribute long baseVal; */
31 : NS_SCRIPTABLE NS_IMETHOD GetBaseVal(PRInt32 *aBaseVal) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetBaseVal(PRInt32 aBaseVal) = 0;
33 :
34 : /* readonly attribute long animVal; */
35 : NS_SCRIPTABLE NS_IMETHOD GetAnimVal(PRInt32 *aAnimVal) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGAnimatedInteger, NS_IDOMSVGANIMATEDINTEGER_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIDOMSVGANIMATEDINTEGER \
43 : NS_SCRIPTABLE NS_IMETHOD GetBaseVal(PRInt32 *aBaseVal); \
44 : NS_SCRIPTABLE NS_IMETHOD SetBaseVal(PRInt32 aBaseVal); \
45 : NS_SCRIPTABLE NS_IMETHOD GetAnimVal(PRInt32 *aAnimVal);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMSVGANIMATEDINTEGER(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetBaseVal(PRInt32 *aBaseVal) { return _to GetBaseVal(aBaseVal); } \
50 : NS_SCRIPTABLE NS_IMETHOD SetBaseVal(PRInt32 aBaseVal) { return _to SetBaseVal(aBaseVal); } \
51 : NS_SCRIPTABLE NS_IMETHOD GetAnimVal(PRInt32 *aAnimVal) { return _to GetAnimVal(aAnimVal); }
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
54 : #define NS_FORWARD_SAFE_NSIDOMSVGANIMATEDINTEGER(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetBaseVal(PRInt32 *aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseVal(aBaseVal); } \
56 : NS_SCRIPTABLE NS_IMETHOD SetBaseVal(PRInt32 aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseVal(aBaseVal); } \
57 : NS_SCRIPTABLE NS_IMETHOD GetAnimVal(PRInt32 *aAnimVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnimVal(aAnimVal); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMSVGAnimatedInteger : public nsIDOMSVGAnimatedInteger
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMSVGANIMATEDINTEGER
68 :
69 : nsDOMSVGAnimatedInteger();
70 :
71 : private:
72 : ~nsDOMSVGAnimatedInteger();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMSVGAnimatedInteger, nsIDOMSVGAnimatedInteger)
80 :
81 : nsDOMSVGAnimatedInteger::nsDOMSVGAnimatedInteger()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMSVGAnimatedInteger::~nsDOMSVGAnimatedInteger()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute long baseVal; */
92 : NS_IMETHODIMP nsDOMSVGAnimatedInteger::GetBaseVal(PRInt32 *aBaseVal)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMSVGAnimatedInteger::SetBaseVal(PRInt32 aBaseVal)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* readonly attribute long animVal; */
102 : NS_IMETHODIMP nsDOMSVGAnimatedInteger::GetAnimVal(PRInt32 *aAnimVal)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #endif /* __gen_nsIDOMSVGAnimatedInteger_h__ */
|