OSDN Git Service

CLI: update the built in presets
[handbrake-jp/handbrake-jp-git.git] / win / C# / Model / DriveInformation.cs
1 /*  DriveInformation.cs $\r
2     This file is part of the HandBrake source code.\r
3     Homepage: <http://handbrake.fr>.\r
4     It may be used under the terms of the GNU General Public License. */\r
5 \r
6 namespace Handbrake.Model\r
7 {\r
8     /// <summary>\r
9     /// Information about a DVD drive\r
10     /// </summary>\r
11     public class DriveInformation\r
12     {\r
13         /// <summary>\r
14         /// Gets or sets A Unique ID That represemts this model.\r
15         /// </summary>\r
16         public int Id { get; set; }\r
17 \r
18         /// <summary>\r
19         /// Gets or sets The Drive Volume Name\r
20         /// </summary>\r
21         public string VolumeLabel { get; set; }\r
22 \r
23         /// <summary>\r
24         /// Gets or sets The Root Directory\r
25         /// </summary>\r
26         public string RootDirectory { get; set; }\r
27 \r
28         /// <summary>\r
29         /// Returns  "Drive" + Id  (e.g  Drive2)\r
30         /// </summary>\r
31         /// <returns>\r
32         /// A String that contrains "Drive" and it's ID\r
33         /// </returns>\r
34         public override string ToString()\r
35         {\r
36             return "Drive" + Id;\r
37         }\r
38     }\r
39 }