summaryrefslogtreecommitdiffstats
path: root/win/C#/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-01-31 14:28:23 +0000
committersr55 <[email protected]>2010-01-31 14:28:23 +0000
commit138ea1180443c3b73b81e47da016a54bf133f133 (patch)
treec1ef697788b661d597a8e696af73e150361b6b71 /win/C#/Model
parentcc9508040bff9c2277be1255c4d91ea19f13e665 (diff)
WinGui:
- Refacotring Code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3091 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Model')
-rw-r--r--win/C#/Model/DriveInformation.cs21
-rw-r--r--win/C#/Model/SourceType.cs31
2 files changed, 52 insertions, 0 deletions
diff --git a/win/C#/Model/DriveInformation.cs b/win/C#/Model/DriveInformation.cs
new file mode 100644
index 000000000..9367e7e50
--- /dev/null
+++ b/win/C#/Model/DriveInformation.cs
@@ -0,0 +1,21 @@
+/* DriveInformation.cs $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+namespace Handbrake.Model
+{
+ public class DriveInformation
+ {
+ /// <summary>
+ /// The Drive Volume Name
+ /// </summary>
+ public string VolumeLabel { get; set; }
+
+ /// <summary>
+ /// The Root Directory
+ /// </summary>
+ public string RootDirectory { get; set; }
+ }
+}
diff --git a/win/C#/Model/SourceType.cs b/win/C#/Model/SourceType.cs
new file mode 100644
index 000000000..c5a1bf417
--- /dev/null
+++ b/win/C#/Model/SourceType.cs
@@ -0,0 +1,31 @@
+/* SourceType.cs $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+namespace Handbrake.Model
+{
+ public enum SourceType
+ {
+ /// <summary>
+ /// No Source Selected
+ /// </summary>
+ None = 0,
+
+ /// <summary>
+ /// The soruce selected is a folder
+ /// </summary>
+ Folder,
+
+ /// <summary>
+ /// The source selected is a DVD drive
+ /// </summary>
+ DvdDrive,
+
+ /// <summary>
+ /// The source selected is a Video File
+ /// </summary>
+ VideoFile
+ }
+}