1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/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 "5e62197a-9b74-4812-b5a2-ca102e886f7a"
20 :
21 : #define NS_IDOMVALIDITYSTATE_IID \
22 : {0x5e62197a, 0x9b74, 0x4812, \
23 : { 0xb5, 0xa2, 0xca, 0x10, 0x2e, 0x88, 0x6f, 0x7a }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMValidityState : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMVALIDITYSTATE_IID)
29 :
30 : /* readonly attribute boolean valueMissing; */
31 : NS_SCRIPTABLE NS_IMETHOD GetValueMissing(bool *aValueMissing) = 0;
32 :
33 : /* readonly attribute boolean typeMismatch; */
34 : NS_SCRIPTABLE NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) = 0;
35 :
36 : /* readonly attribute boolean patternMismatch; */
37 : NS_SCRIPTABLE NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) = 0;
38 :
39 : /* readonly attribute boolean tooLong; */
40 : NS_SCRIPTABLE NS_IMETHOD GetTooLong(bool *aTooLong) = 0;
41 :
42 : /* readonly attribute boolean rangeUnderflow; */
43 : NS_SCRIPTABLE NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) = 0;
44 :
45 : /* readonly attribute boolean rangeOverflow; */
46 : NS_SCRIPTABLE NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) = 0;
47 :
48 : /* readonly attribute boolean stepMismatch; */
49 : NS_SCRIPTABLE NS_IMETHOD GetStepMismatch(bool *aStepMismatch) = 0;
50 :
51 : /* readonly attribute boolean customError; */
52 : NS_SCRIPTABLE NS_IMETHOD GetCustomError(bool *aCustomError) = 0;
53 :
54 : /* readonly attribute boolean valid; */
55 : NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) = 0;
56 :
57 : };
58 :
59 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMValidityState, NS_IDOMVALIDITYSTATE_IID)
60 :
61 : /* Use this macro when declaring classes that implement this interface. */
62 : #define NS_DECL_NSIDOMVALIDITYSTATE \
63 : NS_SCRIPTABLE NS_IMETHOD GetValueMissing(bool *aValueMissing); \
64 : NS_SCRIPTABLE NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch); \
65 : NS_SCRIPTABLE NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch); \
66 : NS_SCRIPTABLE NS_IMETHOD GetTooLong(bool *aTooLong); \
67 : NS_SCRIPTABLE NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow); \
68 : NS_SCRIPTABLE NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow); \
69 : NS_SCRIPTABLE NS_IMETHOD GetStepMismatch(bool *aStepMismatch); \
70 : NS_SCRIPTABLE NS_IMETHOD GetCustomError(bool *aCustomError); \
71 : NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMVALIDITYSTATE(_to) \
75 : NS_SCRIPTABLE NS_IMETHOD GetValueMissing(bool *aValueMissing) { return _to GetValueMissing(aValueMissing); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) { return _to GetTypeMismatch(aTypeMismatch); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) { return _to GetPatternMismatch(aPatternMismatch); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetTooLong(bool *aTooLong) { return _to GetTooLong(aTooLong); } \
79 : NS_SCRIPTABLE NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) { return _to GetRangeUnderflow(aRangeUnderflow); } \
80 : NS_SCRIPTABLE NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) { return _to GetRangeOverflow(aRangeOverflow); } \
81 : NS_SCRIPTABLE NS_IMETHOD GetStepMismatch(bool *aStepMismatch) { return _to GetStepMismatch(aStepMismatch); } \
82 : NS_SCRIPTABLE NS_IMETHOD GetCustomError(bool *aCustomError) { return _to GetCustomError(aCustomError); } \
83 : NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return _to GetValid(aValid); }
84 :
85 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
86 : #define NS_FORWARD_SAFE_NSIDOMVALIDITYSTATE(_to) \
87 : NS_SCRIPTABLE NS_IMETHOD GetValueMissing(bool *aValueMissing) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueMissing(aValueMissing); } \
88 : NS_SCRIPTABLE NS_IMETHOD GetTypeMismatch(bool *aTypeMismatch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTypeMismatch(aTypeMismatch); } \
89 : NS_SCRIPTABLE NS_IMETHOD GetPatternMismatch(bool *aPatternMismatch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPatternMismatch(aPatternMismatch); } \
90 : NS_SCRIPTABLE NS_IMETHOD GetTooLong(bool *aTooLong) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTooLong(aTooLong); } \
91 : NS_SCRIPTABLE NS_IMETHOD GetRangeUnderflow(bool *aRangeUnderflow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeUnderflow(aRangeUnderflow); } \
92 : NS_SCRIPTABLE NS_IMETHOD GetRangeOverflow(bool *aRangeOverflow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeOverflow(aRangeOverflow); } \
93 : NS_SCRIPTABLE NS_IMETHOD GetStepMismatch(bool *aStepMismatch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStepMismatch(aStepMismatch); } \
94 : NS_SCRIPTABLE NS_IMETHOD GetCustomError(bool *aCustomError) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomError(aCustomError); } \
95 : NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); }
96 :
97 : #if 0
98 : /* Use the code below as a template for the implementation class for this interface. */
99 :
100 : /* Header file */
101 : class nsDOMValidityState : public nsIDOMValidityState
102 : {
103 : public:
104 : NS_DECL_ISUPPORTS
105 : NS_DECL_NSIDOMVALIDITYSTATE
106 :
107 : nsDOMValidityState();
108 :
109 : private:
110 : ~nsDOMValidityState();
111 :
112 : protected:
113 : /* additional members */
114 : };
115 :
116 : /* Implementation file */
117 : NS_IMPL_ISUPPORTS1(nsDOMValidityState, nsIDOMValidityState)
118 :
119 : nsDOMValidityState::nsDOMValidityState()
120 : {
121 : /* member initializers and constructor code */
122 : }
123 :
124 : nsDOMValidityState::~nsDOMValidityState()
125 : {
126 : /* destructor code */
127 : }
128 :
129 : /* readonly attribute boolean valueMissing; */
130 : NS_IMETHODIMP nsDOMValidityState::GetValueMissing(bool *aValueMissing)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* readonly attribute boolean typeMismatch; */
136 : NS_IMETHODIMP nsDOMValidityState::GetTypeMismatch(bool *aTypeMismatch)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 :
141 : /* readonly attribute boolean patternMismatch; */
142 : NS_IMETHODIMP nsDOMValidityState::GetPatternMismatch(bool *aPatternMismatch)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* readonly attribute boolean tooLong; */
148 : NS_IMETHODIMP nsDOMValidityState::GetTooLong(bool *aTooLong)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 :
153 : /* readonly attribute boolean rangeUnderflow; */
154 : NS_IMETHODIMP nsDOMValidityState::GetRangeUnderflow(bool *aRangeUnderflow)
155 : {
156 : return NS_ERROR_NOT_IMPLEMENTED;
157 : }
158 :
159 : /* readonly attribute boolean rangeOverflow; */
160 : NS_IMETHODIMP nsDOMValidityState::GetRangeOverflow(bool *aRangeOverflow)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* readonly attribute boolean stepMismatch; */
166 : NS_IMETHODIMP nsDOMValidityState::GetStepMismatch(bool *aStepMismatch)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* readonly attribute boolean customError; */
172 : NS_IMETHODIMP nsDOMValidityState::GetCustomError(bool *aCustomError)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 :
177 : /* readonly attribute boolean valid; */
178 : NS_IMETHODIMP nsDOMValidityState::GetValid(bool *aValid)
179 : {
180 : return NS_ERROR_NOT_IMPLEMENTED;
181 : }
182 :
183 : /* End of implementation class template. */
184 : #endif
185 :
186 :
187 : #endif /* __gen_nsIDOMValidityState_h__ */
|