1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XProxySettings.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_system_XProxySettings_idl__
32 #define __com_sun_star_system_XProxySettings_idl__
34 #ifndef __com_sun_star_uno_RuntimeException_idl__
35 #include
<com
/sun
/star
/uno
/RuntimeException.idl
>
38 #ifndef __com_sun_star_uno_XInterface_idl__
39 #include
<com
/sun
/star
/uno
/XInterface.idl
>
42 //=============================================================================
44 module com
{ module sun
{ module star
{ module system
{
46 //=============================================================================
47 /** Enables access to different proxy settings. If particular settings are not
48 available an empty string will be returned.
53 published
interface XProxySettings
: com
::sun
::star
::uno
::XInterface
55 //-------------------------------------------------------------------------
56 /** Access to the Ftp proxy address.
58 The address of the ftp proxy server, if any has been specified.
60 string getFtpProxyAddress
( );
62 //-------------------------------------------------------------------------
63 /** Access to the Ftp proxy port.
65 The port of the ftp proxy server, if any has been specified.
67 string getFtpProxyPort
( );
69 //-------------------------------------------------------------------------
70 /** Access to the Gopher proxy address.
72 The address of the gopher proxy server, if any has been specified.
74 string getGopherProxyAddress
( );
76 //-------------------------------------------------------------------------
77 /** Access to the Gopher proxy port.
79 The port of the gopher proxy server, if any has been specified.
81 string getGopherProxyPort
( );
83 //-------------------------------------------------------------------------
84 /** Access to the Http proxy address.
86 The address of the http proxy server, if any has been specified.
88 string getHttpProxyAddress
( );
90 //-------------------------------------------------------------------------
91 /** Access to the Http proxy port.
93 The port of the http proxy server, if any has been specified.
95 string getHttpProxyPort
( );
97 //-------------------------------------------------------------------------
98 /** Access to the Https proxy address.
100 The address of the https proxy server, if any has been specified.
102 string getHttpsProxyAddress
( );
104 //-------------------------------------------------------------------------
105 /** Access to the Https proxy port.
107 The port of the https proxy server, if any has been specified.
109 string getHttpsProxyPort
( );
111 //-------------------------------------------------------------------------
112 /** Access to the Socks proxy address.
114 The address of the socks proxy server, if any has been specified.
116 string getSocksProxyAddress
( );
118 //-------------------------------------------------------------------------
119 /** Access to the Socks proxy port.
121 The port of the socks proxy server, if any has been specified.
123 string getSocksProxyPort
( );
125 //-------------------------------------------------------------------------
126 /** Access to the Proxy-Bypass address.
128 A string of ';' separated addresses for which no proxy server
131 string getProxyBypassAddress
( );
133 //-------------------------------------------------------------------------
134 /** Either a proxy is enabled or not.
136 A value of <TRUE/> if a proxy is enabled.
137 <p>A value of <FALSE/> if a proxy is disabled.</p>
139 boolean isProxyEnabled
( );
142 //=============================================================================