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 584 of file dbaccess.cpp.
Definition at line 587 of file dbaccess.cpp.
Definition at line 588 of file dbaccess.cpp.
Definition at line 589 of file dbaccess.cpp.
|
default |
|
inline |
Definition at line 594 of file dbaccess.cpp.
Referenced by FileAssociations::add().
|
inline |
Definition at line 650 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 661 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 672 of file dbaccess.cpp.
Referenced by FileAssociations::remove().
|
inline |
Definition at line 689 of file dbaccess.cpp.
Referenced by FileAssociations::getList().
|
inline |
Definition at line 694 of file dbaccess.cpp.
Referenced by FileAssociations::getExtensionIgnoreList().
|
inline |
Definition at line 702 of file dbaccess.cpp.
Referenced by FileAssociations::load_data().
|
inline |
Definition at line 712 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 719 of file dbaccess.cpp.
Referenced by load_data().
|
inlineprivate |
Definition at line 737 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 751 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 761 of file dbaccess.cpp.
Referenced by get().
|
inlineprivate |
Definition at line 775 of file dbaccess.cpp.
|
mutable |
Definition at line 700 of file dbaccess.cpp.
Referenced by load_data().
|
private |
Definition at line 786 of file dbaccess.cpp.
Referenced by add(), cfind(), cleanup(), fill_from_db(), find(), get(), getExtensionIgnoreList(), getList(), and remove().
Definition at line 787 of file dbaccess.cpp.
Referenced by cleanup(), and load_data().