30 #ifndef __NETWORKPROXYIMPORT_H__
31 #define __NETWORKPROXYIMPORT_H__
33 #include <nsISupportsPrimitives.h>
34 #include "sbINetworkProxyImport.h"
38 #ifndef NS_DECL_ISUPPORTS
42 #define SONGBIRD_NetworkProxyImport_CONTRACTID \
43 "@songbirdnest.com/Songbird/NetworkProxyImport;1"
44 #define SONGBIRD_NetworkProxyImport_CLASSNAME \
45 "Songbird NetworkProxy Import Component"
46 #define SONGBIRD_NetworkProxyImport_CID \
48 0xcaece57b, 0x6634, 0x491e, \
49 { 0xa8, 0x58, 0x9c, 0x99, 0xab, 0x87, 0x3d, 0xc4 } \
56 NS_DECL_SBINETWORKPROXYIMPORT
68 const char* aPortPref,
75 nsresult ImportProxySettings_IE(PRBool *_retval);
78 #endif // __NETWORKPROXYIMPORT_H__
virtual ~CNetworkProxyImport()
static void SetProxyPref(const nsAString &aHostPort, const char *aPref, const char *aPortPref, nsIPrefBranch *aPrefs)
static void ParseOverrideServers(const nsAString &aServers, nsIPrefBranch *aBranch)
static void SetUnicharPref(const char *aPref, const nsAString &aValue, nsIPrefBranch *aPrefs)
NS_DECL_ISUPPORTS NS_DECL_SBINETWORKPROXYIMPORT CNetworkProxyImport()
A service to import network proxy settings from several sources.
nsresult ImportProxySettings_Auto(PRBool *_retval)