/* 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"

[scriptable, builtinclass, uuid(b05dd60a-bfb8-4428-982e-c7f20e77b673)]
interface nsIDOMMozContactChangeEvent : nsIDOMEvent
{
  readonly attribute DOMString contactID;
  readonly attribute DOMString reason;

  [noscript] void initMozContactChangeEvent(in DOMString aType,
                                            in boolean aCanBubble,
                                            in boolean aCancelable,
                                            in DOMString aContactID,
                                            in DOMString aReason);
};

dictionary MozContactChangeEventInit : EventInit
{
  DOMString contactID;
  DOMString reason;
};
