MythTV  master
Classes | Functions | Variables
mythcdrom.cpp File Reference
#include "mythcdrom.h"
#include <udfread/udfread.h>
#include <udfread/blockinput.h>
#include <QtGlobal>
#include <QDir>
#include <QFileInfo>
#include "compat.h"
#include "mythconfig.h"
#include "mythlogging.h"
#include "remotefile.h"
Include dependency graph for mythcdrom.cpp:

Go to the source code of this file.

Classes

struct  blockInput_t
 

Functions

static int def_close (udfread_block_input *p_gen)
 
static uint32_t def_size (udfread_block_input *p_gen)
 
static int def_read (udfread_block_input *p_gen, uint32_t lba, void *buf, uint32_t nblocks, int flags)
 

Variables

static constexpr const char * PATHTO_BAD_DVD_MOUNT { "/video_ts" }
 
static constexpr const char * PATHTO_DVD_DETECT { "/VIDEO_TS" }
 
static constexpr const char * PATHTO_BD_DETECT { "/BDMV" }
 
static constexpr const char * PATHTO_VCD_DETECT { "/vcd" }
 
static constexpr const char * PATHTO_SVCD_DETECT { "/svcd" }
 
static constexpr const char * PATHTO_AUDIO_DETECT { "/.TOC.plist" }
 

Function Documentation

◆ def_close()

static int def_close ( udfread_block_input *  p_gen)
static

Definition at line 153 of file mythcdrom.cpp.

Referenced by MythCDROM::inspectImage().

◆ def_size()

static uint32_t def_size ( udfread_block_input *  p_gen)
static

Definition at line 168 of file mythcdrom.cpp.

Referenced by MythCDROM::inspectImage().

◆ def_read()

static int def_read ( udfread_block_input *  p_gen,
uint32_t  lba,
void *  buf,
uint32_t  nblocks,
int  flags 
)
static

Definition at line 175 of file mythcdrom.cpp.

Referenced by MythCDROM::inspectImage().

Variable Documentation

◆ PATHTO_BAD_DVD_MOUNT

constexpr const char* PATHTO_BAD_DVD_MOUNT { "/video_ts" }
staticconstexpr

Definition at line 32 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().

◆ PATHTO_DVD_DETECT

constexpr const char* PATHTO_DVD_DETECT { "/VIDEO_TS" }
staticconstexpr

Definition at line 34 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().

◆ PATHTO_BD_DETECT

constexpr const char* PATHTO_BD_DETECT { "/BDMV" }
staticconstexpr

Definition at line 35 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().

◆ PATHTO_VCD_DETECT

constexpr const char* PATHTO_VCD_DETECT { "/vcd" }
staticconstexpr

Definition at line 36 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().

◆ PATHTO_SVCD_DETECT

constexpr const char* PATHTO_SVCD_DETECT { "/svcd" }
staticconstexpr

Definition at line 37 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().

◆ PATHTO_AUDIO_DETECT

constexpr const char* PATHTO_AUDIO_DETECT { "/.TOC.plist" }
staticconstexpr

Definition at line 40 of file mythcdrom.cpp.

Referenced by MythCDROM::onDeviceMounted().