Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMValidityState.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMValidityState_h__
6 : #define __gen_nsIDOMValidityState_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: nsIDOMValidityState */
19 : #define NS_IDOMVALIDITYSTATE_IID_STR "00bed276-f1f7-492f-a039-dbd9b9efc10b"
20 :
21 : #define NS_IDOMVALIDITYSTATE_IID \
22 : {0x00bed276, 0xf1f7, 0x492f, \
23 : { 0xa0, 0x39, 0xdb, 0xd9, 0xb9, 0xef, 0xc1, 0x0b }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMValidityState : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMVALIDITYSTATE_IID)
29 :
30 : /* readonly attribute boolean valueMissing; */
31 : NS_IMETHOD GetValueMissing(bool *aValueMissing) = 0;
32 :
33 : /* readonly attribute boolean typeMismatch; */
34 : NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) = 0;
35 :
36 : /* readonly attribute boolean patternMismatch; */
37 : NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) = 0;
38 :
39 : /* readonly attribute boolean tooLong; */
40 : NS_IMETHOD GetTooLong(bool *aTooLong) = 0;
41 :
42 : /* readonly attribute boolean tooShort; */
43 : NS_IMETHOD GetTooShort(bool *aTooShort) = 0;
44 :
45 : /* readonly attribute boolean rangeUnderflow; */
46 : NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) = 0;
47 :
48 : /* readonly attribute boolean rangeOverflow; */
49 : NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) = 0;
50 :
51 : /* readonly attribute boolean stepMismatch; */
52 : NS_IMETHOD GetStepMismatch(bool *aStepMismatch) = 0;
53 :
54 : /* readonly attribute boolean badInput; */
55 : NS_IMETHOD GetBadInput(bool *aBadInput) = 0;
56 :
57 : /* readonly attribute boolean customError; */
58 : NS_IMETHOD GetCustomError(bool *aCustomError) = 0;
59 :
60 : /* readonly attribute boolean valid; */
61 : NS_IMETHOD GetValid(bool *aValid) = 0;
62 :
63 : };
64 :
65 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMValidityState, NS_IDOMVALIDITYSTATE_IID)
66 :
67 : /* Use this macro when declaring classes that implement this interface. */
68 : #define NS_DECL_NSIDOMVALIDITYSTATE \
69 : NS_IMETHOD GetValueMissing(bool *aValueMissing) override; \
70 : NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) override; \
71 : NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) override; \
72 : NS_IMETHOD GetTooLong(bool *aTooLong) override; \
73 : NS_IMETHOD GetTooShort(bool *aTooShort) override; \
74 : NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) override; \
75 : NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) override; \
76 : NS_IMETHOD GetStepMismatch(bool *aStepMismatch) override; \
77 : NS_IMETHOD GetBadInput(bool *aBadInput) override; \
78 : NS_IMETHOD GetCustomError(bool *aCustomError) override; \
79 : NS_IMETHOD GetValid(bool *aValid) override;
80 :
81 : /* Use this macro when declaring the members of this interface when the
82 : class doesn't implement the interface. This is useful for forwarding. */
83 : #define NS_DECL_NON_VIRTUAL_NSIDOMVALIDITYSTATE \
84 : nsresult GetValueMissing(bool *aValueMissing); \
85 : nsresult GetTypeMismatch(bool *aTypeMismatch); \
86 : nsresult GetPatternMismatch(bool *aPatternMismatch); \
87 : nsresult GetTooLong(bool *aTooLong); \
88 : nsresult GetTooShort(bool *aTooShort); \
89 : nsresult GetRangeUnderflow(bool *aRangeUnderflow); \
90 : nsresult GetRangeOverflow(bool *aRangeOverflow); \
91 : nsresult GetStepMismatch(bool *aStepMismatch); \
92 : nsresult GetBadInput(bool *aBadInput); \
93 : nsresult GetCustomError(bool *aCustomError); \
94 : nsresult GetValid(bool *aValid);
95 :
96 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
97 : #define NS_FORWARD_NSIDOMVALIDITYSTATE(_to) \
98 : NS_IMETHOD GetValueMissing(bool *aValueMissing) override { return _to GetValueMissing(aValueMissing); } \
99 : NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) override { return _to GetTypeMismatch(aTypeMismatch); } \
100 : NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) override { return _to GetPatternMismatch(aPatternMismatch); } \
101 : NS_IMETHOD GetTooLong(bool *aTooLong) override { return _to GetTooLong(aTooLong); } \
102 : NS_IMETHOD GetTooShort(bool *aTooShort) override { return _to GetTooShort(aTooShort); } \
103 : NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) override { return _to GetRangeUnderflow(aRangeUnderflow); } \
104 : NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) override { return _to GetRangeOverflow(aRangeOverflow); } \
105 : NS_IMETHOD GetStepMismatch(bool *aStepMismatch) override { return _to GetStepMismatch(aStepMismatch); } \
106 : NS_IMETHOD GetBadInput(bool *aBadInput) override { return _to GetBadInput(aBadInput); } \
107 : NS_IMETHOD GetCustomError(bool *aCustomError) override { return _to GetCustomError(aCustomError); } \
108 : NS_IMETHOD GetValid(bool *aValid) override { return _to GetValid(aValid); }
109 :
110 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
111 : #define NS_FORWARD_SAFE_NSIDOMVALIDITYSTATE(_to) \
112 : NS_IMETHOD GetValueMissing(bool *aValueMissing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueMissing(aValueMissing); } \
113 : NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTypeMismatch(aTypeMismatch); } \
114 : NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPatternMismatch(aPatternMismatch); } \
115 : NS_IMETHOD GetTooLong(bool *aTooLong) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTooLong(aTooLong); } \
116 : NS_IMETHOD GetTooShort(bool *aTooShort) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTooShort(aTooShort); } \
117 : NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeUnderflow(aRangeUnderflow); } \
118 : NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeOverflow(aRangeOverflow); } \
119 : NS_IMETHOD GetStepMismatch(bool *aStepMismatch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStepMismatch(aStepMismatch); } \
120 : NS_IMETHOD GetBadInput(bool *aBadInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBadInput(aBadInput); } \
121 : NS_IMETHOD GetCustomError(bool *aCustomError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomError(aCustomError); } \
122 : NS_IMETHOD GetValid(bool *aValid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); }
123 :
124 : #if 0
125 : /* Use the code below as a template for the implementation class for this interface. */
126 :
127 : /* Header file */
128 : class nsDOMValidityState : public nsIDOMValidityState
129 : {
130 : public:
131 : NS_DECL_ISUPPORTS
132 : NS_DECL_NSIDOMVALIDITYSTATE
133 :
134 : nsDOMValidityState();
135 :
136 : private:
137 : ~nsDOMValidityState();
138 :
139 : protected:
140 : /* additional members */
141 : };
142 :
143 : /* Implementation file */
144 : NS_IMPL_ISUPPORTS(nsDOMValidityState, nsIDOMValidityState)
145 :
146 : nsDOMValidityState::nsDOMValidityState()
147 : {
148 : /* member initializers and constructor code */
149 : }
150 :
151 : nsDOMValidityState::~nsDOMValidityState()
152 : {
153 : /* destructor code */
154 : }
155 :
156 : /* readonly attribute boolean valueMissing; */
157 : NS_IMETHODIMP nsDOMValidityState::GetValueMissing(bool *aValueMissing)
158 : {
159 : return NS_ERROR_NOT_IMPLEMENTED;
160 : }
161 :
162 : /* readonly attribute boolean typeMismatch; */
163 : NS_IMETHODIMP nsDOMValidityState::GetTypeMismatch(bool *aTypeMismatch)
164 : {
165 : return NS_ERROR_NOT_IMPLEMENTED;
166 : }
167 :
168 : /* readonly attribute boolean patternMismatch; */
169 : NS_IMETHODIMP nsDOMValidityState::GetPatternMismatch(bool *aPatternMismatch)
170 : {
171 : return NS_ERROR_NOT_IMPLEMENTED;
172 : }
173 :
174 : /* readonly attribute boolean tooLong; */
175 : NS_IMETHODIMP nsDOMValidityState::GetTooLong(bool *aTooLong)
176 : {
177 : return NS_ERROR_NOT_IMPLEMENTED;
178 : }
179 :
180 : /* readonly attribute boolean tooShort; */
181 : NS_IMETHODIMP nsDOMValidityState::GetTooShort(bool *aTooShort)
182 : {
183 : return NS_ERROR_NOT_IMPLEMENTED;
184 : }
185 :
186 : /* readonly attribute boolean rangeUnderflow; */
187 : NS_IMETHODIMP nsDOMValidityState::GetRangeUnderflow(bool *aRangeUnderflow)
188 : {
189 : return NS_ERROR_NOT_IMPLEMENTED;
190 : }
191 :
192 : /* readonly attribute boolean rangeOverflow; */
193 : NS_IMETHODIMP nsDOMValidityState::GetRangeOverflow(bool *aRangeOverflow)
194 : {
195 : return NS_ERROR_NOT_IMPLEMENTED;
196 : }
197 :
198 : /* readonly attribute boolean stepMismatch; */
199 : NS_IMETHODIMP nsDOMValidityState::GetStepMismatch(bool *aStepMismatch)
200 : {
201 : return NS_ERROR_NOT_IMPLEMENTED;
202 : }
203 :
204 : /* readonly attribute boolean badInput; */
205 : NS_IMETHODIMP nsDOMValidityState::GetBadInput(bool *aBadInput)
206 : {
207 : return NS_ERROR_NOT_IMPLEMENTED;
208 : }
209 :
210 : /* readonly attribute boolean customError; */
211 : NS_IMETHODIMP nsDOMValidityState::GetCustomError(bool *aCustomError)
212 : {
213 : return NS_ERROR_NOT_IMPLEMENTED;
214 : }
215 :
216 : /* readonly attribute boolean valid; */
217 : NS_IMETHODIMP nsDOMValidityState::GetValid(bool *aValid)
218 : {
219 : return NS_ERROR_NOT_IMPLEMENTED;
220 : }
221 :
222 : /* End of implementation class template. */
223 : #endif
224 :
225 :
226 : #endif /* __gen_nsIDOMValidityState_h__ */
|