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