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 <QDateTime>
#include "mythcdrom.h"
#include "mythcdrom-linux.h"
#include "mythconfig.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
 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

typedef struct cdrom_generic_command CDROMgenericCmd
 

Enumerations

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

Functions

MythCDROMGetMythCDROMLinux (QObject *par, const char *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

typedef struct cdrom_generic_command CDROMgenericCmd

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 111 of file mythcdrom-linux.cpp.

Function Documentation

◆ GetMythCDROMLinux()

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

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

Referenced by MythCDROM::get().