mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
reorganizing a bit
This commit is contained in:
43
CUETools.Ripper/Ripper.cs
Normal file
43
CUETools.Ripper/Ripper.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using CUETools.CDImage;
|
||||
using CUETools.Codecs;
|
||||
using System.Text;
|
||||
|
||||
namespace CUETools.Ripper
|
||||
{
|
||||
public interface ICDRipper : IAudioSource, IDisposable
|
||||
{
|
||||
bool Open(char Drive);
|
||||
CDImageLayout TOC { get; }
|
||||
string ARName { get; }
|
||||
string EACName { get; }
|
||||
int DriveOffset { get; set; }
|
||||
string RipperVersion { get; }
|
||||
string CurrentReadCommand { get; }
|
||||
int CorrectionQuality { get; set; }
|
||||
BitArray Errors { get; }
|
||||
|
||||
event EventHandler<ReadProgressArgs> ReadProgress;
|
||||
}
|
||||
|
||||
public sealed class ReadProgressArgs : EventArgs
|
||||
{
|
||||
public int Position;
|
||||
public int Pass;
|
||||
public int PassStart, PassEnd;
|
||||
public int ErrorsCount;
|
||||
public DateTime PassTime;
|
||||
|
||||
public ReadProgressArgs(int position, int pass, int passStart, int passEnd, int errorsCount, DateTime passTime)
|
||||
{
|
||||
Position = position;
|
||||
Pass = pass;
|
||||
PassStart = passStart;
|
||||
PassEnd = passEnd;
|
||||
ErrorsCount = errorsCount;
|
||||
PassTime = passTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user