1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLProgressElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLProgressElement_h__
6 : #define __gen_nsIDOMHTMLProgressElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.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: nsIDOMHTMLProgressElement */
19 : #define NS_IDOMHTMLPROGRESSELEMENT_IID_STR "9b1d2263-b60f-4d18-b4d1-66e8c3867c79"
20 :
21 : #define NS_IDOMHTMLPROGRESSELEMENT_IID \
22 : {0x9b1d2263, 0xb60f, 0x4d18, \
23 : { 0xb4, 0xd1, 0x66, 0xe8, 0xc3, 0x86, 0x7c, 0x79 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLProgressElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPROGRESSELEMENT_IID)
29 :
30 : /* attribute double value; */
31 : NS_SCRIPTABLE NS_IMETHOD GetValue(double *aValue) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetValue(double aValue) = 0;
33 :
34 : /* attribute double max; */
35 : NS_SCRIPTABLE NS_IMETHOD GetMax(double *aMax) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetMax(double aMax) = 0;
37 :
38 : /* readonly attribute double position; */
39 : NS_SCRIPTABLE NS_IMETHOD GetPosition(double *aPosition) = 0;
40 :
41 : /* readonly attribute nsIDOMHTMLFormElement form; */
42 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
43 :
44 : };
45 :
46 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLProgressElement, NS_IDOMHTMLPROGRESSELEMENT_IID)
47 :
48 : /* Use this macro when declaring classes that implement this interface. */
49 : #define NS_DECL_NSIDOMHTMLPROGRESSELEMENT \
50 : NS_SCRIPTABLE NS_IMETHOD GetValue(double *aValue); \
51 : NS_SCRIPTABLE NS_IMETHOD SetValue(double aValue); \
52 : NS_SCRIPTABLE NS_IMETHOD GetMax(double *aMax); \
53 : NS_SCRIPTABLE NS_IMETHOD SetMax(double aMax); \
54 : NS_SCRIPTABLE NS_IMETHOD GetPosition(double *aPosition); \
55 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIDOMHTMLPROGRESSELEMENT(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetValue(double *aValue) { return _to GetValue(aValue); } \
60 : NS_SCRIPTABLE NS_IMETHOD SetValue(double aValue) { return _to SetValue(aValue); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetMax(double *aMax) { return _to GetMax(aMax); } \
62 : NS_SCRIPTABLE NS_IMETHOD SetMax(double aMax) { return _to SetMax(aMax); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetPosition(double *aPosition) { return _to GetPosition(aPosition); } \
64 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); }
65 :
66 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
67 : #define NS_FORWARD_SAFE_NSIDOMHTMLPROGRESSELEMENT(_to) \
68 : NS_SCRIPTABLE NS_IMETHOD GetValue(double *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
69 : NS_SCRIPTABLE NS_IMETHOD SetValue(double aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetMax(double *aMax) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMax(aMax); } \
71 : NS_SCRIPTABLE NS_IMETHOD SetMax(double aMax) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMax(aMax); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetPosition(double *aPosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(aPosition); } \
73 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); }
74 :
75 : #if 0
76 : /* Use the code below as a template for the implementation class for this interface. */
77 :
78 : /* Header file */
79 : class nsDOMHTMLProgressElement : public nsIDOMHTMLProgressElement
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSIDOMHTMLPROGRESSELEMENT
84 :
85 : nsDOMHTMLProgressElement();
86 :
87 : private:
88 : ~nsDOMHTMLProgressElement();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS1(nsDOMHTMLProgressElement, nsIDOMHTMLProgressElement)
96 :
97 : nsDOMHTMLProgressElement::nsDOMHTMLProgressElement()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsDOMHTMLProgressElement::~nsDOMHTMLProgressElement()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* attribute double value; */
108 : NS_IMETHODIMP nsDOMHTMLProgressElement::GetValue(double *aValue)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 : NS_IMETHODIMP nsDOMHTMLProgressElement::SetValue(double aValue)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* attribute double max; */
118 : NS_IMETHODIMP nsDOMHTMLProgressElement::GetMax(double *aMax)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 : NS_IMETHODIMP nsDOMHTMLProgressElement::SetMax(double aMax)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 :
127 : /* readonly attribute double position; */
128 : NS_IMETHODIMP nsDOMHTMLProgressElement::GetPosition(double *aPosition)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 :
133 : /* readonly attribute nsIDOMHTMLFormElement form; */
134 : NS_IMETHODIMP nsDOMHTMLProgressElement::GetForm(nsIDOMHTMLFormElement * *aForm)
135 : {
136 : return NS_ERROR_NOT_IMPLEMENTED;
137 : }
138 :
139 : /* End of implementation class template. */
140 : #endif
141 :
142 :
143 : #endif /* __gen_nsIDOMHTMLProgressElement_h__ */
|