xpcom/ds/nsIWritablePropertyBag2.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/ds/nsIWritablePropertyBag2.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/* nsIVariant based Property Bag support. */
     1.9 +
    1.10 +#include "nsIPropertyBag2.idl"
    1.11 +
    1.12 +[scriptable, uuid(9cfd1587-360e-4957-a58f-4c2b1c5e7ed9)]
    1.13 +interface nsIWritablePropertyBag2 : nsIPropertyBag2
    1.14 +{
    1.15 +  void        setPropertyAsInt32       (in AString prop, in int32_t value);
    1.16 +  void        setPropertyAsUint32      (in AString prop, in uint32_t value);
    1.17 +  void        setPropertyAsInt64       (in AString prop, in int64_t value);
    1.18 +  void        setPropertyAsUint64      (in AString prop, in uint64_t value);
    1.19 +  void        setPropertyAsDouble      (in AString prop, in double value);
    1.20 +  void        setPropertyAsAString     (in AString prop, in AString value);
    1.21 +  void        setPropertyAsACString    (in AString prop, in ACString value);
    1.22 +  void        setPropertyAsAUTF8String (in AString prop, in AUTF8String value);
    1.23 +  void        setPropertyAsBool        (in AString prop, in boolean value);
    1.24 +  void        setPropertyAsInterface   (in AString prop, in nsISupports value);
    1.25 +};

mercurial