merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / installation / XProtocolHandlerCheck.idl
blob8f90d42d53797cf40b70571be3de197601354dfe
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XProtocolHandlerCheck.idl,v $
10 * $Revision: 1.12 $
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 ************************************************************************/
30 #ifndef __com_sun_star_installation_XProtocolHandlerCheck_idl__
31 #define __com_sun_star_installation_XProtocolHandlerCheck_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include <com/sun/star/uno/XInterface.idl>
35 #endif
37 #ifndef __com_sun_star_installation_ProtDlgRes_idl__
38 #include <com/sun/star/installation/ProtDlgRes.idl>
39 #endif
42 //=============================================================================
44 module com { module sun { module star { module installation {
46 //=============================================================================
48 /// @deprecated
49 published interface XProtocolHandlerCheck: com::sun::star::uno::XInterface
51 //-------------------------------------------------------------------------
53 // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::isSingleSettingAvailable
54 /** checks if it is possible to set particular protocols.
56 boolean isSingleSettingAvailable();
58 //-------------------------------------------------------------------------
60 // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::isProtocolHandler
61 /** checks if StarOffice is the protocol-handler, for the particular protocol
63 boolean isProtocolHandler( [in] short nWhich );
65 //-------------------------------------------------------------------------
67 // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::setProtocolHandler
68 /** Make StarOffice the protocol-handler.@see isProtocolHandler
70 boolean setProtocolHandler( [in] short nWhich );
72 //-------------------------------------------------------------------------
74 // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::checkProtocolHandler
75 /** First, the method checks if StarOffice is
76 already the protocol-handler. If yes, simply
77 return NOCHANGE; otherwise, show a dialog which asks the user
78 if he wants StarOffice to be the standard protocol-handler.
79 The dialog has "Yes" and "No" buttons, and a checkbox
80 with "Always display this message". The checkbox
81 is initially checked. If the "Yes" button was pressed,
82 it performs all neccessary action to make StarOffice the
83 protocol-handler. If the "No" button was pressed,
84 don't perform any action. Both buttons closes the dialog.@see isProtocolHandler
86 com::sun::star::installation::ProtDlgRes checkProtocolHandler( [in] short nWhich );
88 };
90 //=============================================================================
92 }; }; }; };
94 #endif