1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include
"nsISupports.idl"
7 [scriptable
, uuid(976d2074
-cb40
-41f7
-a195
-8feee42eaace
)]
8 interface nsINfcEventListener
: nsISupports
10 void onEvent
(in jsval event
);
13 [scriptable
, uuid(0329e687
-87ff
-4cf5
-8aa5
-e876d9d4a375
)]
14 interface nsINfcService
: nsISupports
16 void start
(in nsINfcEventListener listener
);
20 void sendCommand
(in jsval param
);