1 2Copyright (c) 2003-2004, Evgeniy Vladimirovich Bobkov. 3 4Permission is hereby granted, free of charge, to any person obtaining a 5copy of this software and associated documentation files (the "Software"), 6to deal in the Software without restriction, including without limitation 7the rights to use, copy, modify, merge, publish, distribute, sublicense, 8and/or sell copies of the Software, and to permit persons to whom the 9Software is furnished to do so, subject to the following conditions: 10the above copyright notice and this permission notice shall be included in 11all copies or substantial portions of the Software. 12This Software uses Be sample code and the license of this Software inherits 13the statements of Be Sample Code License. 14 15------------------------------------------------------------------------------- 16Be Sample Code License 17---------------------- 18 19Copyright 1991-1999, Be Incorporated. 20All rights reserved. 21 22Redistribution and use in source and binary forms, with or without 23modification, are permitted provided that the following conditions 24are met: 25 261. Redistributions of source code must retain the above copyright 27 notice, this list of conditions, and the following disclaimer. 28 292. Redistributions in binary form must reproduce the above copyright 30 notice, this list of conditions, and the following disclaimer in the 31 documentation and/or other materials provided with the distribution. 32 333. The name of the author may not be used to endorse or promote products 34 derived from this software without specific prior written permission. 35 36THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR 37IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 38OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 39PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 40DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 41(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 42LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 43AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 44TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 45OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 46