diff options
author | sr55 <[email protected]> | 2010-03-12 21:24:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-03-12 21:24:42 +0000 |
commit | 8cd6d5369932ac0889cb9910df92a79531f073cb (patch) | |
tree | 95a09b480e55b46abc489b5529251e237dccfe5d /win/C#/Model/DriveInformation.cs | |
parent | ce0f63162da3c62291231f8be6033981a54997ef (diff) |
WinGui:
The Source button dropdown menu can now display multiple ready DVD drives. Previously only the first ready drive would be displayed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3162 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Model/DriveInformation.cs')
-rw-r--r-- | win/C#/Model/DriveInformation.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/win/C#/Model/DriveInformation.cs b/win/C#/Model/DriveInformation.cs index d71d3a8e9..f22cdf982 100644 --- a/win/C#/Model/DriveInformation.cs +++ b/win/C#/Model/DriveInformation.cs @@ -10,6 +10,12 @@ namespace Handbrake.Model /// </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>
@@ -19,5 +25,16 @@ namespace Handbrake.Model /// Gets or sets The Root Directory
/// </summary>
public string RootDirectory { 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" + Id;
+ }
}
}
\ No newline at end of file |