CUETools.Processor: split classes into separate files.

This commit is contained in:
karamanolev
2011-10-24 11:38:10 +00:00
parent d7f588e19c
commit f365e6359f
46 changed files with 7323 additions and 7054 deletions

View File

@@ -0,0 +1,36 @@
using System.IO;
namespace CUETools.Processor
{
public class ArchiveFileAbstraction : TagLib.File.IFileAbstraction
{
private string name;
private CUESheet _cueSheet;
public string Name
{
get { return name; }
}
public Stream ReadStream
{
get { return _cueSheet.OpenArchive(Name, true); }
}
public Stream WriteStream
{
get { return null; }
}
public ArchiveFileAbstraction(CUESheet cueSheet, string file)
{
name = file;
_cueSheet = cueSheet;
}
public void CloseStream(Stream stream)
{
stream.Close();
}
}
}