summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-03-01 18:10:34 +0000
committersr55 <[email protected]>2015-03-01 18:10:34 +0000
commitc8e25b9e67daf7c6902428a442ac19bf4306d5c3 (patch)
treecfaf3560a29050b09fd8934ec6d3ca81abf14984 /win/CS/HandBrake.ApplicationServices/Utilities
parent29c62be71227ae33e382199f323890ae3bfffa69 (diff)
WinGui: Dropping more legacy code and moving some more UI only code up to the UI level.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6960 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs b/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
index 7a790f7f9..d74a8f72a 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
@@ -17,8 +17,6 @@ namespace HandBrake.ApplicationServices.Utilities
using System.Text;
using System.Windows.Forms;
- using HandBrake.ApplicationServices.Model;
-
/// <summary>
/// A Set of Static Utilites
/// </summary>
@@ -144,37 +142,6 @@ namespace HandBrake.ApplicationServices.Utilities
}
/// <summary>
- /// Get a list of available DVD drives which are ready and contain DVD content.
- /// </summary>
- /// <returns>A List of Drives with their details</returns>
- public static List<DriveInformation> GetDrives()
- {
- var drives = new List<DriveInformation>();
- DriveInfo[] theCollectionOfDrives = DriveInfo.GetDrives();
- int id = 0;
- foreach (DriveInfo curDrive in theCollectionOfDrives)
- {
- if (curDrive.DriveType == DriveType.CDRom && curDrive.IsReady)
- {
- if (Directory.Exists(curDrive.RootDirectory + "VIDEO_TS") ||
- Directory.Exists(curDrive.RootDirectory + "BDMV"))
- {
- drives.Add(
- new DriveInformation
- {
- Id = id,
- VolumeLabel = curDrive.VolumeLabel,
- RootDirectory = curDrive.RootDirectory.ToString()
- });
- id++;
- }
- }
- }
-
- return drives;
- }
-
- /// <summary>
/// Return the standard log format line of text for a given log message
/// </summary>
/// <param name="message">