michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 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 nsISocketProvider; michael@0: michael@0: /** michael@0: * nsISocketProviderService michael@0: * michael@0: * Provides a mapping between a socket type and its associated socket provider michael@0: * instance. One could also use the service manager directly. michael@0: */ michael@0: [scriptable, uuid(8f8a23d0-5472-11d3-bbc8-0000861d1237)] michael@0: interface nsISocketProviderService : nsISupports michael@0: { michael@0: nsISocketProvider getSocketProvider(in string socketType); michael@0: };