/* 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.
 */
[scriptable, builtinclass, uuid(a9ea96a0-407d-11e3-aa6e-0800200c9a66)]
interface nsISystemWorkerManager : nsISupports
{
  [implicit_jscontext]
  void registerRilWorker(in unsigned long aClientId,
                         in jsval aWorker);

  [implicit_jscontext]
  void registerNfcWorker(in jsval aWorker);
};
