summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/installation
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/installation')
-rw-r--r--offapi/com/sun/star/installation/InstallationCheck.idl64
-rw-r--r--offapi/com/sun/star/installation/InstallationCheckService.idl61
-rw-r--r--offapi/com/sun/star/installation/InternetSettings.idl52
-rw-r--r--offapi/com/sun/star/installation/ProtDlgRes.idl72
-rw-r--r--offapi/com/sun/star/installation/ProtocolHandlerCheck.idl52
-rw-r--r--offapi/com/sun/star/installation/ProtocolHandlerCheckService.idl52
-rw-r--r--offapi/com/sun/star/installation/XInstallationCheck.idl114
-rw-r--r--offapi/com/sun/star/installation/XProtocolHandlerCheck.idl91
-rw-r--r--offapi/com/sun/star/installation/makefile.mk55
-rw-r--r--offapi/com/sun/star/installation/protocols.idl94
10 files changed, 707 insertions, 0 deletions
diff --git a/offapi/com/sun/star/installation/InstallationCheck.idl b/offapi/com/sun/star/installation/InstallationCheck.idl
new file mode 100644
index 000000000000..80b3b4ecbe19
--- /dev/null
+++ b/offapi/com/sun/star/installation/InstallationCheck.idl
@@ -0,0 +1,64 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_InstallationCheck_idl__
+#define __com_sun_star_installation_InstallationCheck_idl__
+
+#ifndef __com_sun_star_installation_XInstallationCheck_idl__
+#include <com/sun/star/installation/XInstallationCheck.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module installation {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::installation::InstallationCheck
+/** is a simple implementation of the <type>XInstallationCheck</type>.
+
+ <p> This implementation only checks the fonts "StarBats" and "StarMath".
+ </p>
+ <p> When running under Win32 the methods check and checkWithDialog will try to
+ fix any missing RegistryKey of fonts which still reside in the font directory.
+ </p>
+ <p>If it is possbile to fix, the method returns <TRUE/>.
+ </p>
+
+ @see XInstallationCheck
+ @deprecated
+ */
+published service InstallationCheck
+{
+ // DocMerge: empty anyway
+ interface com::sun::star::installation::XInstallationCheck;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/InstallationCheckService.idl b/offapi/com/sun/star/installation/InstallationCheckService.idl
new file mode 100644
index 000000000000..0036c521d33f
--- /dev/null
+++ b/offapi/com/sun/star/installation/InstallationCheckService.idl
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_InstallationCheckService_idl__
+#define __com_sun_star_installation_InstallationCheckService_idl__
+
+#ifndef __com_sun_star_installation_XInstallationCheck_idl__
+#include <com/sun/star/installation/XInstallationCheck.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module installation {
+
+//=============================================================================
+/** This service is a simple implementation of the interface XInstallationCheck.
+
+ <p>This implementation only checks the fonts "StarBats" and "StarMath".
+ When running under Win32 the methods check and checkWithDialog will try to
+ fix any missing RegistryKey of fonts which still reside in the font directory.
+ If fixing is possible the methods returns TRUE.</p>
+ @version 1.0
+ @author Berndt Reinhold
+ @see XInstallationCheck
+ @deprecated
+*/
+published service InstallationCheckService
+{
+ interface com::sun::star::installation::XInstallationCheck;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/InternetSettings.idl b/offapi/com/sun/star/installation/InternetSettings.idl
new file mode 100644
index 000000000000..578bfa592f1e
--- /dev/null
+++ b/offapi/com/sun/star/installation/InternetSettings.idl
@@ -0,0 +1,52 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_InternetSettings_idl__
+#define __com_sun_star_installation_InternetSettings_idl__
+
+#ifndef __com_sun_star_container_XNameAccess_idl__
+#include <com/sun/star/container/XNameAccess.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module installation {
+
+//=============================================================================
+
+/// @deprecated
+published service InternetSettings
+{
+ // DocMerge: empty anyway
+ interface com::sun::star::container::XNameAccess;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/ProtDlgRes.idl b/offapi/com/sun/star/installation/ProtDlgRes.idl
new file mode 100644
index 000000000000..a27b3776b19e
--- /dev/null
+++ b/offapi/com/sun/star/installation/ProtDlgRes.idl
@@ -0,0 +1,72 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_ProtDlgRes_idl__
+#define __com_sun_star_installation_ProtDlgRes_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module installation {
+
+//=============================================================================
+
+/** contains the status of a dialog with an 'always display Checkbox'.
+
+ @deprecated
+ */
+published enum ProtDlgRes
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::installation::ProtDlgRes::NOCHANGE
+ /** dialog quit without the use of the YES/NO buttons.
+ */
+ NOCHANGE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::installation::ProtDlgRes::CHECK
+ /** when the dialog quit the checkbox, "Always display this message" was
+ checked.
+ */
+ CHECK,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::installation::ProtDlgRes::UNCHECK
+ /** when the dialog quit the checkbox, "Always display this message"
+ was not checked.
+ */
+ UNCHECK
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/ProtocolHandlerCheck.idl b/offapi/com/sun/star/installation/ProtocolHandlerCheck.idl
new file mode 100644
index 000000000000..e18062e667c5
--- /dev/null
+++ b/offapi/com/sun/star/installation/ProtocolHandlerCheck.idl
@@ -0,0 +1,52 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_ProtocolHandlerCheck_idl__
+#define __com_sun_star_installation_ProtocolHandlerCheck_idl__
+
+#ifndef __com_sun_star_installation_XProtocolHandlerCheck_idl__
+#include <com/sun/star/installation/XProtocolHandlerCheck.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module installation {
+
+//=============================================================================
+
+/// @deprecated
+published service ProtocolHandlerCheck
+{
+ // DocMerge: empty anyway
+ interface com::sun::star::installation::XProtocolHandlerCheck;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/ProtocolHandlerCheckService.idl b/offapi/com/sun/star/installation/ProtocolHandlerCheckService.idl
new file mode 100644
index 000000000000..e2a9bc1b1830
--- /dev/null
+++ b/offapi/com/sun/star/installation/ProtocolHandlerCheckService.idl
@@ -0,0 +1,52 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_ProtocolHandlerCheckService_idl__
+#define __com_sun_star_installation_ProtocolHandlerCheckService_idl__
+
+#ifndef __com_sun_star_installation_XProtocolHandlerCheck_idl__
+#include <com/sun/star/installation/XProtocolHandlerCheck.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module installation {
+
+//=============================================================================
+/** @deprecated
+ */
+published service ProtocolHandlerCheckService
+{
+ interface com::sun::star::installation::XProtocolHandlerCheck;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/XInstallationCheck.idl b/offapi/com/sun/star/installation/XInstallationCheck.idl
new file mode 100644
index 000000000000..41fc7b1b90ad
--- /dev/null
+++ b/offapi/com/sun/star/installation/XInstallationCheck.idl
@@ -0,0 +1,114 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_XInstallationCheck_idl__
+#define __com_sun_star_installation_XInstallationCheck_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module installation {
+
+//=============================================================================
+
+// DocMerge from xml: interface com::sun::star::installation::XInstallationCheck
+/** a flag called "suppressed", changes the action of check and checkWithDialog
+ @see com::sun::star::uno::XInterface
+ @deprecated
+ */
+published interface XInstallationCheck: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XInstallationCheck::check
+ /** checks if something of the installation is missing.
+
+ <p>If missing parts are detected, check should try to automatically repair/
+ reinstall these parts. Only if this is not possible, return <FALSE/>.
+
+ </p>@see resetSuppressed
+ */
+ boolean check( [in] boolean bForce );
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XInstallationCheck::checkWithDialog
+ /** same as check, but additionally shows a dialog if result is <FALSE/>.
+
+ <p>The dialog shows which parts of the installation are missing and
+ can't be repaired/reinstalled automatically. It also contains some
+ hints for the user to reinstall the missing parts on his own.
+ </p>@see check
+ @see resetSuppressed
+ */
+ boolean checkWithDialog( [in] boolean bForce );
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XInstallationCheck::executeDialog
+ /** shows a dialog if something of the installation is missing.
+
+ <p>The dialog shows which part(s) is (are) missing, and has a checkbox
+ that represents the state of the flag suppressed. This dialog is
+ the only way to set the flag suppressed to <TRUE/>. This method is
+ not affected by the value of the flag suppressed.
+ </p>@see resetSuppressed
+ */
+ boolean executeDialog();
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XInstallationCheck::getSuppressed
+ /** gets the status of flag suppressed
+
+ <p>The flag suppressed is stored in the OfficeRegistry. If suppressed is
+ <FALSE/>, the methods check and checkWithDialog ignore the parameter
+ bForce.
+ If suppressed is <TRUE/>, check and checkWithDialog only
+ perform an action if their parameter bForce is <TRUE/>; otherwise,
+ they return TRUE.
+ </p>
+ */
+ boolean getSuppressed();
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XInstallationCheck::setSuppressed
+ /** set status of flag "suppressed".
+ */
+ void setSuppressed( [in] boolean bSuppress );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/XProtocolHandlerCheck.idl b/offapi/com/sun/star/installation/XProtocolHandlerCheck.idl
new file mode 100644
index 000000000000..6961660b0e69
--- /dev/null
+++ b/offapi/com/sun/star/installation/XProtocolHandlerCheck.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_XProtocolHandlerCheck_idl__
+#define __com_sun_star_installation_XProtocolHandlerCheck_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_installation_ProtDlgRes_idl__
+#include <com/sun/star/installation/ProtDlgRes.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module installation {
+
+//=============================================================================
+
+/// @deprecated
+published interface XProtocolHandlerCheck: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::isSingleSettingAvailable
+ /** checks if it is possible to set particular protocols.
+ */
+ boolean isSingleSettingAvailable();
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::isProtocolHandler
+ /** checks if StarOffice is the protocol-handler, for the particular protocol
+ */
+ boolean isProtocolHandler( [in] short nWhich );
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::setProtocolHandler
+ /** Make StarOffice the protocol-handler.@see isProtocolHandler
+ */
+ boolean setProtocolHandler( [in] short nWhich );
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::installation::XProtocolHandlerCheck::checkProtocolHandler
+ /** First, the method checks if StarOffice is
+ already the protocol-handler. If yes, simply
+ return NOCHANGE; otherwise, show a dialog which asks the user
+ if he wants StarOffice to be the standard protocol-handler.
+ The dialog has "Yes" and "No" buttons, and a checkbox
+ with "Always display this message". The checkbox
+ is initially checked. If the "Yes" button was pressed,
+ it performs all neccessary action to make StarOffice the
+ protocol-handler. If the "No" button was pressed,
+ don't perform any action. Both buttons closes the dialog.@see isProtocolHandler
+ */
+ com::sun::star::installation::ProtDlgRes checkProtocolHandler( [in] short nWhich );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/installation/makefile.mk b/offapi/com/sun/star/installation/makefile.mk
new file mode 100644
index 000000000000..5483b64531a8
--- /dev/null
+++ b/offapi/com/sun/star/installation/makefile.mk
@@ -0,0 +1,55 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..$/..$/..$/..
+
+PRJNAME=offapi
+
+TARGET=cssinstallation
+PACKAGE=com$/sun$/star$/installation
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ InstallationCheck.idl\
+ InstallationCheckService.idl\
+ InternetSettings.idl\
+ ProtDlgRes.idl\
+ ProtocolHandlerCheck.idl\
+ ProtocolHandlerCheckService.idl\
+ protocols.idl\
+ XInstallationCheck.idl\
+ XProtocolHandlerCheck.idl\
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/util$/target.pmk
diff --git a/offapi/com/sun/star/installation/protocols.idl b/offapi/com/sun/star/installation/protocols.idl
new file mode 100644
index 000000000000..d6be9fae6e86
--- /dev/null
+++ b/offapi/com/sun/star/installation/protocols.idl
@@ -0,0 +1,94 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_installation_protocols_idl__
+#define __com_sun_star_installation_protocols_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module installation {
+
+//=============================================================================
+
+/** A protocol-handler is a part of StarOffice which performs
+ the comunication on a paticular protocol. This can be HTTP, FTP, HTTPS,
+ MAILTO, or NEWS. An implementation of this interface should be able
+ to check/set all of these protocols.
+
+ @deprecated
+ */
+published constants protocols
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::ALL
+ /** check/set all supported protocols
+ */
+ const short ALL = 0;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::HTTP
+ /** check/set the HTTP protocol
+ */
+ const short HTTP = 1;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::FTP
+ /** check/set the FTP protocol
+ */
+ const short FTP = 2;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::HTTPS
+ /** check/set the HTTPS protocol
+ */
+ const short HTTPS = 3;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::MAIL
+ /** check/set the MAIL protocol
+ */
+ const short MAIL = 4;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::installation::protocols::NEWS
+ /** check/set the NEWS protocol
+ */
+ const short NEWS = 5;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif