summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Source.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Parsing/Source.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs
index 93aa13a0c..5f721e3a6 100644
--- a/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs
+++ b/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs
@@ -10,11 +10,8 @@
namespace HandBrake.ApplicationServices.Parsing
{
using System.Collections.Generic;
- using System.IO;
using System.Runtime.Serialization;
- using HandBrake.ApplicationServices.Services.Interfaces;
-
/// <summary>
/// An object representing a scanned DVD
/// </summary>
@@ -44,33 +41,6 @@ namespace HandBrake.ApplicationServices.Parsing
public List<Title> Titles { get; set; }
/// <summary>
- /// Parse the StreamReader output into a List of Titles
- /// </summary>
- /// <param name="output">
- /// The output.
- /// </param>
- /// <param name="isDvdNavDisabled">
- /// The is Dvd Nav Disabled.
- /// </param>
- /// <returns>
- /// A DVD object which contains a list of title inforamtion
- /// </returns>
- public static Source Parse(StreamReader output, bool isDvdNavDisabled)
- {
- var thisDVD = new Source();
-
- while (!output.EndOfStream)
- {
- if ((char) output.Peek() == '+')
- thisDVD.Titles.AddRange(Title.ParseList(output.ReadToEnd(), isDvdNavDisabled));
- else
- output.ReadLine();
- }
-
- return thisDVD;
- }
-
- /// <summary>
/// Copy this Source to another Source Model
/// </summary>
/// <param name="source">