Split IPackage into IReadOnlyPackage and IReadWritePackage.
This commit is contained in:
@@ -14,7 +14,7 @@ using System.IO;
|
||||
|
||||
namespace OpenRA.FileSystem
|
||||
{
|
||||
public sealed class D2kSoundResources : IPackage
|
||||
public sealed class D2kSoundResources : IReadOnlyPackage
|
||||
{
|
||||
readonly Stream s;
|
||||
|
||||
@@ -94,11 +94,6 @@ namespace OpenRA.FileSystem
|
||||
yield break;
|
||||
}
|
||||
|
||||
public void Write(Dictionary<string, byte[]> contents)
|
||||
{
|
||||
throw new NotImplementedException("Cannot save Dune 2000 Sound Resources.");
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
s.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user