gecko-dev/dom/nfc/gonk/nsINfcService.idl
Yoshi Huang 974b6f055e Bug 1097442 - Part 2: rename nsINfcEventListener. r=dimi
From f2abd94c7d0c1f79c55b813bcd32a1b2761949d1 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js             | 2 +-
 dom/nfc/gonk/NfcService.cpp     | 2 +-
 dom/nfc/gonk/NfcService.h       | 2 +-
 dom/nfc/gonk/nsINfcService.idl  | 8 ++++----
 dom/nfc/nsINfcContentHelper.idl | 6 +++---
 dom/nfc/nsNfc.js                | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
2014-11-12 11:22:36 +08:00

22 lines
607 B
Plaintext

/* 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 "nsISupports.idl"
[scriptable, uuid(cc9f1e96-fddc-4d98-8399-8d11c4f640aa)]
interface nsINfcGonkEventListener : nsISupports
{
void onEvent(in jsval event);
};
[scriptable, uuid(8beeb4cd-5661-4e67-83ca-d335f0801484)]
interface nsINfcService : nsISupports
{
void start(in nsINfcGonkEventListener listener);
void shutdown();
[implicit_jscontext]
void sendCommand(in jsval param);
};