Add regions to CUESheet.cs

This commit is contained in:
karamanolev
2011-10-24 20:32:18 +00:00
parent c7fc187b35
commit dd1e372947

View File

@@ -21,6 +21,8 @@ namespace CUETools.Processor
{ {
public class CUESheet public class CUESheet
{ {
#region Fields
private bool _stop, _pause; private bool _stop, _pause;
private List<CUELine> _attributes; private List<CUELine> _attributes;
private List<TrackInfo> _tracks; private List<TrackInfo> _tracks;
@@ -74,10 +76,18 @@ namespace CUETools.Processor
private bool _useLocalDB; private bool _useLocalDB;
private CUEToolsLocalDB _localDB; private CUEToolsLocalDB _localDB;
#endregion
#region Events
public event EventHandler<CompressionPasswordRequiredEventArgs> PasswordRequired; public event EventHandler<CompressionPasswordRequiredEventArgs> PasswordRequired;
public event EventHandler<CUEToolsProgressEventArgs> CUEToolsProgress; public event EventHandler<CUEToolsProgressEventArgs> CUEToolsProgress;
public event EventHandler<CUEToolsSelectionEventArgs> CUEToolsSelection; public event EventHandler<CUEToolsSelectionEventArgs> CUEToolsSelection;
#endregion
#region Constructor
public CUESheet(CUEConfig config) public CUESheet(CUEConfig config)
{ {
_config = config; _config = config;
@@ -106,6 +116,10 @@ namespace CUETools.Processor
proxy = _config.GetProxy(); proxy = _config.GetProxy();
} }
#endregion
#region Methods
public void OpenCD(ICDRipper ripper) public void OpenCD(ICDRipper ripper)
{ {
_ripper = ripper; _ripper = ripper;
@@ -4492,5 +4506,7 @@ namespace CUETools.Processor
AsmHelper helper = CompileScript(script); AsmHelper helper = CompileScript(script);
return helper != null; return helper != null;
} }
#endregion
} }
} }