content/base/public/nsIDOMFormData.idl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:a7aa9e94a177
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #include "nsISupports.idl"
7
8 interface nsIVariant;
9
10 [scriptable, uuid(256c9139-5a29-41e1-8698-f9f9aae7d6cf)]
11 interface nsIDOMFormData : nsISupports
12 {
13 void append(in DOMString name, in nsIVariant value);
14 };
15
16 %{ C++
17 #define NS_FORMDATA_CID \
18 { 0x6b192618, 0x26f2, 0x426e, \
19 { 0xa7, 0xac, 0x1e, 0x13, 0xa6, 0xa4, 0x52, 0x2b } }
20
21 #define NS_FORMDATA_CONTRACTID "@mozilla.org/files/formdata;1"
22 %}

mercurial