diff --git a/OpenRA.Game/FileSystem/GlobalFileSystem.cs b/OpenRA.Game/FileSystem/GlobalFileSystem.cs index 89813d345f..255e7e1bb3 100644 --- a/OpenRA.Game/FileSystem/GlobalFileSystem.cs +++ b/OpenRA.Game/FileSystem/GlobalFileSystem.cs @@ -17,18 +17,6 @@ using OpenRA.Primitives; namespace OpenRA.FileSystem { - public interface IFolder : IDisposable - { - Stream GetContent(string filename); - bool Exists(string filename); - IEnumerable ClassicHashes(); - IEnumerable CrcHashes(); - IEnumerable AllFileNames(); - void Write(Dictionary contents); - int Priority { get; } - string Name { get; } - } - public static class GlobalFileSystem { public static List MountedFolders = new List(); diff --git a/OpenRA.Game/FileSystem/IFolder.cs b/OpenRA.Game/FileSystem/IFolder.cs new file mode 100644 index 0000000000..fa5aa4df87 --- /dev/null +++ b/OpenRA.Game/FileSystem/IFolder.cs @@ -0,0 +1,28 @@ +#region Copyright & License Information +/* + * Copyright 2007-2015 The OpenRA Developers (see AUTHORS) + * This file is part of OpenRA, which is free software. It is made + * available to you under the terms of the GNU General Public License + * as published by the Free Software Foundation. For more information, + * see COPYING. + */ +#endregion + +using System; +using System.Collections.Generic; +using System.IO; + +namespace OpenRA.FileSystem +{ + public interface IFolder : IDisposable + { + Stream GetContent(string filename); + bool Exists(string filename); + IEnumerable ClassicHashes(); + IEnumerable CrcHashes(); + IEnumerable AllFileNames(); + void Write(Dictionary contents); + int Priority { get; } + string Name { get; } + } +}