OSDN Git Service

import original 0.9.5 release
[handbrake-jp/handbrake-jp.git] / win / C# / Model / DriveInformation.cs
diff --git a/win/C#/Model/DriveInformation.cs b/win/C#/Model/DriveInformation.cs
new file mode 100644 (file)
index 0000000..d7cef0e
--- /dev/null
@@ -0,0 +1,39 @@
+/*  DriveInformation.cs $\r
+    This file is part of the HandBrake source code.\r
+    Homepage: <http://handbrake.fr>.\r
+    It may be used under the terms of the GNU General Public License. */\r
+\r
+namespace Handbrake.Model\r
+{\r
+    /// <summary>\r
+    /// Information about a DVD drive\r
+    /// </summary>\r
+    public class DriveInformation\r
+    {\r
+        /// <summary>\r
+        /// Gets or sets A Unique ID That represemts this model.\r
+        /// </summary>\r
+        public int Id { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets The Drive Volume Name\r
+        /// </summary>\r
+        public string VolumeLabel { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets The Root Directory\r
+        /// </summary>\r
+        public string RootDirectory { get; set; }\r
+\r
+        /// <summary>\r
+        /// Returns  "Drive" + Id  (e.g  Drive2)\r
+        /// </summary>\r
+        /// <returns>\r
+        /// A String that contrains "Drive" and it's ID\r
+        /// </returns>\r
+        public override string ToString()\r
+        {\r
+            return "Drive" + Id;\r
+        }\r
+    }\r
+}
\ No newline at end of file