summaryrefslogtreecommitdiff
path: root/dvd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-05 15:11:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-05 15:11:35 +0200
commit57692504cd4576a40d442d866e12eba09835db03 (patch)
tree0521d2934de89cb1dedcc8aa04c75b14beaea312 /dvd.h
parent8c1fc6560d2ef79565c89f1f5b6223e2ee829a2e (diff)
downloadvdr-57692504cd4576a40d442d866e12eba09835db03.tar.gz
vdr-57692504cd4576a40d442d866e12eba09835db03.tar.bz2
Improved DVD handling
Diffstat (limited to 'dvd.h')
-rw-r--r--dvd.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/dvd.h b/dvd.h
index 39094c5a..ae9f3067 100644
--- a/dvd.h
+++ b/dvd.h
@@ -6,7 +6,7 @@
*
* Initially written by Andreas Schultz <aschultz@warp10.net>
*
- * $Id: dvd.h 1.1 2001/08/03 12:35:42 kls Exp $
+ * $Id: dvd.h 1.2 2001/08/05 15:00:23 kls Exp $
*/
#ifndef __DVD_H
@@ -28,19 +28,22 @@ private:
ifo_handle_t *vmg_file;
ifo_handle_t *vts_file;
int titleset;
+ static int Command(int Cmd);
public:
cDVD(void);
~cDVD();
+ static void SetDeviceName(const char *DeviceName);
+ static const char *DeviceName(void);
+ static bool DriveExists(void);
+ static bool DiscOk(void);
+ static void Eject(void);
void Open(void);
void Close(void);
- void Eject(void);
bool isValid(void) { return (dvd != NULL); }
ifo_handle_t *openVMG(void);
ifo_handle_t *openVTS(int TitleSet);
dvd_file_t *openTitle(int Title, dvd_read_domain_t domain);
static cDVD *getDVD(void);
- static void SetDeviceName(const char *DeviceName);
- static const char *DeviceName(void);
};
#endif //__DVD_H