/* 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(05d269bc-7049-4df8-b72f-4318aaee54de)]
interface nsIDOMICCCardLockErrorEvent : nsIDOMEvent
{
  readonly attribute DOMString lockType;
  readonly attribute long retryCount;

  [noscript] void initICCCardLockErrorEvent(in DOMString aType,
                                            in boolean aCanBubble,
                                            in boolean aCancelable,
                                            in DOMString aLockType,
                                            in int32_t aRetryCount);
};

dictionary ICCCardLockErrorEventInit : EventInit
{
  DOMString  lockType;
  long       retryCount;
};
