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: [scriptable, uuid(4d4389e0-1547-11e3-8ffd-0800200c9a66)] michael@0: interface nsIWifiEventListener : nsISupports { michael@0: void onWaitEvent(in AString event, in ACString aInterface); michael@0: void onCommand(in jsval result, in ACString aInterface); michael@0: }; michael@0: michael@0: [scriptable, uuid(5e2bd8c0-1547-11e3-8ffd-0800200c9a66)] michael@0: interface nsIWifiProxyService : nsISupports { michael@0: void start(in nsIWifiEventListener listener, michael@0: [array, size_is(aNumOfInterface)] in string aInterfaces, michael@0: in unsigned long aNumOfInterface); michael@0: void shutdown(); michael@0: [implicit_jscontext] michael@0: void sendCommand(in jsval parameters, in ACString aInterface); michael@0: void waitForEvent(in ACString aInterface); michael@0: };