MythTV  master
Classes | Macros | Typedefs | Enumerations | Functions
mythcdrom-linux.cpp File Reference
#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"
Include dependency graph for mythcdrom-linux.cpp:

Go to the source code of this file.

Classes

struct  CDROMeventStatus
 
struct  CDROMdiscInfo
 
class  MythCDROMLinux
 
struct  StHandle
 

Macros

#define LOC   QString("MythCDROMLinux:")
 
#define ASSUME_WANT_AUDIO   1
 

Typedefs

using CDROMgenericCmd = struct cdrom_generic_command
 

Enumerations

enum  CDROMdiscStatus { MEDIA_IS_EMPTY = 0x0, MEDIA_IS_APPENDABLE = 0x1, MEDIA_IS_COMPLETE = 0x2, MEDIA_IS_OTHER = 0x3 }
 

Functions

MythCDROMGetMythCDROMLinux (QObject *par, const QString &devicePath, bool SuperMount, bool AllowEject)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythCDROMLinux:")

Definition at line 23 of file mythcdrom-linux.cpp.

◆ ASSUME_WANT_AUDIO

#define ASSUME_WANT_AUDIO   1

Definition at line 27 of file mythcdrom-linux.cpp.

Typedef Documentation

◆ CDROMgenericCmd

using CDROMgenericCmd = struct cdrom_generic_command

Definition at line 34 of file mythcdrom-linux.cpp.

Enumeration Type Documentation

◆ CDROMdiscStatus

Enumerator
MEDIA_IS_EMPTY 
MEDIA_IS_APPENDABLE 
MEDIA_IS_COMPLETE 
MEDIA_IS_OTHER 

Definition at line 118 of file mythcdrom-linux.cpp.

Function Documentation

◆ GetMythCDROMLinux()

MythCDROM* GetMythCDROMLinux ( QObject *  par,
const QString &  devicePath,
bool  SuperMount,
bool  AllowEject 
)

Definition at line 161 of file mythcdrom-linux.cpp.

Referenced by MythCDROM::get().