michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIWifiListener; michael@0: michael@0: [scriptable, uuid(F289701E-D9AF-4685-BC2F-E4226FF7C018)] michael@0: interface nsIWifiMonitor : nsISupports michael@0: { michael@0: michael@0: /* michael@0: * startWatching michael@0: * aListener will be called once, then each time the list of wifi access points change. michael@0: */ michael@0: void startWatching(in nsIWifiListener aListener); michael@0: michael@0: /* michael@0: * stopWatching michael@0: * cancels all notifications to the |aListener|. michael@0: */ michael@0: void stopWatching(in nsIWifiListener aListener); michael@0: };