1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/storage/public/mozIStorageBindingParamsArray.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 1.5 + * vim: sw=2 ts=2 sts=2 et 1.6 + * This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 + 1.10 +#include "nsISupports.idl" 1.11 + 1.12 +interface mozIStorageBindingParams; 1.13 + 1.14 +[scriptable, uuid(67eea5c3-4881-41ff-b0fe-09f2356aeadb)] 1.15 +interface mozIStorageBindingParamsArray : nsISupports { 1.16 + /** 1.17 + * Creates a new mozIStorageBindingParams object that can be added to this 1.18 + * array. 1.19 + * 1.20 + * @return a mozIStorageBindingParams object that can be used to specify 1.21 + * parameters that need to be bound. 1.22 + */ 1.23 + mozIStorageBindingParams newBindingParams(); 1.24 + 1.25 + /** 1.26 + * Adds the parameters to the end of this array. 1.27 + * 1.28 + * @param aParameters 1.29 + * The parameters to add to this array. 1.30 + */ 1.31 + void addParams(in mozIStorageBindingParams aParameters); 1.32 + 1.33 + /** 1.34 + * The number of mozIStorageBindingParams this object contains. 1.35 + */ 1.36 + readonly attribute unsigned long length; 1.37 +};