1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/events/nsIDOMSmartCardEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsIDOMEvent.idl" 1.10 + 1.11 +%{C++ 1.12 +#define SMARTCARDEVENT_INSERT "smartcard-insert" 1.13 +#define SMARTCARDEVENT_REMOVE "smartcard-remove" 1.14 +%} 1.15 + 1.16 +[scriptable, builtinclass, uuid(cd251f11-7020-4f85-a7bd-94c98d884fa7)] 1.17 +interface nsIDOMSmartCardEvent : nsIDOMEvent 1.18 +{ 1.19 + readonly attribute DOMString tokenName; 1.20 + [noscript] void initSmartCardEvent(in DOMString aTypeArg, 1.21 + in boolean aCanBubbleArg, 1.22 + in boolean aCancelableArg, 1.23 + in DOMString aTokenNAme); 1.24 +};