/* 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(0be33bb9-930f-410b-8d61-a0fc5f4dcf7d)]
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;
};
