2001-09-28 20:14:13 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
1999-08-22 14:40:41 +00:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
interface nsISocketProvider;
|
|
|
|
|
2003-09-11 20:32:33 +00:00
|
|
|
/**
|
|
|
|
* nsISocketProviderService
|
|
|
|
*
|
|
|
|
* Provides a mapping between a socket type and its associated socket provider
|
|
|
|
* instance. One could also use the service manager directly.
|
|
|
|
*/
|
2005-03-18 15:27:46 +00:00
|
|
|
[scriptable, uuid(8f8a23d0-5472-11d3-bbc8-0000861d1237)]
|
1999-08-22 14:40:41 +00:00
|
|
|
interface nsISocketProviderService : nsISupports
|
|
|
|
{
|
2003-09-11 20:32:33 +00:00
|
|
|
nsISocketProvider getSocketProvider(in string socketType);
|
1999-08-22 14:40:41 +00:00
|
|
|
};
|