summaryrefslogtreecommitdiffstats
path: root/macosx/HBDVDDetector.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-08-18 06:43:57 +0000
committerdynaflash <[email protected]>2007-08-18 06:43:57 +0000
commit033c41b8237c3302b4175fbf7cdb8f8e74a87442 (patch)
treefbef18da3de192fd97529665ef24bf04586ebd09 /macosx/HBDVDDetector.h
parent83dff35ea5df6925b065f16fdfb4982ad1f75107 (diff)
MacGui: Better implementation of the new scan controller for reading physical dvds.
- This one is all blindjimmy's doing, Thanks! - adds a VIDEO_TS check for reading random vobs off of a general purpose dvd. - uses a new cocoa class instead of the old c functions for drive detection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@829 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDVDDetector.h')
-rw-r--r--macosx/HBDVDDetector.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/macosx/HBDVDDetector.h b/macosx/HBDVDDetector.h
new file mode 100644
index 000000000..935dd065c
--- /dev/null
+++ b/macosx/HBDVDDetector.h
@@ -0,0 +1,25 @@
+ /**
+ * HBDVDDetector.h
+ * 8/17/2007
+ *
+ * This file is part of the HandBrake source code.
+ * Homepage: <http://handbrake.m0k.org/>.
+ * It may be used under the terms of the GNU General Public License.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface HBDVDDetector : NSObject
+{
+ NSString *path;
+ NSString *bsdName;
+}
+
++ (HBDVDDetector *)detectorForPath: (NSString *)aPath;
+- (HBDVDDetector *)initWithPath: (NSString *)aPath;
+
+- (BOOL)isVideoDVD;
+- (NSString *)devicePath;
+
+@end \ No newline at end of file