DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

nsIDOMHTMLFormElement

Macros

Line Code
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 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLFormElement.idl
 */

#ifndef __gen_nsIDOMHTMLFormElement_h__
#define __gen_nsIDOMHTMLFormElement_h__


#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.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:    nsIDOMHTMLFormElement */
#define NS_IDOMHTMLFORMELEMENT_IID_STR "ad9b2ad0-9d29-43f6-b1a2-a1fd24627e6b"

#define NS_IDOMHTMLFORMELEMENT_IID \
  {0xad9b2ad0, 0x9d29, 0x43f6, \
    { 0xb1, 0xa2, 0xa1, 0xfd, 0x24, 0x62, 0x7e, 0x6b }}

class NS_NO_VTABLE nsIDOMHTMLFormElement : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFORMELEMENT_IID)

  /* attribute DOMString acceptCharset; */
  NS_IMETHOD GetAcceptCharset(nsAString & aAcceptCharset) = 0;
  NS_IMETHOD SetAcceptCharset(const nsAString & aAcceptCharset) = 0;

  /* attribute DOMString action; */
  NS_IMETHOD GetAction(nsAString & aAction) = 0;
  NS_IMETHOD SetAction(const nsAString & aAction) = 0;

  /* attribute DOMString autocomplete; */
  NS_IMETHOD GetAutocomplete(nsAString & aAutocomplete) = 0;
  NS_IMETHOD SetAutocomplete(const nsAString & aAutocomplete) = 0;

  /* attribute DOMString enctype; */
  NS_IMETHOD GetEnctype(nsAString & aEnctype) = 0;
  NS_IMETHOD SetEnctype(const nsAString & aEnctype) = 0;

  /* attribute DOMString encoding; */
  NS_IMETHOD GetEncoding(nsAString & aEncoding) = 0;
  NS_IMETHOD SetEncoding(const nsAString & aEncoding) = 0;

  /* attribute DOMString method; */
  NS_IMETHOD GetMethod(nsAString & aMethod) = 0;
  NS_IMETHOD SetMethod(const nsAString & aMethod) = 0;

  /* attribute DOMString name; */
  NS_IMETHOD GetName(nsAString & aName) = 0;
  NS_IMETHOD SetName(const nsAString & aName) = 0;

  /* attribute boolean noValidate; */
  NS_IMETHOD GetNoValidate(bool *aNoValidate) = 0;
  NS_IMETHOD SetNoValidate(bool aNoValidate) = 0;

  /* attribute DOMString target; */
  NS_IMETHOD GetTarget(nsAString & aTarget) = 0;
  NS_IMETHOD SetTarget(const nsAString & aTarget) = 0;

  /* readonly attribute nsIDOMHTMLCollection elements; */
  NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) = 0;

  /* readonly attribute long length; */
  NS_IMETHOD GetLength(int32_t *aLength) = 0;

  /* void submit (); */
  NS_IMETHOD Submit(void) = 0;

  /* void reset (); */
  NS_IMETHOD Reset(void) = 0;

  /* boolean checkValidity (); */
  NS_IMETHOD CheckValidity(bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFormElement, NS_IDOMHTMLFORMELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLFORMELEMENT \
  NS_IMETHOD GetAcceptCharset(nsAString & aAcceptCharset) override; \
  NS_IMETHOD SetAcceptCharset(const nsAString & aAcceptCharset) override; \
  NS_IMETHOD GetAction(nsAString & aAction) override; \
  NS_IMETHOD SetAction(const nsAString & aAction) override; \
  NS_IMETHOD GetAutocomplete(nsAString & aAutocomplete) override; \
  NS_IMETHOD SetAutocomplete(const nsAString & aAutocomplete) override; \
  NS_IMETHOD GetEnctype(nsAString & aEnctype) override; \
  NS_IMETHOD SetEnctype(const nsAString & aEnctype) override; \
  NS_IMETHOD GetEncoding(nsAString & aEncoding) override; \
  NS_IMETHOD SetEncoding(const nsAString & aEncoding) override; \
  NS_IMETHOD GetMethod(nsAString & aMethod) override; \
  NS_IMETHOD SetMethod(const nsAString & aMethod) override; \
  NS_IMETHOD GetName(nsAString & aName) override; \
  NS_IMETHOD SetName(const nsAString & aName) override; \
  NS_IMETHOD GetNoValidate(bool *aNoValidate) override; \
  NS_IMETHOD SetNoValidate(bool aNoValidate) override; \
  NS_IMETHOD GetTarget(nsAString & aTarget) override; \
  NS_IMETHOD SetTarget(const nsAString & aTarget) override; \
  NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override; \
  NS_IMETHOD GetLength(int32_t *aLength) override; \
  NS_IMETHOD Submit(void) override; \
  NS_IMETHOD Reset(void) override; \
  NS_IMETHOD CheckValidity(bool *_retval) 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_NSIDOMHTMLFORMELEMENT \
  nsresult GetAcceptCharset(nsAString & aAcceptCharset); \
  nsresult SetAcceptCharset(const nsAString & aAcceptCharset); \
  nsresult GetAction(nsAString & aAction); \
  nsresult SetAction(const nsAString & aAction); \
  nsresult GetAutocomplete(nsAString & aAutocomplete); \
  nsresult SetAutocomplete(const nsAString & aAutocomplete); \
  nsresult GetEnctype(nsAString & aEnctype); \
  nsresult SetEnctype(const nsAString & aEnctype); \
  nsresult GetEncoding(nsAString & aEncoding); \
  nsresult SetEncoding(const nsAString & aEncoding); \
  nsresult GetMethod(nsAString & aMethod); \
  nsresult SetMethod(const nsAString & aMethod); \
  nsresult GetName(nsAString & aName); \
  nsresult SetName(const nsAString & aName); \
  nsresult GetNoValidate(bool *aNoValidate); \
  nsresult SetNoValidate(bool aNoValidate); \
  nsresult GetTarget(nsAString & aTarget); \
  nsresult SetTarget(const nsAString & aTarget); \
  nsresult GetElements(nsIDOMHTMLCollection * *aElements); \
  nsresult GetLength(int32_t *aLength); \
  nsresult Submit(void); \
  nsresult Reset(void); \
  nsresult CheckValidity(bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLFORMELEMENT(_to) \
  NS_IMETHOD GetAcceptCharset(nsAString & aAcceptCharset) override { return _to GetAcceptCharset(aAcceptCharset); } \
  NS_IMETHOD SetAcceptCharset(const nsAString & aAcceptCharset) override { return _to SetAcceptCharset(aAcceptCharset); } \
  NS_IMETHOD GetAction(nsAString & aAction) override { return _to GetAction(aAction); } \
  NS_IMETHOD SetAction(const nsAString & aAction) override { return _to SetAction(aAction); } \
  NS_IMETHOD GetAutocomplete(nsAString & aAutocomplete) override { return _to GetAutocomplete(aAutocomplete); } \
  NS_IMETHOD SetAutocomplete(const nsAString & aAutocomplete) override { return _to SetAutocomplete(aAutocomplete); } \
  NS_IMETHOD GetEnctype(nsAString & aEnctype) override { return _to GetEnctype(aEnctype); } \
  NS_IMETHOD SetEnctype(const nsAString & aEnctype) override { return _to SetEnctype(aEnctype); } \
  NS_IMETHOD GetEncoding(nsAString & aEncoding) override { return _to GetEncoding(aEncoding); } \
  NS_IMETHOD SetEncoding(const nsAString & aEncoding) override { return _to SetEncoding(aEncoding); } \
  NS_IMETHOD GetMethod(nsAString & aMethod) override { return _to GetMethod(aMethod); } \
  NS_IMETHOD SetMethod(const nsAString & aMethod) override { return _to SetMethod(aMethod); } \
  NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
  NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
  NS_IMETHOD GetNoValidate(bool *aNoValidate) override { return _to GetNoValidate(aNoValidate); } \
  NS_IMETHOD SetNoValidate(bool aNoValidate) override { return _to SetNoValidate(aNoValidate); } \
  NS_IMETHOD GetTarget(nsAString & aTarget) override { return _to GetTarget(aTarget); } \
  NS_IMETHOD SetTarget(const nsAString & aTarget) override { return _to SetTarget(aTarget); } \
  NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override { return _to GetElements(aElements); } \
  NS_IMETHOD GetLength(int32_t *aLength) override { return _to GetLength(aLength); } \
  NS_IMETHOD Submit(void) override { return _to Submit(); } \
  NS_IMETHOD Reset(void) override { return _to Reset(); } \
  NS_IMETHOD CheckValidity(bool *_retval) override { return _to CheckValidity(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMHTMLFORMELEMENT(_to) \
  NS_IMETHOD GetAcceptCharset(nsAString & aAcceptCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAcceptCharset(aAcceptCharset); } \
  NS_IMETHOD SetAcceptCharset(const nsAString & aAcceptCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAcceptCharset(aAcceptCharset); } \
  NS_IMETHOD GetAction(nsAString & aAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAction(aAction); } \
  NS_IMETHOD SetAction(const nsAString & aAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAction(aAction); } \
  NS_IMETHOD GetAutocomplete(nsAString & aAutocomplete) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutocomplete(aAutocomplete); } \
  NS_IMETHOD SetAutocomplete(const nsAString & aAutocomplete) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutocomplete(aAutocomplete); } \
  NS_IMETHOD GetEnctype(nsAString & aEnctype) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnctype(aEnctype); } \
  NS_IMETHOD SetEnctype(const nsAString & aEnctype) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnctype(aEnctype); } \
  NS_IMETHOD GetEncoding(nsAString & aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
  NS_IMETHOD SetEncoding(const nsAString & aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); } \
  NS_IMETHOD GetMethod(nsAString & aMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMethod(aMethod); } \
  NS_IMETHOD SetMethod(const nsAString & aMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMethod(aMethod); } \
  NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  NS_IMETHOD GetNoValidate(bool *aNoValidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoValidate(aNoValidate); } \
  NS_IMETHOD SetNoValidate(bool aNoValidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoValidate(aNoValidate); } \
  NS_IMETHOD GetTarget(nsAString & aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(aTarget); } \
  NS_IMETHOD SetTarget(const nsAString & aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTarget(aTarget); } \
  NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElements(aElements); } \
  NS_IMETHOD GetLength(int32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
  NS_IMETHOD Submit(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Submit(); } \
  NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
  NS_IMETHOD CheckValidity(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckValidity(_retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMHTMLFormElement : public nsIDOMHTMLFormElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMHTMLFORMELEMENT

  nsDOMHTMLFormElement();

private:
  ~nsDOMHTMLFormElement();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMHTMLFormElement, nsIDOMHTMLFormElement)

nsDOMHTMLFormElement::nsDOMHTMLFormElement()
{
  /* member initializers and constructor code */
}

nsDOMHTMLFormElement::~nsDOMHTMLFormElement()
{
  /* destructor code */
}

/* attribute DOMString acceptCharset; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetAcceptCharset(nsAString & aAcceptCharset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetAcceptCharset(const nsAString & aAcceptCharset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString action; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetAction(nsAString & aAction)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetAction(const nsAString & aAction)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString autocomplete; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetAutocomplete(nsAString & aAutocomplete)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetAutocomplete(const nsAString & aAutocomplete)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString enctype; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetEnctype(nsAString & aEnctype)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetEnctype(const nsAString & aEnctype)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString encoding; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetEncoding(nsAString & aEncoding)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetEncoding(const nsAString & aEncoding)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString method; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetMethod(nsAString & aMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetMethod(const nsAString & aMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString name; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetName(nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetName(const nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean noValidate; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetNoValidate(bool *aNoValidate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetNoValidate(bool aNoValidate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute DOMString target; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetTarget(nsAString & aTarget)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMHTMLFormElement::SetTarget(const nsAString & aTarget)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMHTMLCollection elements; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetElements(nsIDOMHTMLCollection * *aElements)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long length; */
NS_IMETHODIMP nsDOMHTMLFormElement::GetLength(int32_t *aLength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void submit (); */
NS_IMETHODIMP nsDOMHTMLFormElement::Submit()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void reset (); */
NS_IMETHODIMP nsDOMHTMLFormElement::Reset()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean checkValidity (); */
NS_IMETHODIMP nsDOMHTMLFormElement::CheckValidity(bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMHTMLFormElement_h__ */