netwerk/wifi/nsIWifiMonitor.idl
author Chris Pearce <cpearce@mozilla.com>
Thu, 28 Nov 2013 11:12:22 +1300
changeset 173467 499c81cdff30765f7a563c61faff15e56650119d
parent 163001 2b66295c3d202ba8a0260f6cf3ab744c893d8526
permissions -rw-r--r--
Bug 944088 - Make MP4Reader::Init() assume mLayersBackendType=LAYERS_NONE if it doesn't have a decoder owner. r=kinetik This ensures that if the MP4Reader fails to get a decoder owner, we don't abort the media load, but instead we will assume that we don't have an advanced layers backend, and so fallback to software decoding on Windows.

/* 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 nsIWifiListener;

[scriptable, uuid(F289701E-D9AF-4685-BC2F-E4226FF7C018)]
interface nsIWifiMonitor : nsISupports
{

  /*
   * startWatching
   * aListener will be called once, then each time the list of wifi access points change.
   */
  void startWatching(in nsIWifiListener aListener);

  /*
   * stopWatching
   * cancels all notifications to the |aListener|.
   */
  void stopWatching(in nsIWifiListener aListener);
};