/* 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 nsIDOMMozCellBroadcastMessage;

[scriptable, builtinclass, uuid(f955095f-01e4-4520-b299-7124ec7c63aa)]
interface nsIDOMMozCellBroadcastEvent : nsIDOMEvent
{
  //[binaryname(MessageMoz)]
  readonly attribute nsIDOMMozCellBroadcastMessage message;

  [noscript] void initMozCellBroadcastEvent(in DOMString aType,
                                            in boolean aCanBubble,
                                            in boolean aCancelable,
                                            in nsIDOMMozCellBroadcastMessage aMessage);
};

dictionary MozCellBroadcastEventInit : EventInit
{
  //[binaryname(MessageMoz)]
  nsIDOMMozCellBroadcastMessage message;
};
