MythTV
master
|
Go to the source code of this file.
Functions | |
std::shared_ptr< MythSortHelper > | getMythSortHelper (void) |
Get a pointer to the MythSortHelper singleton. More... | |
void | resetMythSortHelper (void) |
Delete the MythSortHelper singleton. More... | |
Variables | |
static std::shared_ptr< MythSortHelper > | singleton = nullptr |
std::shared_ptr<MythSortHelper> getMythSortHelper | ( | void | ) |
Get a pointer to the MythSortHelper singleton.
This function creates the MythSortHelper singleton, and returns a shared pointer to it.
Definition at line 129 of file mythsorthelper.cpp.
Referenced by MythGenericTree::ensureSortFields(), RecordingRule::ensureSortFields(), meta_dir_node::ensureSortFields(), ResultItem::ensureSortFields(), VideoMetadataImp::ensureSortFields(), ProgramInfo::ensureSortFields(), MusicMetadata::ensureSortFields(), GetSiteList(), MainGeneralSettings::MainGeneralSettings(), NewsSite::NewsSite(), RSSEditPopup::ParseAndSave(), Parse::ParseItem(), RSSSite::RSSSite(), NetSearch::SlotItemChanged(), RSSEditPopup::SlotSave(), and NetTree::UpdateCurrentItem().
void resetMythSortHelper | ( | void | ) |
Delete the MythSortHelper singleton.
This function deletes the pointer to the MythSortHelper singleton. This will force the next call to get the singleton to create a new one, which will pick up any modified parameters. The old one will be deleted when the last reference goes away (which probably happens with this assignment).
Definition at line 146 of file mythsorthelper.cpp.
Referenced by MainGeneralSettings::applyChange().
|
static |
Definition at line 119 of file mythsorthelper.cpp.
Referenced by getMythSortHelper(), and resetMythSortHelper().