Collapse ILibraryReadOnlyStream into ILibraryContentStream

This commit is contained in:
John Lewin 2018-02-10 21:53:58 -08:00
parent fd59371cbc
commit 68f7c2fa12
6 changed files with 13 additions and 14 deletions

View file

@ -49,7 +49,7 @@ namespace MatterHackers.MatterControl.Library
void SetContent(IObject3D item);
}
public interface ILibraryContentStream : ILibraryReadOnlyStream
public interface ILibraryContentStream : ILibraryItem
{
/// <summary>
// Gets the size, in bytes, of the current file.
@ -62,10 +62,4 @@ namespace MatterHackers.MatterControl.Library
Task<StreamAndLength> GetContentStream(Action<double, string> progress);
}
public interface ILibraryReadOnlyStream : ILibraryItem
{
string ContentType { get; }
Task<StreamAndLength> GetContentStream(Action<double, string> progress);
}
}