/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIDOMEvent.idl"
interface nsIVariant;

[scriptable, builtinclass, uuid(d5081bf4-6a63-4ee6-8ce6-f488082dc08f)]
interface nsIDOMMozSettingsEvent : nsIDOMEvent
{
  readonly attribute DOMString  settingName;
  readonly attribute nsIVariant settingValue;

  [noscript] void initMozSettingsEvent(in DOMString aType,
                                       in boolean aCanBubble,
                                       in boolean aCancelable,
                                       in DOMString aSettingName,
                                       in nsIVariant aSettingValue);
};

dictionary MozSettingsEventInit : EventInit
{
  DOMString  settingName;
  nsIVariant settingValue;
};
