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

#include <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 13 of file mythdvdinfo.h.

Constructor & Destructor Documentation

◆ MythDVDInfo()

MythDVDInfo::MythDVDInfo ( const QString &  Filename)
explicit

Definition at line 16 of file mythdvdinfo.cpp.

◆ ~MythDVDInfo()

MythDVDInfo::~MythDVDInfo ( void  )

Definition at line 39 of file mythdvdinfo.cpp.

Member Function Documentation

◆ IsValid()

bool MythDVDInfo::IsValid ( void  ) const

Definition at line 46 of file mythdvdinfo.cpp.

◆ GetNameAndSerialNum() [1/2]

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

Definition at line 109 of file mythdvdinfo.cpp.

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

◆ GetLastError()

QString MythDVDInfo::GetLastError ( void  ) const

Definition at line 116 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 51 of file mythdvdinfo.cpp.

Friends And Related Function Documentation

◆ MythDVDBuffer

friend class MythDVDBuffer
friend

Definition at line 15 of file mythdvdinfo.h.

Member Data Documentation

◆ m_nav

dvdnav_t* MythDVDInfo::m_nav { nullptr }
protected

Definition at line 31 of file mythdvdinfo.h.

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

◆ m_name

QString MythDVDInfo::m_name
protected

Definition at line 32 of file mythdvdinfo.h.

Referenced by GetNameAndSerialNum(), and MythDVDInfo().

◆ m_serialnumber

QString MythDVDInfo::m_serialnumber
protected

Definition at line 33 of file mythdvdinfo.h.

Referenced by GetNameAndSerialNum(), and MythDVDInfo().

◆ m_lastError

QString MythDVDInfo::m_lastError
protected

Definition at line 34 of file mythdvdinfo.h.

Referenced by GetLastError(), and MythDVDInfo().


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