mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

From 774da50e697c2d194146d1f0ff748aa6f31fe8dc Mon Sep 17 00:00:00 2001 --- dom/nfc/gonk/Nfc.js | 36 ++++++++++++++++++++++++++++++++++-- dom/nfc/gonk/nsINfcSystemMessage.idl | 25 +++++++++++++++++++++++++ dom/nfc/moz.build | 1 + 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 dom/nfc/gonk/nsINfcSystemMessage.idl
26 lines
749 B
Plaintext
26 lines
749 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"
|
|
|
|
interface nsIDOMBlob ;
|
|
interface nsIVariant;
|
|
|
|
[scriptable, uuid(ff0b1622-0e79-4d97-8153-6244a2410eee)]
|
|
interface nsINfcTechDiscoveredSysMsg : nsISupports
|
|
{
|
|
readonly attribute DOMString sessionToken;
|
|
readonly attribute boolean isP2P;
|
|
readonly attribute nsIVariant records;
|
|
};
|
|
|
|
[scriptable, uuid(31c334f5-f072-451f-9405-19d0ac7ae7d1)]
|
|
interface nsINfcSendFileSysMsg : nsISupports
|
|
{
|
|
readonly attribute DOMString requestId;
|
|
readonly attribute DOMString sessionToken;
|
|
readonly attribute nsIDOMBlob blob;
|
|
};
|
|
|