1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_installation_protocols_idl__ 24#define __com_sun_star_installation_protocols_idl__ 25 26 27//============================================================================= 28 29 module com { module sun { module star { module installation { 30 31//============================================================================= 32 33/** A protocol-handler is a part of StarOffice which performs 34 the comunication on a paticular protocol. This can be HTTP, FTP, HTTPS, 35 MAILTO, or NEWS. An implementation of this interface should be able 36 to check/set all of these protocols. 37 38 @deprecated 39 */ 40published constants protocols 41{ 42 //------------------------------------------------------------------------- 43 44 // DocMerge from idl: value com::sun::star::installation::protocols::ALL 45 /** check/set all supported protocols 46 */ 47 const short ALL = 0; 48 49 //------------------------------------------------------------------------- 50 51 // DocMerge from idl: value com::sun::star::installation::protocols::HTTP 52 /** check/set the HTTP protocol 53 */ 54 const short HTTP = 1; 55 56 //------------------------------------------------------------------------- 57 58 // DocMerge from idl: value com::sun::star::installation::protocols::FTP 59 /** check/set the FTP protocol 60 */ 61 const short FTP = 2; 62 63 //------------------------------------------------------------------------- 64 65 // DocMerge from idl: value com::sun::star::installation::protocols::HTTPS 66 /** check/set the HTTPS protocol 67 */ 68 const short HTTPS = 3; 69 70 //------------------------------------------------------------------------- 71 72 // DocMerge from idl: value com::sun::star::installation::protocols::MAIL 73 /** check/set the MAIL protocol 74 */ 75 const short MAIL = 4; 76 77 //------------------------------------------------------------------------- 78 79 // DocMerge from idl: value com::sun::star::installation::protocols::NEWS 80 /** check/set the NEWS protocol 81 */ 82 const short NEWS = 5; 83 84}; 85 86//============================================================================= 87 88}; }; }; }; 89 90#endif 91