MythTV
master
|
#include <dbaccess.h>
Classes | |
struct | file_association |
Public Types | |
using | association_list = std::vector< file_association > |
using | ext_ignore_list = std::vector< std::pair< QString, bool > > |
Public Member Functions | |
bool | add (file_association &fa) |
bool | get (unsigned int id, file_association &val) const |
bool | get (const QString &ext, file_association &val) const |
bool | remove (unsigned int id) |
const association_list & | getList () const |
void | getExtensionIgnoreList (ext_ignore_list &ext_ignore) const |
void | load_data () |
Static Public Member Functions | |
static FileAssociations & | getFileAssociation () |
Private Member Functions | |
FileAssociations () | |
~FileAssociations () | |
Private Attributes | |
class FileAssociationsImp * | m_imp {nullptr} |
Definition at line 136 of file dbaccess.h.
using FileAssociations::association_list = std::vector<file_association> |
Definition at line 154 of file dbaccess.h.
using FileAssociations::ext_ignore_list = std::vector<std::pair<QString, bool> > |
Definition at line 155 of file dbaccess.h.
|
private |
Definition at line 820 of file dbaccess.cpp.
|
private |
Definition at line 825 of file dbaccess.cpp.
|
static |
Definition at line 830 of file dbaccess.cpp.
Referenced by VideoScannerThread::buildFileList(), VideoListImp::buildFileList(), FileAssocDialogPrivate::LoadFileAssociations(), VideoPlayerCommandPrivate::PlayerFor(), and ImageAdapterBase::SupportedVideos().
bool FileAssociations::add | ( | file_association & | fa | ) |
Definition at line 785 of file dbaccess.cpp.
bool FileAssociations::get | ( | unsigned int | id, |
file_association & | val | ||
) | const |
Definition at line 790 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
bool FileAssociations::get | ( | const QString & | ext, |
file_association & | val | ||
) | const |
Definition at line 795 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
bool FileAssociations::remove | ( | unsigned int | id | ) |
Definition at line 800 of file dbaccess.cpp.
const FileAssociations::association_list & FileAssociations::getList | ( | ) | const |
Definition at line 805 of file dbaccess.cpp.
Referenced by FileAssocDialogPrivate::LoadFileAssociations(), VideoPlayerCommandPrivate::PlayerFor(), and ImageAdapterBase::SupportedVideos().
void FileAssociations::getExtensionIgnoreList | ( | ext_ignore_list & | ext_ignore | ) | const |
Definition at line 810 of file dbaccess.cpp.
Referenced by VideoScannerThread::buildFileList(), and VideoListImp::buildFileList().
void FileAssociations::load_data | ( | ) |
Definition at line 815 of file dbaccess.cpp.
Referenced by getFileAssociation().
|
private |
Definition at line 177 of file dbaccess.h.
Referenced by add(), FileAssociations(), get(), getExtensionIgnoreList(), getList(), load_data(), remove(), and ~FileAssociations().