OSDN Git Service

WinGui:
[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 \r
14         /// <summary>\r
15         /// Gets or sets A Unique ID That represemts this model.\r
16         /// </summary>\r
17         public int Id { get; set; }\r
18 \r
19         /// <summary>\r
20         /// Gets or sets The Drive Volume Name\r
21         /// </summary>\r
22         public string VolumeLabel { get; set; }\r
23 \r
24         /// <summary>\r
25         /// Gets or sets The Root Directory\r
26         /// </summary>\r
27         public string RootDirectory { get; set; }\r
28 \r
29         /// <summary>\r
30         /// Returns  "Drive" + Id  (e.g  Drive2)\r
31         /// </summary>\r
32         /// <returns>\r
33         /// A String that contrains "Drive" and it's ID\r
34         /// </returns>\r
35         public override string ToString()\r
36         {\r
37             return "Drive" + Id;\r
38         }\r
39     }\r
40 }