summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-01-23 15:00:58 +0000
committersr55 <[email protected]>2011-01-23 15:00:58 +0000
commitc0ac2af7f81171a91f726cdf3833af1deadf8511 (patch)
tree3727abbd76bf4ec9c4da492ac9125475a1a10333 /win/C#/HandBrake.ApplicationServices
parentb55c482455353fea828f52d6889ad451202a6a5f (diff)
WinGui:
- Started Hooking up the WPF main window. Initial events subscribed. Some initial bindings and actions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3766 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices')
-rw-r--r--win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj2
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs5
-rw-r--r--win/C#/HandBrake.ApplicationServices/Parsing/Source.cs (renamed from win/C#/HandBrake.ApplicationServices/Parsing/DVD.cs)12
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/Interfaces/IScan.cs2
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/LibScan.cs4
-rw-r--r--win/C#/HandBrake.ApplicationServices/Services/ScanService.cs4
6 files changed, 17 insertions, 12 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
index 57c3ca4ce..d45228ab2 100644
--- a/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
+++ b/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
@@ -114,7 +114,7 @@
<Compile Include="Model\Encoding\SubtitleType.cs" />
<Compile Include="Parsing\AudioTrack.cs" />
<Compile Include="Parsing\Chapter.cs" />
- <Compile Include="Parsing\DVD.cs" />
+ <Compile Include="Parsing\Source.cs" />
<Compile Include="Parsing\Parser.cs" />
<Compile Include="Parsing\Subtitle.cs" />
<Compile Include="Parsing\Title.cs" />
diff --git a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
index dfc0fbf08..a735902c1 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
@@ -33,6 +33,11 @@ namespace HandBrake.ApplicationServices.Model
public int Title { get; set; }
/// <summary>
+ /// Gets or sets the Angle
+ /// </summary>
+ public int Angle { get; set; }
+
+ /// <summary>
/// Gets or sets PointToPointMode.
/// </summary>
public PointToPointMode PointToPointMode { get; set; }
diff --git a/win/C#/HandBrake.ApplicationServices/Parsing/DVD.cs b/win/C#/HandBrake.ApplicationServices/Parsing/Source.cs
index 40b1c4e5f..0ed9c0033 100644
--- a/win/C#/HandBrake.ApplicationServices/Parsing/DVD.cs
+++ b/win/C#/HandBrake.ApplicationServices/Parsing/Source.cs
@@ -1,4 +1,4 @@
-/* DVD.cs $ This file is part of the HandBrake source code.
+/* Source.cs $ This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
@@ -10,13 +10,13 @@ namespace HandBrake.ApplicationServices.Parsing
/// <summary>
/// An object representing a scanned DVD
/// </summary>
- public class DVD
+ public class Source
{
/// <summary>
- /// Initializes a new instance of the <see cref="DVD"/> class.
+ /// Initializes a new instance of the <see cref="Source"/> class.
/// Default constructor for this object
/// </summary>
- public DVD()
+ public Source()
{
Titles = new List<Title>();
}
@@ -35,9 +35,9 @@ namespace HandBrake.ApplicationServices.Parsing
/// <returns>
/// A DVD object which contains a list of title inforamtion
/// </returns>
- public static DVD Parse(StreamReader output)
+ public static Source Parse(StreamReader output)
{
- var thisDVD = new DVD();
+ var thisDVD = new Source();
while (!output.EndOfStream)
{
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Interfaces/IScan.cs b/win/C#/HandBrake.ApplicationServices/Services/Interfaces/IScan.cs
index b05390301..6cbce5273 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/Interfaces/IScan.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/Interfaces/IScan.cs
@@ -60,7 +60,7 @@ namespace HandBrake.ApplicationServices.Services.Interfaces
/// <summary>
/// Gets the Souce Data.
/// </summary>
- DVD SouceData { get; }
+ Source SouceData { get; }
/// <summary>
/// Gets ActivityLog.
diff --git a/win/C#/HandBrake.ApplicationServices/Services/LibScan.cs b/win/C#/HandBrake.ApplicationServices/Services/LibScan.cs
index 50be6aa07..ea27ffdf0 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/LibScan.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/LibScan.cs
@@ -97,7 +97,7 @@ namespace HandBrake.ApplicationServices.Services
/// <summary>
/// Gets the Souce Data.
/// </summary>
- public DVD SouceData { get; private set; }
+ public Source SouceData { get; private set; }
/// <summary>
/// Gets ActivityLog.
@@ -179,7 +179,7 @@ namespace HandBrake.ApplicationServices.Services
/// </param>
private void InstanceScanCompleted(object sender, EventArgs e)
{
- this.SouceData = new DVD { Titles = ConvertTitles(this.instance.Titles) };
+ this.SouceData = new Source { Titles = ConvertTitles(this.instance.Titles) };
IsScanning = false;
diff --git a/win/C#/HandBrake.ApplicationServices/Services/ScanService.cs b/win/C#/HandBrake.ApplicationServices/Services/ScanService.cs
index 9b85740cd..2529f528b 100644
--- a/win/C#/HandBrake.ApplicationServices/Services/ScanService.cs
+++ b/win/C#/HandBrake.ApplicationServices/Services/ScanService.cs
@@ -86,7 +86,7 @@ namespace HandBrake.ApplicationServices.Services
/// <summary>
/// Gets the Souce Data.
/// </summary>
- public DVD SouceData { get; private set; }
+ public Source SouceData { get; private set; }
/// <summary>
/// Gets ActivityLog.
@@ -227,7 +227,7 @@ namespace HandBrake.ApplicationServices.Services
this.readData = new Parser(this.hbProc.StandardError.BaseStream);
this.readData.OnScanProgress += this.OnScanProgress;
- this.SouceData = DVD.Parse(this.readData);
+ this.SouceData = Source.Parse(this.readData);
// Write the Buffer out to file.
using (StreamWriter scanLog = new StreamWriter(dvdInfoPath))