|
MythTV master
|
#include <cerrno>#include <climits>#include <cstdint>#include <fcntl.h>#include <linux/cdrom.h>#include <linux/fs.h>#include <linux/iso_fs.h>#include <scsi/scsi.h>#include <scsi/sg.h>#include <sys/ioctl.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <QtGlobal>#include <QDateTime>#include "mythcdrom.h"#include "mythcdrom-linux.h"#include "mythlogging.h"#include "mythdate.h"Go to the source code of this file.
Classes | |
| struct | CDROMeventStatus |
| struct | CDROMdiscInfo |
| class | MythCDROMLinux |
| Use Linux-specific ioctl()s to detect Audio-CDs, changed media, open trays and blank writable media. More... | |
| struct | StHandle |
Macros | |
| #define | LOC QString("MythCDROMLinux:") |
| #define | ASSUME_WANT_AUDIO 1 |
Typedefs | |
| using | CDROMgenericCmd = cdrom_generic_command |
Enumerations | |
| enum | CDROMdiscStatus : std::uint8_t { MEDIA_IS_EMPTY = 0x0 , MEDIA_IS_APPENDABLE = 0x1 , MEDIA_IS_COMPLETE = 0x2 , MEDIA_IS_OTHER = 0x3 } |
Functions | |
| MythCDROM * | GetMythCDROMLinux (QObject *par, const QString &devicePath, bool SuperMount, bool AllowEject) |
| #define ASSUME_WANT_AUDIO 1 |
Definition at line 27 of file mythcdrom-linux.cpp.
| #define LOC QString("MythCDROMLinux:") |
Definition at line 23 of file mythcdrom-linux.cpp.
| using CDROMgenericCmd = cdrom_generic_command |
Definition at line 34 of file mythcdrom-linux.cpp.
| enum CDROMdiscStatus : std::uint8_t |
| Enumerator | |
|---|---|
| MEDIA_IS_EMPTY | |
| MEDIA_IS_APPENDABLE | |
| MEDIA_IS_COMPLETE | |
| MEDIA_IS_OTHER | |
Definition at line 118 of file mythcdrom-linux.cpp.
| MythCDROM * GetMythCDROMLinux | ( | QObject * | par, |
| const QString & | devicePath, | ||
| bool | SuperMount, | ||
| bool | AllowEject | ||
| ) |
Definition at line 161 of file mythcdrom-linux.cpp.
Referenced by MythCDROM::get().