MythTV
master
|
Public Types | |
using | file_association = FileAssociations::file_association |
using | association_list = FileAssociations::association_list |
using | ext_ignore_list = FileAssociations::ext_ignore_list |
Public Member Functions | |
FileAssociationsImp ()=default | |
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 () |
void | cleanup () |
Public Attributes | |
QMutex | m_mutex |
Private Member Functions | |
void | fill_from_db () |
association_list::iterator | find (const QString &ext) |
association_list::iterator | find (unsigned int id) |
association_list::const_iterator | cfind (const QString &ext) const |
association_list::const_iterator | cfind (unsigned int id) const |
Private Attributes | |
association_list | m_fileAssociations |
bool | m_ready {false} |
Definition at line 582 of file dbaccess.cpp.
Definition at line 585 of file dbaccess.cpp.
Definition at line 586 of file dbaccess.cpp.
Definition at line 587 of file dbaccess.cpp.
|
default |
|
inline |
Definition at line 592 of file dbaccess.cpp.
Referenced by FileAssociations::add().
|
inline |
Definition at line 644 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), FileAssociations::get(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
|
inline |
Definition at line 655 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
|
inline |
Definition at line 666 of file dbaccess.cpp.
Referenced by FileAssociations::remove().
|
inline |
Definition at line 683 of file dbaccess.cpp.
Referenced by FileAssociations::getList().
|
inline |
Definition at line 688 of file dbaccess.cpp.
Referenced by FileAssociations::getExtensionIgnoreList().
|
inline |
Definition at line 696 of file dbaccess.cpp.
Referenced by FileAssociations::load_data().
|
inline |
Definition at line 706 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 713 of file dbaccess.cpp.
Referenced by load_data().
|
inlineprivate |
Definition at line 731 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 745 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 755 of file dbaccess.cpp.
Referenced by get().
|
inlineprivate |
Definition at line 769 of file dbaccess.cpp.
|
mutable |
Definition at line 694 of file dbaccess.cpp.
Referenced by load_data().
|
private |
Definition at line 780 of file dbaccess.cpp.
Referenced by add(), cfind(), cleanup(), fill_from_db(), find(), get(), getExtensionIgnoreList(), getList(), and remove().
Definition at line 781 of file dbaccess.cpp.
Referenced by cleanup(), and load_data().