Collapse ILibraryReadOnlyStream into ILibraryContentStream
This commit is contained in:
parent
fd59371cbc
commit
68f7c2fa12
6 changed files with 13 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue