2013-01-23 22:42:03 -08:00
|
|
|
/* 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"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Information about networks that is exposed to network manager API consumers.
|
|
|
|
*/
|
2013-10-31 23:53:37 -07:00
|
|
|
[scriptable, builtinclass, uuid(a9ea96a0-407d-11e3-aa6e-0800200c9a66)]
|
2013-01-23 22:42:03 -08:00
|
|
|
interface nsISystemWorkerManager : nsISupports
|
|
|
|
{
|
|
|
|
[implicit_jscontext]
|
2013-02-04 05:26:43 -08:00
|
|
|
void registerRilWorker(in unsigned long aClientId,
|
|
|
|
in jsval aWorker);
|
2013-10-31 23:53:37 -07:00
|
|
|
|
|
|
|
[implicit_jscontext]
|
|
|
|
void registerNfcWorker(in jsval aWorker);
|
2013-01-23 22:42:03 -08:00
|
|
|
};
|