michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIDOMEvent.idl" michael@0: michael@0: %{C++ michael@0: #define SMARTCARDEVENT_INSERT "smartcard-insert" michael@0: #define SMARTCARDEVENT_REMOVE "smartcard-remove" michael@0: %} michael@0: michael@0: [scriptable, builtinclass, uuid(cd251f11-7020-4f85-a7bd-94c98d884fa7)] michael@0: interface nsIDOMSmartCardEvent : nsIDOMEvent michael@0: { michael@0: readonly attribute DOMString tokenName; michael@0: [noscript] void initSmartCardEvent(in DOMString aTypeArg, michael@0: in boolean aCanBubbleArg, michael@0: in boolean aCancelableArg, michael@0: in DOMString aTokenNAme); michael@0: };