Mercurial > repos > IBBoard.WarFoundry.API
diff api/Factories/AbstractNativeWarFoundryFactory.cs @ 82:3ea0ab04352b
* Fix line terminators
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jun 2009 18:59:49 +0000 |
parents | e7de5c96f5c2 |
children | 2f3cafb69799 |
line wrap: on
line diff
--- a/api/Factories/AbstractNativeWarFoundryFactory.cs Wed May 27 19:43:09 2009 +0000 +++ b/api/Factories/AbstractNativeWarFoundryFactory.cs Sat Jun 27 18:59:49 2009 +0000 @@ -3,7 +3,7 @@ // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. using System; -using System.IO; +using System.IO; using System.Xml; using System.Xml.Schema; using System.Collections.Generic; @@ -14,22 +14,22 @@ using IBBoard.Logging; using IBBoard.Xml; using IBBoard.WarFoundry.API.Objects; -using ICSharpCode.SharpZipLib.Zip; - -namespace IBBoard.WarFoundry.API.Factories -{ - /// <summary> - /// Base abstract class for all factories that load native WarFoundry data. - /// </summary> - public abstract class AbstractNativeWarFoundryFactory : AbstractWarFoundryFactory<ZipFile>, INativeWarFoundryFactory +using ICSharpCode.SharpZipLib.Zip; + +namespace IBBoard.WarFoundry.API.Factories +{ + /// <summary> + /// Base abstract class for all factories that load native WarFoundry data. + /// </summary> + public abstract class AbstractNativeWarFoundryFactory : AbstractWarFoundryFactory<ZipFile>, INativeWarFoundryFactory { protected static readonly string SYSTEM_ZIP_IDENTIFIER = "WarFoundry_System"; protected static readonly string RACE_ZIP_IDENTIFIER = "WarFoundry_Race"; protected static readonly string ARMY_ZIP_IDENTIFIER = "WarFoundry_Army"; - protected AbstractNativeWarFoundryFactory() + protected AbstractNativeWarFoundryFactory() { - //Do nothing - just make the constructor non-public + //Do nothing - just make the constructor non-public } protected override ZipFile GetFileAsSupportedType (FileInfo file) @@ -135,7 +135,7 @@ } protected abstract Stream GetGameSystemDataStream(ZipFile file); - protected abstract GameSystem CreateGameSystemFromStream(ZipFile file, Stream dataStream); + protected abstract GameSystem CreateGameSystemFromStream(ZipFile file, Stream dataStream); public override bool Equals (object o) { @@ -154,6 +154,6 @@ public override int GetHashCode () { return GetType().FullName.GetHashCode(); - } - } -} + } + } +}