summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Model
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Model')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/DriveInformation.cs44
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs2
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Anamorphic.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Decomb.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Deinterlace.cs10
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Denoise.cs10
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Detelecine.cs10
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/Mixdown.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/OutputFormat.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/PointToPointMode.cs7
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/SubtitleTrack.cs2
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeMode.cs17
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeRateType.cs9
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncoder.cs10
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/QueueTask.cs4
16 files changed, 137 insertions, 23 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Model/DriveInformation.cs b/win/C#/HandBrake.ApplicationServices/Model/DriveInformation.cs
new file mode 100644
index 000000000..65708cee2
--- /dev/null
+++ b/win/C#/HandBrake.ApplicationServices/Model/DriveInformation.cs
@@ -0,0 +1,44 @@
+/* DriveInformation.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. */
+
+namespace HandBrake.ApplicationServices.Model
+{
+ /// <summary>
+ /// Information about a DVD drive
+ /// </summary>
+ public class DriveInformation
+ {
+ /// <summary>
+ /// Gets or sets A Unique ID That represemts this model.
+ /// </summary>
+ public int Id { get; set; }
+
+ /// <summary>
+ /// Gets or sets The Drive Volume Name
+ /// </summary>
+ public string VolumeLabel { get; set; }
+
+ /// <summary>
+ /// Gets or sets The Root Directory
+ /// </summary>
+ public string RootDirectory { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether this is a BluRay Drive.
+ /// </summary>
+ public bool IsBluRay { get; set; }
+
+ /// <summary>
+ /// Returns "Drive" + Id (e.g Drive2)
+ /// </summary>
+ /// <returns>
+ /// A String that contrains "Drive" and it's ID
+ /// </returns>
+ public override string ToString()
+ {
+ return "Drive" + this.Id;
+ }
+ }
+} \ No newline at end of file
diff --git a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
index b10168aa5..dfc0fbf08 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/EncodeTask.cs
@@ -200,7 +200,7 @@ namespace HandBrake.ApplicationServices.Model
/// <summary>
/// Gets or sets VideoEncodeRateType.
/// </summary>
- public VideoEncodeRateType VideoEncodeRateType { get; set; }
+ public VideoEncodeMode VideoEncodeRateType { get; set; }
/// <summary>
/// Gets or sets Quality.
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Anamorphic.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Anamorphic.cs
index b3b524cf9..c958b777c 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Anamorphic.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Anamorphic.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Anamorphic.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
using System.ComponentModel;
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs
index d98b120bf..c6f838ed7 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* AudioEncoder.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
using System.ComponentModel;
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Decomb.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Decomb.cs
index c09c5b98e..ae8b8a3d4 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Decomb.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Decomb.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Decomb.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
/// <summary>
/// Decomb Mode
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Deinterlace.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Deinterlace.cs
index 308b025a9..154428987 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Deinterlace.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Deinterlace.cs
@@ -1,5 +1,13 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Deinterlace.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
+ /// <summary>
+ /// The Deinterlace Filter
+ /// </summary>
public enum Deinterlace
{
Off = 0,
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Denoise.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Denoise.cs
index 6698e775d..fc81e9f20 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Denoise.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Denoise.cs
@@ -1,5 +1,13 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Denoise.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
+ /// <summary>
+ /// The Denose Filters
+ /// </summary>
public enum Denoise
{
Off = 0,
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Detelecine.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Detelecine.cs
index 19614971b..09c948dbd 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Detelecine.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Detelecine.cs
@@ -1,5 +1,13 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Detelecine.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
+ /// <summary>
+ /// Detelecine Filter
+ /// </summary>
public enum Detelecine
{
Off = 0,
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Mixdown.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Mixdown.cs
index 373ee6b00..12611b454 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/Mixdown.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/Mixdown.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* Mixdown.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
using System.ComponentModel;
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/OutputFormat.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/OutputFormat.cs
index c5565914b..fa5c3225f 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/OutputFormat.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/OutputFormat.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* OutputFormat.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
using System.ComponentModel;
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/PointToPointMode.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/PointToPointMode.cs
index 8c58aa4cf..dcee4cac4 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/PointToPointMode.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/PointToPointMode.cs
@@ -1,4 +1,9 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* PointToPoint.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
/// <summary>
/// Point to Point Mode
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/SubtitleTrack.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/SubtitleTrack.cs
index 5a3635689..f69abed7d 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/SubtitleTrack.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/SubtitleTrack.cs
@@ -1,4 +1,4 @@
-/* Subtitle.cs $
+/* SubtitleTrack.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. */
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeMode.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeMode.cs
new file mode 100644
index 000000000..cf42f3ca6
--- /dev/null
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeMode.cs
@@ -0,0 +1,17 @@
+/* VideoEncoderMode.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
+{
+ /// <summary>
+ /// The Mode of Video Encoding. Bitrate, Filesize or Quality
+ /// </summary>
+ public enum VideoEncodeMode
+ {
+ TargetSize = 0,
+ AverageBitrate,
+ ConstantQuality
+ }
+}
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeRateType.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeRateType.cs
deleted file mode 100644
index b128fdbc4..000000000
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncodeRateType.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
-{
- public enum VideoEncodeRateType
- {
- TargetSize = 0,
- AverageBitrate,
- ConstantQuality
- }
-}
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncoder.cs b/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncoder.cs
index 4eddbf44b..b5a2556e3 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncoder.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Encoding/VideoEncoder.cs
@@ -1,7 +1,15 @@
-namespace HandBrake.ApplicationServices.Model.Encoding
+/* VideoEncoder.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. */
+
+namespace HandBrake.ApplicationServices.Model.Encoding
{
using System.ComponentModel;
+ /// <summary>
+ /// The Video Encoder
+ /// </summary>
public enum VideoEncoder
{
[Description("H.264 (x264)")]
diff --git a/win/C#/HandBrake.ApplicationServices/Model/QueueTask.cs b/win/C#/HandBrake.ApplicationServices/Model/QueueTask.cs
index 9f92ec609..83948a1f3 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/QueueTask.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/QueueTask.cs
@@ -1,4 +1,4 @@
-/* QueueItem.cs $
+/* QueueTask.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. */
@@ -6,7 +6,7 @@
namespace HandBrake.ApplicationServices.Model
{
/// <summary>
- /// The job.
+ /// The QueueTask.
/// </summary>
public class QueueTask
{