00001 // INameTransform.cs 00002 // 00003 // Copyright 2005 John Reilly 00004 // 00005 // This program is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU General Public License 00007 // as published by the Free Software Foundation; either version 2 00008 // of the License, or (at your option) any later version. 00009 // 00010 // This program is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with this program; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 // 00019 // Linking this library statically or dynamically with other modules is 00020 // making a combined work based on this library. Thus, the terms and 00021 // conditions of the GNU General Public License cover the whole 00022 // combination. 00023 // 00024 // As a special exception, the copyright holders of this library give you 00025 // permission to link this library with independent modules to produce an 00026 // executable, regardless of the license terms of these independent 00027 // modules, and to copy and distribute the resulting executable under 00028 // terms of your choice, provided that you also meet, for each linked 00029 // independent module, the terms and conditions of the license of that 00030 // module. An independent module is a module which is not derived from 00031 // or based on this library. If you modify this library, you may extend 00032 // this exception to your version of the library, but you are not 00033 // obligated to do so. If you do not wish to do so, delete this 00034 // exception statement from your version. 00035 00036 namespace ICSharpCode.SharpZipLib.Core 00037 { 00041 public interface INameTransform 00042 { 00048 string TransformFile(string name); 00049 00055 string TransformDirectory(string name); 00056 } 00057 }