1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 namespace testtools { namespace bridgetest { namespace cli_cs { 29 30 public class Multi: unoidl.test.testtools.bridgetest.XMulti 31 { 32 public Multi() 33 { 34 } 35 36 public double att1 37 { 38 get { return _att1; } 39 set { _att1 = value; } 40 } 41 42 public int fn11(int arg) 43 { 44 return 11 * arg; 45 } 46 47 public string fn12(string arg) 48 { 49 return "12" + arg; 50 } 51 52 public int fn21(int arg) 53 { 54 return 21 * arg; 55 } 56 57 public string fn22(string arg) 58 { 59 return "22" + arg; 60 } 61 62 public double att3 63 { 64 get { return _att3; } 65 set { _att3 = value; } 66 } 67 68 public int fn31(int arg) 69 { 70 return 31 * arg; 71 } 72 73 public string fn32(string arg) 74 { 75 return "32" + arg; 76 } 77 78 public int fn33() 79 { 80 return 33; 81 } 82 83 public int fn41(int arg) 84 { 85 return 41 * arg; 86 } 87 88 public int fn61(int arg) 89 { 90 return 61 * arg; 91 } 92 93 public string fn62(string arg) 94 { 95 return "62" + arg; 96 } 97 98 public int fn71(int arg) 99 { 100 return 71 * arg; 101 } 102 103 public string fn72(string arg) 104 { 105 return "72" + arg; 106 } 107 108 public int fn73() 109 { 110 return 73; 111 } 112 113 private double _att1; 114 private double _att3; 115 }; 116 117 } } } 118 119 120