summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model/DriveInformation.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-03-01 18:10:34 +0000
committersr55 <[email protected]>2015-03-01 18:10:34 +0000
commitc8e25b9e67daf7c6902428a442ac19bf4306d5c3 (patch)
treecfaf3560a29050b09fd8934ec6d3ca81abf14984 /win/CS/HandBrakeWPF/Model/DriveInformation.cs
parent29c62be71227ae33e382199f323890ae3bfffa69 (diff)
WinGui: Dropping more legacy code and moving some more UI only code up to the UI level.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6960 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Model/DriveInformation.cs')
-rw-r--r--win/CS/HandBrakeWPF/Model/DriveInformation.cs48
1 files changed, 48 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/DriveInformation.cs b/win/CS/HandBrakeWPF/Model/DriveInformation.cs
new file mode 100644
index 000000000..f7e966b5c
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Model/DriveInformation.cs
@@ -0,0 +1,48 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="DriveInformation.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Information about a DVD drive
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.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