namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum { /// /// This interface describes the behavior of an object that /// provides tape content /// public interface ISaveToTapeProvider { /// /// Creates a tape file with the specified name /// /// void CreateTapeFile(); /// /// This method sets the name of the file according to the /// Spectrum SAVE HEADER information /// /// void SetName(string name); /// /// Appends the tape block to the tape file /// /// void SaveTapeBlock(ITapeDataSerialization block); /// /// The tape provider can finalize the tape when all /// tape blocks are written. /// void FinalizeTapeFile(); } }