MythTV  master
Public Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
MythDVDInfo Class Reference

#include <libmythtv/DVD/mythdvdinfo.h>

Public Member Functions

 MythDVDInfo (const QString &Filename)
 
 ~MythDVDInfo (void)
 
bool IsValid (void) const
 
bool GetNameAndSerialNum (QString &Name, QString &SerialNumber)
 
QString GetLastError (void) const
 

Static Protected Member Functions

static void GetNameAndSerialNum (dvdnav_t *Nav, QString &Name, QString &Serialnum, const QString &Filename, const QString &LogPrefix)
 

Protected Attributes

dvdnav_t * m_nav { nullptr }
 
QString m_name
 
QString m_serialnumber
 
QString m_lastError
 

Friends

class MythDVDBuffer
 

Detailed Description

Definition at line 19 of file mythdvdinfo.h.

Constructor & Destructor Documentation

◆ MythDVDInfo()

MythDVDInfo::MythDVDInfo ( const QString &  Filename)
explicit

Definition at line 17 of file mythdvdinfo.cpp.

◆ ~MythDVDInfo()

MythDVDInfo::~MythDVDInfo ( void  )

Definition at line 40 of file mythdvdinfo.cpp.

Member Function Documentation

◆ IsValid()

bool MythDVDInfo::IsValid ( void  ) const

Definition at line 47 of file mythdvdinfo.cpp.

◆ GetNameAndSerialNum() [1/2]

bool MythDVDInfo::GetNameAndSerialNum ( QString &  Name,
QString &  SerialNumber 
)

Definition at line 110 of file mythdvdinfo.cpp.

Referenced by MythDVDInfo(), and MythDVDBuffer::OpenFile().

◆ GetLastError()

QString MythDVDInfo::GetLastError ( void  ) const

Definition at line 117 of file mythdvdinfo.cpp.

◆ GetNameAndSerialNum() [2/2]

void MythDVDInfo::GetNameAndSerialNum ( dvdnav_t *  Nav,
QString &  Name,
QString &  Serialnum,
const QString &  Filename,
const QString &  LogPrefix 
)
staticprotected

Definition at line 52 of file mythdvdinfo.cpp.

Friends And Related Function Documentation

◆ MythDVDBuffer

friend class MythDVDBuffer
friend

Definition at line 21 of file mythdvdinfo.h.

Member Data Documentation

◆ m_nav

dvdnav_t* MythDVDInfo::m_nav { nullptr }
protected

Definition at line 37 of file mythdvdinfo.h.

Referenced by IsValid(), MythDVDInfo(), and ~MythDVDInfo().

◆ m_name

QString MythDVDInfo::m_name
protected

Definition at line 38 of file mythdvdinfo.h.

Referenced by GetNameAndSerialNum(), and MythDVDInfo().

◆ m_serialnumber

QString MythDVDInfo::m_serialnumber
protected

Definition at line 39 of file mythdvdinfo.h.

Referenced by GetNameAndSerialNum(), and MythDVDInfo().

◆ m_lastError

QString MythDVDInfo::m_lastError
protected

Definition at line 40 of file mythdvdinfo.h.

Referenced by GetLastError(), and MythDVDInfo().


The documentation for this class was generated from the following files: