|
MythTV master
|
#include <libmythmetadata/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 826 of file dbaccess.cpp.
|
private |
Definition at line 831 of file dbaccess.cpp.
| bool FileAssociations::add | ( | file_association & | fa | ) |
Definition at line 791 of file dbaccess.cpp.
| bool FileAssociations::get | ( | const QString & | ext, |
| file_association & | val | ||
| ) | const |
Definition at line 801 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
| bool FileAssociations::get | ( | unsigned int | id, |
| file_association & | val | ||
| ) | const |
Definition at line 796 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
| void FileAssociations::getExtensionIgnoreList | ( | ext_ignore_list & | ext_ignore | ) | const |
Definition at line 816 of file dbaccess.cpp.
Referenced by VideoScannerThread::buildFileList(), VideoListImp::buildFileList(), and anonymous_namespace{videodlg.cpp}::GetTrailersInDirectory().
|
static |
Definition at line 836 of file dbaccess.cpp.
Referenced by VideoScannerThread::buildFileList(), VideoListImp::buildFileList(), anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::CommitChanges(), anonymous_namespace{editvideometadata.cpp}::FindVideoFilePopup(), anonymous_namespace{videodlg.cpp}::GetTrailersInDirectory(), FileAssocDialogPrivate::LoadFileAssociations(), VideoPlayerCommandPrivate::PlayerFor(), and ImageAdapterBase::SupportedVideos().
| const FileAssociations::association_list & FileAssociations::getList | ( | ) | const |
Definition at line 811 of file dbaccess.cpp.
Referenced by anonymous_namespace{editvideometadata.cpp}::FindVideoFilePopup(), FileAssocDialogPrivate::LoadFileAssociations(), VideoPlayerCommandPrivate::PlayerFor(), and ImageAdapterBase::SupportedVideos().
| void FileAssociations::load_data | ( | ) |
Definition at line 821 of file dbaccess.cpp.
Referenced by getFileAssociation().
| bool FileAssociations::remove | ( | unsigned int | id | ) |
Definition at line 806 of file dbaccess.cpp.
Referenced by anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::CommitChanges().
|
private |
Definition at line 177 of file dbaccess.h.
Referenced by add(), get(), getExtensionIgnoreList(), getList(), load_data(), remove(), and ~FileAssociations().