MythTV
master
|
This class contains the runtime context for MythTV. More...
#include <mythcorecontext.h>
Public Types | |
enum | ResolveType { ResolveAny = -1, ResolveIPv4 = 0, ResolveIPv6 = 1 } |
using | PlaybackStartCb = void(QObject::*)(void) |
Signals | |
void | TVPlaybackStarted (void) |
void | TVPlaybackStopped (void) |
void | TVPlaybackSought (qint64 position) |
void | TVPlaybackSought (void) |
void | TVPlaybackPaused (void) |
void | TVPlaybackUnpaused (void) |
void | TVPlaybackAborted (void) |
void | TVPlaybackAboutToStart (void) |
void | TVPlaybackPlaying (void) |
Public Member Functions | |
MythCoreContext (const QString &binversion, QObject *guiContext) | |
~MythCoreContext () override | |
bool | Init (void) |
void | SetLocalHostname (const QString &hostname) |
void | SetServerSocket (MythSocket *serverSock) |
void | SetEventSocket (MythSocket *eventSock) |
void | SetScheduler (MythScheduler *sched) |
bool | SafeConnectToMasterServer (bool blockingClient=true, bool openEventSocket=true) |
bool | ConnectToMasterServer (bool blockingClient=true, bool openEventSocket=true) |
MythSocket * | ConnectCommandSocket (const QString &hostname, int port, const QString &announcement, bool *proto_mismatch=nullptr, int maxConnTry=-1, std::chrono::milliseconds setup_timeout=-1ms) |
MythSocket * | ConnectEventSocket (const QString &hostname, int port) |
bool | SetupCommandSocket (MythSocket *serverSock, const QString &announcement, std::chrono::milliseconds timeout, bool &proto_mismatch) |
bool | CheckProtoVersion (MythSocket *socket, std::chrono::milliseconds timeout=kMythSocketLongTimeout, bool error_dialog_desired=false) |
QString | GetMasterHostPrefix (const QString &storageGroup=QString(), const QString &path=QString()) |
QString | GetMasterHostName (void) |
QString | GetHostName (void) |
QString | GetFilePrefix (void) |
bool | IsConnectedToMaster (void) |
void | SetAsBackend (bool backend) |
bool | IsBackend (void) const |
is this process a backend process More... | |
void | SetAsFrontend (bool frontend) |
bool | IsFrontend (void) const |
is this process a frontend process More... | |
bool | IsFrontendOnly (void) |
is there a frontend, but no backend, running on this host More... | |
bool | IsMasterHost (void) |
is this the same host as the master More... | |
bool | IsMasterHost (const QString &host) |
is specified host the master More... | |
bool | IsMasterBackend (void) |
is this the actual MBE process More... | |
bool | IsThisBackend (const QString &addr) |
is this address mapped to this backend host More... | |
bool | IsThisHost (const QString &addr) |
is this address mapped to this host More... | |
bool | IsThisHost (const QString &addr, const QString &host) |
void | BlockShutdown (void) |
void | AllowShutdown (void) |
bool | IsBlockingClient (void) const |
is this client blocking shutdown More... | |
void | SetWOLAllowed (bool allow) |
bool | IsWOLAllowed () const |
bool | SendReceiveStringList (QStringList &strlist, bool quickTimeout=false, bool block=true) |
Send a message to the backend and wait for a response. More... | |
void | SendMessage (const QString &message) |
void | SendEvent (const MythEvent &event) |
void | SendSystemEvent (const QString &msg) |
void | SendHostSystemEvent (const QString &msg, const QString &hostname, const QString &args) |
void | SetGUIObject (QObject *gui) |
QObject * | GetGUIObject (void) |
QObject * | GetGUIContext (void) |
bool | HasGUI (void) const |
bool | IsUIThread (void) |
MythDB * | GetDB (void) |
MDBManager * | GetDBManager (void) |
MythScheduler * | GetScheduler (void) |
bool | IsDatabaseIgnored (void) const |
/brief Returns true if database is being ignored. More... | |
void | SaveSetting (const QString &key, int newValue) |
void | SaveSetting (const QString &key, const QString &newValue) |
QString | GetSetting (const QString &key, const QString &defaultval="") |
template<typename T > | |
std::enable_if_t< std::chrono::__is_duration< T >::value, void > | SaveDurSetting (const QString &key, T newValue) |
bool | SaveSettingOnHost (const QString &key, const QString &newValue, const QString &host) |
void | SaveBoolSetting (const QString &key, bool newValue) |
bool | GetBoolSetting (const QString &key, bool defaultval=false) |
int | GetNumSetting (const QString &key, int defaultval=0) |
template<typename T > | |
std::enable_if_t< std::chrono::__is_duration< T >::value, T > | GetDurSetting (const QString &key, T defaultval=T::zero()) |
int | GetBoolSetting (const QString &key, int defaultval)=delete |
bool | GetNumSetting (const QString &key, bool defaultvalue)=delete |
double | GetFloatSetting (const QString &key, double defaultval=0.0) |
void | GetResolutionSetting (const QString &type, int &width, int &height, double &forced_aspect, double &refresh_rate, int index=-1) |
void | GetResolutionSetting (const QString &type, int &width, int &height, int index=-1) |
QString | GetSettingOnHost (const QString &key, const QString &host, const QString &defaultval="") |
bool | GetBoolSettingOnHost (const QString &key, const QString &host, bool defaultval=false) |
int | GetNumSettingOnHost (const QString &key, const QString &host, int defaultval=0) |
int | GetBoolSettingOnHost (const QString &key, const QString &host, int defaultval)=delete |
bool | GetNumSettingOnHost (const QString &key, const QString &host, bool defaultval=false)=delete |
double | GetFloatSettingOnHost (const QString &key, const QString &host, double defaultval=0.0) |
QString | GetBackendServerIP (void) |
Returns the IP address of the locally defined backend IP. More... | |
QString | GetBackendServerIP (const QString &host) |
Returns the IP address of backend "host" If an IPv6 address has been defined, will use it whenever possible, unless the IPv6 address is a localhost address, in which case the IPv4 address will be used. More... | |
QString | GetBackendServerIP4 (void) |
Returns the IPv4 address defined for the current host see GetBackendServerIP4(host) More... | |
QString | GetBackendServerIP4 (const QString &host) |
Returns the IPv4 address defined for the backend "host". More... | |
QString | GetBackendServerIP6 (void) |
Returns the IPv6 address defined for the current host see GetBackendServerIP6(host) More... | |
QString | GetBackendServerIP6 (const QString &host) |
Returns the IPv6 address defined for the backend "host". More... | |
QString | GetMasterServerIP (void) |
Returns the Master Backend IP address If the address is an IPv6 address, the scope Id is removed. More... | |
int | GetMasterServerStatusPort (void) |
Returns the Master Backend status port If no master server status port has been defined in the database, return the default 6544. More... | |
int | GetBackendServerPort (void) |
Returns the locally defined backend control port. More... | |
int | GetBackendServerPort (const QString &host) |
Returns the backend "hosts"'s control port. More... | |
int | GetBackendStatusPort (void) |
Returns the locally defined backend status port. More... | |
int | GetBackendStatusPort (const QString &host) |
Returns the backend "hosts"'s status port. More... | |
bool | GetScopeForAddress (QHostAddress &addr) const |
Return the cached scope Id for the given address. More... | |
void | SetScopeForAddress (const QHostAddress &addr) |
Record the scope Id of the given IP address. More... | |
void | SetScopeForAddress (const QHostAddress &addr, int scope) |
Record the scope Id of the given IP address. More... | |
QString | resolveSettingAddress (const QString &name, const QString &host=QString(), ResolveType type=ResolveAny, bool keepscope=false) |
Retrieve IP setting "name" for "host". More... | |
bool | CheckSubnet (const QAbstractSocket *socket) |
Check if a socket is connected to an approved peer. More... | |
bool | CheckSubnet (const QHostAddress &peer) |
Check if aa ip address is approved. More... | |
void | ClearSettingsCache (const QString &myKey=QString("")) |
void | ActivateSettingsCache (bool activate=true) |
void | OverrideSettingForSession (const QString &key, const QString &value) |
void | ClearOverrideSettingForSession (const QString &key) |
void | dispatch (const MythEvent &event) |
void | InitPower (bool Create=true) |
void | InitLocale (void) |
void | ReInitLocale (void) |
MythLocale * | GetLocale (void) const |
QLocale | GetQLocale (void) |
void | SaveLocaleDefaults (void) |
QString | GetLanguage (void) |
Returns two character ISO-639 language descriptor for UI language. More... | |
QString | GetLanguageAndVariant (void) |
Returns the user-set language and variant. More... | |
void | ResetLanguage (void) |
void | ResetSockets (void) |
void | RegisterForPlayback (QObject *sender, PlaybackStartCb method) |
template<class OBJ , typename SLOT > | |
std::enable_if_t< std::is_member_function_pointer_v< SLOT >, void > | RegisterForPlayback (OBJ *sender, SLOT method) |
void | UnregisterForPlayback (QObject *sender) |
void | WantingPlayback (QObject *sender) |
All the objects that have registered using MythCoreContext::RegisterForPlayback but sender will be called. More... | |
bool | InWantingPlayback (void) |
Returns true if a client has requested playback. More... | |
void | TVInWantingPlayback (bool b) |
Let the TV class tell us if we was interrupted following a call to WantingPlayback(). More... | |
MythSessionManager * | GetSessionManager (void) |
void | SetPluginManager (MythPluginManager *pmanager) |
MythPluginManager * | GetPluginManager (void) |
void | SetExiting (bool exiting=true) |
bool | IsExiting (void) |
void | RegisterFileForWrite (const QString &file, uint64_t size=0LL) |
void | UnregisterFileForWrite (const QString &file) |
bool | IsRegisteredFileForWrite (const QString &file) |
void | setTestIntSettings (QMap< QString, int > &overrides) |
void | setTestFloatSettings (QMap< QString, double > &overrides) |
void | setTestStringSettings (QMap< QString, QString > &overrides) |
void | WaitUntilSignals (std::vector< CoreWaitInfo > &sigs) const |
Wait until any of the provided signals have been received. More... | |
void | emitTVPlaybackStarted (void) |
void | emitTVPlaybackStopped (void) |
void | emitTVPlaybackSought (qint64 position) |
void | emitTVPlaybackPaused (void) |
void | emitTVPlaybackUnpaused (void) |
void | emitTVPlaybackAborted (void) |
void | emitTVPlaybackPlaying (void) |
void | SetDVBv3 (bool dvbv3) |
bool | GetDVBv3 (void) const |
![]() | |
MythObservable () | |
virtual | ~MythObservable () |
void | addListener (QObject *listener) |
Add a listener to the observable. More... | |
void | removeListener (QObject *listener) |
Remove a listener to the observable. More... | |
void | dispatch (const MythEvent &event) |
Dispatch an event to all listeners. More... | |
bool | hasListeners (void) |
![]() | |
virtual | ~MythSocketCBs ()=default |
virtual void | error (MythSocket *, int) |
Static Public Member Functions | |
static QString | GenMythURL (const QString &host=QString(), int port=0, QString path=QString(), const QString &storageGroup=QString()) |
static bool | BackendIsRunning (void) |
a backend process is running on this host More... | |
static int | GetMasterServerPort (void) |
Returns the Master Backend control port If no master server port has been defined in the database, return the default 6543. More... | |
static void | ClearBackendServerPortCache () |
static QString | resolveAddress (const QString &host, ResolveType type=ResolveAny, bool keepscope=false) |
if host is an IP address, it will be returned or resolved otherwise. More... | |
static bool | TestPluginVersion (const QString &name, const QString &libversion, const QString &pluginversion) |
Static Public Attributes | |
static QHash< QString, int > | s_serverPortCache |
Private Member Functions | |
void | connected (MythSocket *sock) override |
void | connectionFailed (MythSocket *sock) override |
void | connectionClosed (MythSocket *sock) override |
void | readyRead (MythSocket *sock) override |
Private Attributes | |
MythCoreContextPrivate * | d {nullptr} |
QMap< QString, int > | m_testOverrideInts {} |
QMap< QString, double > | m_testOverrideFloats {} |
QMap< QString, QString > | m_testOverrideStrings {} |
bool | m_dvbv3 {false} |
Additional Inherited Members | |
![]() | |
QMutex * | m_lock {nullptr} |
QSet< QObject * > | m_listeners |
This class contains the runtime context for MythTV.
This class can be used to query for and set global and host settings, and is used to communicate between the frontends and backends. It also contains helper functions for theming and for getting system defaults, parsing the command line, etc. It also contains support for database error printing, and database message logging.
Definition at line 63 of file mythcorecontext.h.
using MythCoreContext::PlaybackStartCb = void (QObject::*)(void) |
Definition at line 241 of file mythcorecontext.h.
Enumerator | |
---|---|
ResolveAny | |
ResolveIPv4 | |
ResolveIPv6 |
Definition at line 212 of file mythcorecontext.h.
MythCoreContext::MythCoreContext | ( | const QString & | binversion, |
QObject * | guiContext | ||
) |
Definition at line 213 of file mythcorecontext.cpp.
|
override |
Definition at line 280 of file mythcorecontext.cpp.
bool MythCoreContext::Init | ( | void | ) |
Definition at line 219 of file mythcorecontext.cpp.
Referenced by MythContext::MythContext().
void MythCoreContext::SetLocalHostname | ( | const QString & | hostname | ) |
Definition at line 1729 of file mythcorecontext.cpp.
Referenced by MythContextPrivate::LoadDatabaseSettings().
void MythCoreContext::SetServerSocket | ( | MythSocket * | serverSock | ) |
void MythCoreContext::SetEventSocket | ( | MythSocket * | eventSock | ) |
void MythCoreContext::SetScheduler | ( | MythScheduler * | sched | ) |
Definition at line 1869 of file mythcorecontext.cpp.
Referenced by cleanup(), and run_backend().
bool MythCoreContext::SafeConnectToMasterServer | ( | bool | blockingClient = true , |
bool | openEventSocket = true |
||
) |
Definition at line 345 of file mythcorecontext.cpp.
Referenced by IdleScreen::CheckConnectionToServer(), WelcomeDialog::checkConnectionToServer(), main(), and Reconnect::run().
bool MythCoreContext::ConnectToMasterServer | ( | bool | blockingClient = true , |
bool | openEventSocket = true |
||
) |
Definition at line 356 of file mythcorecontext.cpp.
Referenced by StartPrompter::backendRunningPrompt(), LCDProcClient::checkConnections(), ClearSettingsCache(), FlagCommercials(), handle_command(), isRecording(), main(), RawSendEvent(), Reschedule(), SafeConnectToMasterServer(), ScanVideos(), SendReceiveStringList(), setScheduledWakeupTime(), and LCDProcClient::updateRecordingList().
MythSocket * MythCoreContext::ConnectCommandSocket | ( | const QString & | hostname, |
int | port, | ||
const QString & | announcement, | ||
bool * | proto_mismatch = nullptr , |
||
int | maxConnTry = -1 , |
||
std::chrono::milliseconds | setup_timeout = -1ms |
||
) |
Definition at line 426 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), RemoteGetFileList(), RemoteSendReceiveStringList(), and RemoteEncoder::Setup().
MythSocket * MythCoreContext::ConnectEventSocket | ( | const QString & | hostname, |
int | port | ||
) |
Definition at line 544 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer().
bool MythCoreContext::SetupCommandSocket | ( | MythSocket * | serverSock, |
const QString & | announcement, | ||
std::chrono::milliseconds | timeout, | ||
bool & | proto_mismatch | ||
) |
Definition at line 301 of file mythcorecontext.cpp.
Referenced by ConnectCommandSocket().
bool MythCoreContext::CheckProtoVersion | ( | MythSocket * | socket, |
std::chrono::milliseconds | timeout = kMythSocketLongTimeout , |
||
bool | error_dialog_desired = false |
||
) |
Definition at line 1664 of file mythcorecontext.cpp.
Referenced by connect_to_master(), RemoteFile::openSocket(), and SetupCommandSocket().
|
static |
Definition at line 759 of file mythcorecontext.cpp.
Referenced by Content::AddLiveStream(), ImportMusicDialog::addPressed(), ThemeUpdateChecker::checkForUpdate(), Ripper::deleteExistingTrack(), EditAlbumartDialog::doCopyImageToTag(), RemoteFile::FindFileList(), AlbumArtImages::findImages(), generate_file_url(), StorageGroup::getGroupDirs(), GetMasterHostPrefix(), ProgramInfo::GetPlaybackURL(), getStorageGroupURL(), MainServer::HandleFillProgramInfo(), MainServer::HandleQueryFindFile(), MainServer::HandleQueryRecordings(), MainServer::HandleSGFileQuery(), NativeArchive::importRecording(), ImageAdapterSg::MakeFileUrl(), ImageAdapterSg::MakeThumbUrl(), HttpConfig::ProcessRequest(), CDRipperThread::run(), AlbumArtImages::scanForImages(), VideoScannerThread::SetDirs(), MythUIFileBrowser::SetPath(), TVRec::SpawnLiveTV(), ThemeUpdateChecker::ThemeUpdateChecker(), transUnlink(), and ImportCoverArtDialog::updateStatus().
QString MythCoreContext::GetMasterHostPrefix | ( | const QString & | storageGroup = QString() , |
const QString & | path = QString() |
||
) |
Definition at line 797 of file mythcorecontext.cpp.
Referenced by ChannelRecPriority::FillList(), FileServerHandler::HandleDownloadFile(), MainServer::HandleDownloadFile(), OSD::SetText(), GuideGrid::updateChannelsUI(), ChannelRecPriority::updateInfo(), GuideGrid::updateInfo(), and ChannelRecPriority::updateList().
QString MythCoreContext::GetMasterHostName | ( | void | ) |
Definition at line 806 of file mythcorecontext.cpp.
Referenced by CDRipperThread::CDRipperThread(), ThemeUpdateChecker::checkForUpdate(), MetadataOptions::CreateLookup(), LookerUpper::customEvent(), MusicPlayer::customEvent(), MetadataOptions::customEvent(), OutboundRequestHandler::DoConnectToMaster(), NetBase::DoDownloadAndPlay(), doUpgradeMusicDatabaseSchema(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), RemoteFile::FindFileList(), findIcon(), MusicMetadata::getAlbumArtFile(), V2Status::GetBackendStatus(), GetMasterHostPrefix(), GetMasterServerStatusPort(), ProgramInfo::GetPlaybackURL(), MainServer::HandleAnnounce(), MetadataOptions::HandleDownloadedImages(), MainServer::HandleQueryFindFile(), ImportMusicDialog::ImportMusicDialog(), NativeArchive::importRecording(), MetadataFactory::Lookup(), MetadataOptions::OnImageSearchListSelection(), RecMetadataEdit::PerformQuery(), PlaybackBox::PlaybackBox(), Ripper::Ripper(), MetadataOptions::SelectLocalBanner(), MetadataOptions::SelectLocalCoverart(), MetadataOptions::SelectLocalFanart(), VideoScannerThread::SetDirs(), VideoSetupWizard::testHDVideo(), VideoSetupWizard::testSDVideo(), and ThemeUpdateChecker::ThemeUpdateChecker().
QString MythCoreContext::GetHostName | ( | void | ) |
Definition at line 837 of file mythcorecontext.cpp.
Referenced by MusicFileScanner::AddFileToDB(), Content::AddLiveStream(), Content::AddRecordingLiveStream(), HTTPLiveStream::AddStream(), Content::AddVideoLiveStream(), ControlRequestHandler::AnnounceSocket(), MainServer::BackendQueryDiskSpace(), Playlist::changed(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), checkImageStoragePaths(), checkStoragePaths(), CleanupMyOldInUsePrograms(), CleanupTask::CleanupOldRecordings(), clearAllKeys(), connect_to_master(), MythControls::Create(), PlaybackSettings::CreateNewPlaybackProfileSlot(), MythSessionManager::CreateUserSession(), CurrentPlaybackProfile(), StorageGroupEditor::customEvent(), GalleryThumbView::customEvent(), MythSystemEventHandler::customEvent(), BrowserApi::customEvent(), MythWebView::customEvent(), NetworkControl::customEvent(), MainServer::customEvent(), HouseKeeper::customEvent(), MusicPlayer::customEvent(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), ProgramInfo::DiscoverRecordingDirectory(), InfoList::Display(), RadioStreamUpdateTask::DoCheckRun(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), StatusBox::doMachineStatus(), doUpgradeTVDatabaseSchema(), Content::DownloadFile(), V2Content::DownloadFile(), RemoteFile::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireRecordings(), ExtractImage(), FillEncoderList(), Scheduler::FillRecordingDir(), CaptureCard::fillSelections(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), findAllDBSearchGrabbers(), findAllDBTreeGrabbersByHost(), RemoteFile::FindFileList(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), FrontendActions::FrontendActions(), get_cardtype(), MainServer::GetActiveBackends(), MetaIOFLACVorbis::getAlbumArtList(), MythDisplay::GetAspectRatio(), V2Status::GetBackendStatus(), DBUtil::GetBackupDirectory(), CardUtil::GetConfiguredDVBInputs(), getDBParamters(), Dvr::GetEncoderList(), Content::GetHash(), V2Content::GetHash(), Myth::GetHostName(), V2Myth::GetHostName(), CardUtil::GetInputIDs(), MusicMetadata::getLocalFilename(), BrowserApi::GetMetadata(), Scheduler::GetNextLiveTVDir(), ProgramInfo::GetPlaybackURL(), Content::GetPreviewImage(), V2Content::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), Content::GetRecording(), V2Content::GetRecording(), LogViewer::getSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Frontend::GetStatus(), MythFrontendService::GetStatus(), V2Config::GetSystemEvents(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), BrowserApi::GetVolume(), StorageGroupDirStorage::GetWhereClause(), MainServer::HandleAddChildInput(), FileServerHandler::HandleAnnounce(), MainServer::HandleAnnounce(), MainServer::HandleCheckRecordingActive(), FileServerHandler::HandleDownloadFile(), MainServer::HandleDownloadFile(), FileServerHandler::HandleFileQuery(), MainServer::HandleFillProgramInfo(), MainServer::HandleGenPreviewPixmap(), FileServerHandler::HandleGetFileList(), MainServer::HandleIsActiveBackendQuery(), MainServer::HandleLockTuner(), MainServer::HandleMusicFindAlbumArt(), MainServer::HandleMusicTagAddImage(), MainServer::HandleMusicTagChangeImage(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryCheckFile(), FileServerHandler::HandleQueryFileExists(), MainServer::HandleQueryFileExists(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), MainServer::HandleQueryFindFile(), BaseRequestHandler::HandleQueryHostname(), MainServer::HandleQueryHostname(), MainServer::HandleQueryRecordings(), MainServer::HandleScanMusic(), MainServer::HandleSGFileQuery(), MainServer::HandleSGGetFileList(), HardwareProfile::HardwareProfile(), CaptureCard::Hostname::Hostname(), HTTPLiveStream::HTTPLiveStream(), MediaServer::Init(), init_jobs(), Frontend::InitialiseActions(), MythUIThemeHelper::InitThemeHelper(), JobQueue::InJobRunWindow(), insertGrabberInDB(), IsFrontendOnly(), CardUtil::IsInputTypePresent(), IsMasterHost(), IsThisHost(), BackendSettings::Load(), StorageGroupEditor::Load(), StorageGroupListEditor::Load(), InputSelector::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), CaptureCardEditor::Load(), CardInputEditor::Load(), RecordingProfile::loadByType(), VideoSetupWizard::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), LoadFromRecorded(), main(), MainServer::MainServer(), Dvr::ManageJobQueue(), V2Dvr::ManageJobQueue(), ProgramInfo::MarkAsInUse(), BackendSettings::masterBackendChanged(), MythVideoProfile::MythVideoProfile(), ImageAdapterLocal::Notify(), BrowserApi::Pause(), BrowserApi::Play(), PlaybackProfileConfig::PlaybackProfileConfig(), PlaybackSock::PlaybackSock(), BrowserApi::PlayFile(), BrowserApi::PlayTrack(), BrowserApi::PlayURL(), VideoSetupWizard::playVideoTest(), WeatherSource::ProbeScript(), NetworkControl::processPlay(), HttpConfig::ProcessRequest(), FileServerHandler::QueryFileSystems(), HouseKeeperTask::QueryLast(), MetaIOID3::readAlbumArt(), RebuildSeekTable(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), MythRAOPDevice::RegisterForBonjour(), RemoteGetFileList(), RemoteSendReceiveStringList(), removeGrabberFromDB(), SystemEventThread::run(), PreviewGenerator::Run(), MythDownloadManager::run(), NAMThread::run(), ReadMetaThread::run(), PreviewGenerator::RunReal(), VideoSetupWizard::save(), PlaybackProfileConfig::Save(), CaptureCard::Save(), ScreenSetup::saveData(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ScanMusic(), ScanVideoDirectory(), MusicFileScanner::SearchDirs(), SendMythSystemPlayEvent(), SendSystemEvent(), SendSystemEvent(), PlayerContext::SetTVChain(), RemoteEncoder::Setup(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), BrowserApi::SetVolume(), CaptureCardEditor::ShowDeleteAllCaptureCardsDialogOnHost(), TV::ShowOSDPromptDeleteRecording(), TVRec::SpawnLiveTV(), MythAirplayServer::Start(), HouseKeeper::Start(), RecordingInfo::StartedRecording(), startTVNormal(), StatusBox::StatusBox(), BrowserApi::Stop(), DiSEqCDevTree::Store(), ThemeChooser::ThemeChooser(), MusicFileScanner::UpdateFileInDB(), HouseKeeperTask::UpdateLastRun(), Scheduler::WakeUpSlave(), and WasAutomaticStart().
QString MythCoreContext::GetFilePrefix | ( | void | ) |
Definition at line 843 of file mythcorecontext.cpp.
bool MythCoreContext::IsConnectedToMaster | ( | void | ) |
Definition at line 589 of file mythcorecontext.cpp.
Referenced by StartPrompter::backendRunningPrompt(), LCDProcClient::checkConnections(), IdleScreen::CheckConnectionToServer(), WelcomeDialog::checkConnectionToServer(), isRecording(), setScheduledWakeupTime(), WelcomeDialog::updateRecordingList(), LCDProcClient::updateRecordingList(), IdleScreen::UpdateScheduledList(), WelcomeDialog::updateScheduledList(), and WelcomeDialog::updateScreen().
void MythCoreContext::SetAsBackend | ( | bool | backend | ) |
Definition at line 638 of file mythcorecontext.cpp.
Referenced by main().
bool MythCoreContext::IsBackend | ( | void | ) | const |
is this process a backend process
Definition at line 643 of file mythcorecontext.cpp.
Referenced by ImageScanThread< ImageDbSg >::Broadcast(), ChannelImporter::ChannelImporter(), ConnectToMasterServer(), ProgramInfo::DiscoverRecordingDirectory(), MythContextPrivate::FindDatabase(), ImageScanThread< ImageDbSg >::GetProgress(), MythHTTPServer::Init(), IsMasterBackend(), IsThisBackend(), RegisterFileForWrite(), RemoteGetFlags(), RemoteGetState(), RemoteIsBusy(), RemoteRecordPending(), RemoteStopLiveTV(), RemoteStopRecording(), SendEvent(), SendMessage(), ScheduledRecording::SendReschedule(), and UnregisterFileForWrite().
void MythCoreContext::SetAsFrontend | ( | bool | frontend | ) |
Definition at line 648 of file mythcorecontext.cpp.
Referenced by main().
bool MythCoreContext::IsFrontend | ( | void | ) | const |
is this process a frontend process
Definition at line 653 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), MythHTTPServer::Init(), and MythContextPrivate::Init().
bool MythCoreContext::IsFrontendOnly | ( | void | ) |
is there a frontend, but no backend, running on this host
Definition at line 744 of file mythcorecontext.cpp.
Referenced by ExitPrompter::Confirm(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), ExitPrompter::HandleExit(), MythWelcomeSettings::MythWelcomeSettings(), and WelcomeDialog::shutdownNow().
bool MythCoreContext::IsMasterHost | ( | void | ) |
is this the same host as the master
Definition at line 658 of file mythcorecontext.cpp.
Referenced by checkStoragePaths(), StorageGroupEditor::DoDeleteSlot(), doUpgradeTVDatabaseSchema(), StartPrompter::handleStart(), IsMasterBackend(), StorageGroupListEditor::Load(), ExitPrompter::masterPromptExit(), run_backend(), RawSettingsEditor::Save(), ScanVideoDirectory(), StorageGroupEditor::SetLabel(), StorageGroupEditor::ShowDeleteDialog(), StorageGroupListEditor::StorageGroupListEditor(), V2Status::V2Status(), and WasAutomaticStart().
bool MythCoreContext::IsMasterHost | ( | const QString & | host | ) |
is specified host the master
Definition at line 664 of file mythcorecontext.cpp.
bool MythCoreContext::IsMasterBackend | ( | void | ) |
is this the actual MBE process
Definition at line 694 of file mythcorecontext.cpp.
Referenced by MythUserSession::CheckPermission(), ConnectToMasterServer(), MythSessionManager::CreateUserSession(), MessageHandler::customEvent(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), RemoteFile::FindFileList(), MusicMetadata::getAlbumArtFile(), GetMasterHostName(), MythSessionManager::GetSession(), MythSessionManager::IsValidSession(), MythSessionManager::IsValidUser(), MythSessionManager::LoginUser(), MythSessionManager::MythSessionManager(), RemoteGetFileList(), RemoteSendReceiveStringList(), MetadataImageDownload::run(), run_backend(), and VideoMetadata::VideoFileHash().
|
static |
a backend process is running on this host
Definition at line 699 of file mythcorecontext.cpp.
Referenced by StartPrompter::handleStart(), ExitPrompter::quit(), RawSettingsEditor::Save(), and WasAutomaticStart().
bool MythCoreContext::IsThisBackend | ( | const QString & | addr | ) |
is this address mapped to this backend host
Definition at line 715 of file mythcorecontext.cpp.
Referenced by RemoteFile::Exists(), and RemoteFile::FindFileList().
bool MythCoreContext::IsThisHost | ( | const QString & | addr | ) |
is this address mapped to this host
Definition at line 720 of file mythcorecontext.cpp.
Referenced by MainServer::GetMediaServerByHostname(), MainServer::GetSlaveByHostname(), FileServerHandler::HandleFileQuery(), FileServerHandler::HandleGetFileList(), MainServer::HandleMusicCalcTrackLen(), MainServer::HandleMusicFindAlbumArt(), MainServer::HandleMusicFindLyrics(), MainServer::HandleMusicSaveLyrics(), MainServer::HandleMusicTagAddImage(), MainServer::HandleMusicTagChangeImage(), MainServer::HandleMusicTagGetImage(), MainServer::HandleMusicTagRemoveImage(), MainServer::HandleMusicTagUpdateMetadata(), MainServer::HandleMusicTagUpdateVolatile(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), MainServer::HandleQueryFindFile(), IsThisBackend(), MetadataImageDownload::run(), and VideoMetadata::VideoFileHash().
bool MythCoreContext::IsThisHost | ( | const QString & | addr, |
const QString & | host | ||
) |
Definition at line 725 of file mythcorecontext.cpp.
void MythCoreContext::BlockShutdown | ( | void | ) |
Definition at line 595 of file mythcorecontext.cpp.
Referenced by MythMainWindow::ExitStandby(), and JobQueue::ProcessQueue().
void MythCoreContext::AllowShutdown | ( | void | ) |
Definition at line 609 of file mythcorecontext.cpp.
Referenced by MythMainWindow::customEvent(), MythMainWindow::EnterStandby(), and JobQueue::ProcessQueue().
bool MythCoreContext::IsBlockingClient | ( | void | ) | const |
is this client blocking shutdown
Definition at line 623 of file mythcorecontext.cpp.
Referenced by JobQueue::ProcessQueue(), and Reconnect::run().
void MythCoreContext::SetWOLAllowed | ( | bool | allow | ) |
Definition at line 628 of file mythcorecontext.cpp.
Referenced by MythMainWindow::EnterStandby(), and MythMainWindow::ExitStandby().
bool MythCoreContext::IsWOLAllowed | ( | ) | const |
Definition at line 633 of file mythcorecontext.cpp.
Referenced by ConnectCommandSocket(), MSqlDatabase::OpenDatabase(), and MythContextPrivate::ShowConnectionFailurePopup().
bool MythCoreContext::SendReceiveStringList | ( | QStringList & | strlist, |
bool | quickTimeout = false , |
||
bool | block = true |
||
) |
Send a message to the backend and wait for a response.
strlist | A QStringList used for both sending commands to the backend and receiving responses from the backend. |
quickTimeout | If true, the short timeout is used while waiting for a response. If false (the default) then the long timeout is used. |
block | If true (the default) and the request sent to the backend times out, this function will attempt to reconnect and reissue the request. If false, this function will not attempt to reconnect to the backend. |
Definition at line 1370 of file mythcorecontext.cpp.
Referenced by MainGeneralSettings::applyChange(), ImageManagerFe::ChangeOrientation(), ImageManagerFe::ClearStorageGroup(), LyricsView::createFindLyricsMenu(), ImageManagerFe::CreateImages(), EditAlbumartDialog::customEvent(), RemoteFile::DeleteFile(), ImageManagerFe::DeleteFiles(), EditAlbumartDialog::doRemoveImageFromTag(), StatusBox::doTunerStatus(), downloadRemoteFile(), exec_program_tv_cb(), RemoteFile::FindFileList(), LyricsData::findLyrics(), MusicMetadata::getAlbumArtFile(), GetMasterHostName(), MythUIFileBrowser::GetRemoteFileList(), ImageManagerFe::HideFiles(), ImageManagerFe::IgnoreDirs(), IsFrontendOnly(), RemoteFile::LastModified(), ProgramInfo::LoadFromScheduler(), ImageManagerFe::MakeDir(), ImageManagerFe::MoveDbImages(), RemoteFile::MoveFile(), MythDirOpen(), RawSendEvent(), RemoteCancelNextRecording(), RemoteCheckFile(), RemoteCheckForRecording(), RemoteDeleteRecording(), RemoteFillProgramInfo(), RemoteGetActiveBackends(), RemoteGetExistingRecorder(), RemoteGetFileList(), RemoteGetFlags(), FileSystemInfo::RemoteGetInfo(), RemoteGetLoad(), RemoteGetMemStats(), RemoteGetPreviewIfModified(), RemoteGetPreviewLastModified(), RemoteGetRecordingList(), RemoteGetRecordingMask(), RemoteGetRecordingStatus(), RemoteGetState(), RemoteGetUptime(), VideoDialog::RemoteImageCheck(), RemoteIsBusy(), PreviewGenerator::RemotePreviewRun(), RemoteRecordings(), RemoteRecordPending(), RemoteRequestFreeInputInfo(), RemoteSendReceiveStringList(), RemoteStopLiveTV(), RemoteStopRecording(), RemoteUndeleteRecording(), ImageManagerFe::RenameFile(), SendStringListThread::run(), AlbumArtScannerThread::run(), CopyImageThread::run(), SendAsyncMessage::run(), LyricsData::save(), ImageManagerFe::ScanImagesAction(), ImageManagerFe::ScanQuery(), ScanVideos(), ScheduledRecording::SendReschedule(), ImageManagerFe::SetCover(), and StatusBox::StatusBox().
void MythCoreContext::SendMessage | ( | const QString & | message | ) |
Definition at line 1516 of file mythcorecontext.cpp.
Referenced by CalcTrackLength(), ClearSettingsCache(), commDetectorGotNewCommercialBreakList(), MythSystemEventHandler::customEvent(), TV::customEvent(), DoFlagCommercials(), MythPlayerUI::EventLoop(), ExtractImage(), FindLyrics(), handle_command(), handleSIGUSR1(), TV::HandleStateChange(), main(), ExitPrompter::quit(), AllMusic::resync(), SystemEventThread::run(), ProgramInfoUpdater::run(), VideoScannerThread::run(), SettingsHelper::RunEpilog(), RawSettingsEditor::Save(), MusicFileScanner::SearchDirs(), SendSystemEvent(), unlockShutdown(), and UpdateMeta().
void MythCoreContext::SendEvent | ( | const MythEvent & | event | ) |
Definition at line 1529 of file mythcorecontext.cpp.
Referenced by ImageManagerFe::CreateThumbnails(), MainServer::DoDeleteInDB(), ImageAdapterLocal::Notify(), ImageAdapterSg::Notify(), ImageManagerFe::RequestMetaData(), VideoScannerThread::run(), ReadMetaThread::run(), TVRec::TuningSignalCheck(), and HouseKeeperTask::UpdateLastRun().
void MythCoreContext::SendSystemEvent | ( | const QString & | msg | ) |
Definition at line 1543 of file mythcorecontext.cpp.
Referenced by MainServer::connectionClosed(), ThemeChooser::customEvent(), MythRAOPDevice::deleteClient(), NetworkControl::deleteClient(), MythAirplayServer::deleteConnection(), MainServer::DoHandleDeleteRecording(), BaseRequestHandler::HandleAnnounce(), MainServer::HandleAnnounce(), MythCECAdapter::HandleCommand(), Scheduler::HandleReschedule(), MythScreenType::keyPressEvent(), main(), MythScreenType::MythScreenType(), MythAirplayServer::newAirplayConnection(), NetworkControl::newControlConnection(), MythRAOPDevice::newRaopConnection(), run_backend(), SendHostSystemEvent(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), BackendContext::SetFrontendConnected(), BackendContext::SetFrontendDisconnected(), TV::StartTV(), TVRec::TuningSignalCheck(), and MythScreenType::~MythScreenType().
void MythCoreContext::SendHostSystemEvent | ( | const QString & | msg, |
const QString & | hostname, | ||
const QString & | args | ||
) |
Definition at line 1552 of file mythcorecontext.cpp.
void MythCoreContext::SetGUIObject | ( | QObject * | gui | ) |
Definition at line 1736 of file mythcorecontext.cpp.
Referenced by MythMainWindow::destroyMainWindow(), and MythMainWindow::getMainWindow().
QObject * MythCoreContext::GetGUIObject | ( | void | ) |
Definition at line 1746 of file mythcorecontext.cpp.
Referenced by MythSystemLegacy::HandlePostRun(), and MythSystemLegacy::HandlePreRun().
QObject * MythCoreContext::GetGUIContext | ( | void | ) |
Definition at line 1751 of file mythcorecontext.cpp.
Referenced by MythSocket::Validate().
bool MythCoreContext::HasGUI | ( | void | ) | const |
Definition at line 1741 of file mythcorecontext.cpp.
Referenced by VideoScanner::doScan(), GameScanner::doScan(), MetadataFactory::OnVideoResult(), MythSystemLegacy::ProcessFlags(), SendReceiveStringList(), and VideoScannerThread::VideoScannerThread().
bool MythCoreContext::IsUIThread | ( | void | ) |
Definition at line 1347 of file mythcorecontext.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseDispInfo(), TVBrowseHelper::BrowseEnd(), TVBrowseHelper::BrowseStart(), MythNVDECInterop::CreateCUDAContext(), MythCodecContext::DestroyInterop(), MythCodecContext::GetDecoders(), MythInteropGPU::GetTypes(), MythNVDECContext::HaveNVDEC(), MythVideoOutputVulkan::Init(), MythVideoOutputOpenGL::Init(), MythMediaCodecInterop::Initialise(), MythVDPAUContext::InitialiseContext(), MythVAAPIContext::InitialiseContext(), MythMediaCodecContext::InitialiseDecoder(), MythVTBContext::InitialiseDecoder(), MythNVDECContext::InitialiseDecoder(), MythCodecContext::InitialiseDecoder(), MythCodecContext::InitialiseDecoder2(), MythV4L2M2MContext::InitialiseV4L2RequestContext(), MythVideoProfile::InitStatics(), MythSystemLegacy::ProcessFlags(), MDBManager::PurgeIdleConnections(), SendReceiveStringList(), MythMainWindow::SetDrawEnabled(), and MythDB::WriteDelayedSettings().
MythDB * MythCoreContext::GetDB | ( | void | ) |
Definition at line 1756 of file mythcorecontext.cpp.
Referenced by V2Myth::DeleteSetting(), MythContextPrivate::EnableDBerrors(), V2Myth::GetBackendInfo(), MythMainWindow::Init(), MythContextPrivate::Init(), MythContextPrivate::LoadDatabaseSettings(), main(), MSqlDatabase::OpenDatabase(), MythContextPrivate::ResetDatabase(), run_backend(), MythContextPrivate::SaveDatabaseParams(), MythContextPrivate::SilenceDBerrors(), MythContextPrivate::TestDBconnection(), and MythContextPrivate::UPnPconnect().
MDBManager * MythCoreContext::GetDBManager | ( | void | ) |
Definition at line 864 of file mythcorecontext.cpp.
Referenced by MythContextPrivate::ResetDatabase().
MythScheduler * MythCoreContext::GetScheduler | ( | void | ) |
Definition at line 1874 of file mythcorecontext.cpp.
Referenced by cleanup(), Myth::DelayShutdown(), V2Myth::DelayShutdown(), FillUpcomingList(), V2Myth::GetBackendInfo(), Dvr::GetConflictList(), Guide::GetProgramGuide(), V2Guide::GetProgramGuide(), Guide::GetProgramList(), V2Guide::GetProgramList(), Dvr::GetRecordedList(), V2Dvr::GetRecordedList(), Dvr::GetUpcomingList(), ProgramInfo::LoadFromScheduler(), V2Myth::ManageScheduler(), and V2Status::V2Status().
bool MythCoreContext::IsDatabaseIgnored | ( | void | ) | const |
/brief Returns true if database is being ignored.
This was created for some command line only programs which still need MythTV libraries, such as channel scanners, channel change programs, and the off-line commercial flagger.
Definition at line 875 of file mythcorecontext.cpp.
Referenced by MythDVDPlayer::GetBookmark(), MythBDPlayer::GetBookmark(), MythPlayer::GetBookmark(), PlayerContext::GetFilters(), DeleteMap::IsSaved(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), MythPlayer::OpenFile(), ProgramInfo::ProgramInfo(), ProgramInfo::QueryTotalDuration(), run_backend(), DeleteMap::SaveMap(), and PlayerContext::SetPlayingInfo().
void MythCoreContext::SaveSetting | ( | const QString & | key, |
int | newValue | ||
) |
Definition at line 880 of file mythcorecontext.cpp.
Referenced by AirPlayHardwareId(), ThemeUpdateChecker::checkForUpdate(), ThemeChooser::customEvent(), GalleryThumbView::customEvent(), EditAlbumartDialog::customEvent(), HardwareProfile::DeleteProfile(), doBurnDVD(), ParentalLevelChangeCheckerPrivate::DoCheck(), doNativeArchive(), GalleryThumbView::DoRepeat(), GalleryThumbView::DoShowType(), doUpgradeMusicDatabaseSchema(), MythUIThemeHelper::FindMenuThemeDir(), getTempDirectory(), handleMedia(), TV::HandleOSDClosed(), ProgramRecPriority::keyPressEvent(), ThemeChooser::LoadVersion(), main(), mythplugin_init(), ParentalLevelChangeCheckerPrivate::OnPasswordEntered(), MythPlayer::OpenFile(), PlaybackBox::PlaybackBox(), PlaylistEditorView::PlaylistEditorView(), ManualSchedule::recordClicked(), ThemeChooser::refreshDownloadableThemes(), GallerySlideView::RepeatOn(), MythBurn::runScript(), AudioSetupWizard::save(), RawSettingsEditor::Save(), ThemeChooser::saveAndReload(), VideoFilterSettings::saveAsDefault(), MythVideoBounds::SaveBottomLine(), DVDThemeSelector::saveConfiguration(), SelectDestination::saveConfiguration(), GlobalSetup::saveData(), ZMClient::saveNotificationMonitors(), MusicPlayer::savePosition(), VideoDialog::SavePosition(), PlaylistEditorView::saveTreePosition(), MythVideoColourSpace::SaveValue(), PlaybackBox::saveViewChanges(), GalleryThumbView::SelectZoomWidget(), PlaybackBox::setGroupFilter(), ImportMusicDialog::setSaveHost(), Ripper::setSaveHost(), AudioOutputBase::SetSWVolume(), MythFontProperties::SetZoom(), MythUIWebBrowser::SetZoom(), SubtitleScreen::SetZoom(), ScreenWizard::slotResetSettings(), VisualizationSettings::slotSave(), RatingSettings::slotSave(), GeneralSettings::slotSave(), ImportSettings::slotSave(), MetadataSettings::slotSave(), PlayerSettings::slotSave(), GrabberSettings::slotSave(), BrowserConfig::slotSave(), ScreenWizard::slotSaveSettings(), HardwareProfile::SubmitProfile(), VideoDialog::SwitchLayout(), NetTree::SwitchView(), ThemeUpdateChecker::ThemeUpdateChecker(), VideoDialog::ToggleBrowseMode(), VideoDialog::ToggleFlatView(), TV::UpdateChannelList(), MusicFileScanner::updateLastRunEnd(), MusicFileScanner::updateLastRunStart(), MusicFileScanner::updateLastRunStatus(), ArchiveFileSelector::~ArchiveFileSelector(), ChannelRecPriority::~ChannelRecPriority(), GuideGrid::~GuideGrid(), ImportMusicDialog::~ImportMusicDialog(), LogViewer::~LogViewer(), MainVisual::~MainVisual(), MusicPlayer::~MusicPlayer(), PrevRecordedList::~PrevRecordedList(), StatusBox::~StatusBox(), VideoDialogPrivate::~VideoDialogPrivate(), ZMEvents::~ZMEvents(), and ZMLivePlayer::~ZMLivePlayer().
void MythCoreContext::SaveSetting | ( | const QString & | key, |
const QString & | newValue | ||
) |
Definition at line 885 of file mythcorecontext.cpp.
QString MythCoreContext::GetSetting | ( | const QString & | key, |
const QString & | defaultval = "" |
||
) |
Definition at line 897 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), MusicFileScanner::AddFileToDB(), AirPlayHardwareId(), VideoPlayerCommandPrivate::AltPlayerFor(), ArchiveFileSelector::ArchiveFileSelector(), AudioDeviceComboBox::AudioDeviceComboBox(), StartPrompter::backendRunningPrompt(), DBUtil::BackupDB(), MythHTTPServer::BuildOrigins(), GameUI::BuildTree(), burnISOImage(), DiSEqCDevRotor::CalculateAzimuth(), LogViewer::cancelClicked(), CDRipperThread::CDRipperThread(), ThemeUpdateChecker::checkForUpdate(), Scheduler::CheckShutdownServer(), ClassicLogoDetector::ClassicLogoDetector(), SchemaUpgradeWizard::Compare(), RecordingProfile::CompleteLoad(), ConnectCommandSocket(), ImageScanThread< ImageDbSg >::CountFiles(), ImportSettings::Create(), GeneralSettings::Create(), PlayerSettings::Create(), ManualSchedule::Create(), BrowserConfig::Create(), ImportMusicDialog::Create(), PlaylistEditorView::Create(), createISOImage(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), GalleryThumbView::customEvent(), MythSystemEventHandler::customEvent(), MusicCommon::customEvent(), MediaMonitor::defaultDevice(), DBUtil::DoBackup(), BurnMenu::doBurn(), ParentalLevelChangeCheckerPrivate::DoCheck(), RadioStreamUpdateTask::DoCheckRun(), MythFillDatabaseTask::DoCheckRun(), ZMClient::doGetMonitorList(), NativeArchive::doImportArchive(), StatusBox::doListingsStatus(), StatusBox::doMachineStatus(), MythFillDatabaseTask::DoRun(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), ScheduleCommon::EditRecording(), MythMainWindow::EnterStandby(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), filenameFromMetadata(), Scheduler::FillRecordingDir(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), EditMetadataDialog::FindBanner(), EditRomInfoDialog::FindBoxart(), EditMetadataDialog::FindCoverArt(), EditRomInfoDialog::FindFanart(), EditMetadataDialog::FindFanart(), StorageGroup::FindFileDir(), EditRomInfoDialog::FindScreenshot(), EditMetadataDialog::FindScreenshot(), EditMetadataDialog::FindTrailer(), ImportNative::finishedPressed(), HardwareProfile::GetAdminPasswordFromFile(), V2Status::GetBackendStatus(), V2Video::GetBluray(), Video::GetBluray(), Myth::GetConnectionInfo(), V2Myth::GetConnectionInfo(), ZMEvents::getDateList(), MythBurn::getDefaultProfile(), MythDisplay::GetDesiredScreen(), getFileDetails(), GetFilePrefix(), ChannelInfo::GetFormatted(), ImageManagerFe::getInstance(), JobQueue::GetJobCommand(), JobQueue::GetJobDescription(), GetLanguageAndVariant(), getLocalWritePath(), GetMasterServerIP(), GetMasterServerPort(), MythVAAPIContext::GetProfiles(), HardwareProfile::GetProfileURL(), MythFEXML::GetScreenShot(), getTempDirectory(), MetaGrabberScript::GetType(), GetVideoDirsByHost(), GuiVidModeResolution(), MythBurn::handleAddFile(), MainServer::HandleGoToSleep(), Scheduler::HandleIdleShutdown(), MainServer::HandleMusicFindAlbumArt(), MythAirplayServer::HandleResponse(), Scheduler::HandleRunSchedulerStartup(), HardwareProfile::HardwareProfile(), MythVAAPIContext::HaveVAAPI(), MythNVDECContext::HwDecoderInit(), GalleryThumbView::Import(), ImportMusicDialog::ImportMusicDialog(), NativeArchive::importVideo(), StorageGroup::Init(), MythTranslationPrivate::Init(), GrabberSettings::Init(), AudioSetupWizard::Init(), ThemeChooser::Init(), V4LChannel::Init(), LCDProcClient::init(), TVRec::Init(), MythVAAPIContext::InitialiseContext2(), InitializeDatabase(), ChannelBase::InitializeInput(), V4LChannel::InitializeInputs(), EditPowerSearchPopup::initLists(), MythHTTPS::InitSSLServer(), MythUIThemeHelper::InitThemeHelper(), JobQueue::InJobRunWindow(), MusicFileScanner::IsArtFile(), DBUtil::IsBackupInProgress(), IsMasterHost(), ISO639_fill_selections(), iso639_get_language_list(), MusicFileScanner::IsRunning(), JobAllowUserJob(), JobQueue::JobText(), WelcomeDialog::keyPressEvent(), MusicCommon::keyPressEvent(), MythTranslation::LanguageChanged(), RawSettingsEditor::Load(), AudioConfigSettings::Load(), PostProcMixin::Load(), TransFreqTableSelector::Load(), DVDThemeSelector::loadConfiguration(), SelectDestination::loadConfiguration(), ExportNative::loadConfiguration(), MythBurn::loadConfiguration(), VideoDialog::loadData(), MythBurn::loadEncoderProfiles(), LoadFromProgram(), LCDProcClient::loadSettings(), HttpServer::LoadSSLConfig(), TextSubtitleParser::LoadSubtitles(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), main(), Dvr::ManageJobQueue(), V2Dvr::ManageJobQueue(), MediaMonitor::MediaMonitor(), GalleryThumbView::MenuAction(), MusicPlayer::MusicPlayer(), MythLanguage(), MythPlayer::MythPlayer(), MythPlayerVisualiserUI::MythPlayerVisualiserUI(), mythplugin_init(), MythSortHelper::MythSortHelper(), MythVAAPIInteropDRM::MythVAAPIInteropDRM(), MythVideoColourSpace::MythVideoColourSpace(), MythCECAdapter::Open(), MythRAOPConnection::OpenAudioDevice(), AudioOutputCA::OpenDevice(), MythBDBuffer::OpenFile(), MythDVDBuffer::OpenFile(), AudioOutputALSA::OpenMixer(), MusicPlayer::openOutputDevice(), ParentalLevelChangeCheckerPrivate::ParentalLevelChangeCheckerPrivate(), PlaybackBox::PlaybackBox(), playDisc(), VideoPlayerCommandPrivate::PlayerFor(), HttpStatus::PrintMachineInfo(), V2Status::PrintMachineInfo(), MythRAOPConnection::ProcessRequest(), Myth::ProfileUpdated(), V2Myth::ProfileUpdated(), ProgramInfo::ProgramInfo(), LanguageSelection::prompt(), DBUtil::QueryDBMSVersion(), ExitPrompter::quit(), AudioOutputBase::Reconfigure(), RecordingInfo::RecordingInfo(), reloadTheme(), MusicFileScanner::RemoveFileFromDB(), NetStream::Request(), resolveSettingAddress(), Ripper::Ripper(), CDRipperThread::ripTrack(), CDRipperThread::run(), WelcomeDialog::runMythFillDatabase(), runTestDVD(), TransFreqTableSelector::Save(), ThemeChooser::saveAndReload(), ImportCoverArtDialog::scanDirectory(), MusicFileScanner::SearchDirs(), MusicMetadata::setArtistAndTrackFormats(), ZMLivePlayer::setMonitorLayout(), MpegRecorder::SetOptionsFromProfile(), ImportRecorder::SetOptionsFromProfile(), DTVRecorder::SetOptionsFromProfile(), V4L2encRecorder::SetOptionsFromProfile(), ASIRecorder::SetOptionsFromProfile(), NuppelVideoRecorder::SetOptionsFromProfile(), HTTPLiveStream::SetOutputVars(), ScanWizard::SetPaneDefaults(), StartingChannel::SetSourceID(), setting_to_localtime(), setting_to_qdatetime(), MythPlayerAudioUI::SetupAudioOutput(), LCDProcClient::SetupLCD(), ZMClient::setupZMClient(), AudioOutputPulseAudio::SetVolumeChannel(), ProgFinder::ShowGuide(), VideoDialog::ShowHomepage(), GalleryThumbView::ShowSettings(), ViewScheduleDiff::showStatus(), NetBase::ShowWebVideo(), shutdown(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), BookmarkManager::slotBookmarkClicked(), GeneralSetupWizard::slotDelete(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), MythDisplay::SpanAllScreens(), BurnMenu::start(), EditAlbumartDialog::startCopyImageToTag(), startDatabaseTree(), MythDVDBuffer::StartFromBeginning(), WelcomeDialog::startFrontend(), startGuide(), StartPrompter::stopBackend(), MythContextPrivate::TestDBconnection(), ProgramInfo::ToMap(), MythDate::toString(), Transcode::TranscodeFile(), GameHandler::UpdateGameDB(), MythPlayerOverlayUI::UpdateSliderInfo(), MusicMetadata::updateStreamList(), PlaybackBox::UpdateUILists(), UpgradeArchiveDatabaseSchema(), UpgradeBrowserDatabaseSchema(), UpgradeGameDatabaseSchema(), UpgradeNewsDatabaseSchema(), VAAPIDevice(), VideoDialogPrivate::VideoDialogPrivate(), VolumeBase::VolumeBase(), AudioOutputOSS::VolumeInit(), AudioOutputJACK::VolumeInit(), WasAutomaticStart(), and Scheduler::WasStartedAutomatically().
|
inline |
Definition at line 156 of file mythcorecontext.h.
Referenced by MusicPlayer::decoderHandlerReady(), MusicPlayer::savePosition(), and LogViewer::~LogViewer().
bool MythCoreContext::SaveSettingOnHost | ( | const QString & | key, |
const QString & | newValue, | ||
const QString & | host | ||
) |
Definition at line 890 of file mythcorecontext.cpp.
Referenced by DBUtil::BackupDB(), HardwareProfile::Disable(), doUpgradeTVDatabaseSchema(), HardwareProfile::Enable(), MythVideoProfile::GetDefaultProfileName(), ImageHandler< ImageDbSg >::HandleIgnore(), MainServer::HandleSetSetting(), main(), Myth::ManageUrlProtection(), V2Myth::ManageUrlProtection(), Myth::PutSetting(), V2Myth::PutSetting(), LanguageSelection::Save(), MythVideoProfile::SetDefaultProfileName(), Scheduler::ShutdownServer(), GrabberSettings::slotSave(), ThemeChooser::toggleThemeUpdateNotifications(), updateLastRunEnd(), updateLastRunStart(), updateLastRunStatus(), updateNextScheduledRun(), and MusicMetadata::updateStreamList().
|
inline |
Definition at line 161 of file mythcorecontext.h.
Referenced by GalleryThumbView::DoShowHidden(), AudioSetupWizard::save(), PlaybackBox::saveViewChanges(), NetTree::ToggleRSSUpdates(), NetTree::ToggleTreeUpdates(), and ViewScheduled::~ViewScheduled().
Definition at line 905 of file mythcorecontext.cpp.
Referenced by Content::AddRecordingLiveStream(), JobQueue::AllowedToRun(), AudioOutputALSA::AudioOutputALSA(), AudioOutputBase::AudioOutputBase(), AudioPlayer::AudioPlayer(), DBUtil::BackupDB(), ServerPool::bind(), GameUI::BuildTree(), AudioOutputBase::CanPassthrough(), WelcomeDialog::checkAutoStart(), Scheduler::CheckShutdownServer(), CheckSubnet(), ClassicCommDetector::ClassicCommDetector(), CompleteJob(), LCDProcClient::connectToHost(), GameUI::Create(), VideoDialog::Create(), PlaybackBox::Create(), VideoDialog::CreatePlayMenu(), MainServer::customEvent(), ServerPool::DefaultBroadcast(), ThemeUpdateTask::DoCheckRun(), ArtworkTask::DoCheckRun(), MythFillDatabaseTask::DoCheckRun(), MainServer::DoDeleteThread(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), MainServer::DoTruncateThread(), doUpgradeTVDatabaseSchema(), Ripper::ejectCD(), AutoExpire::ExpireEpisodesOverMax(), filenameFromMetadata(), AutoExpire::FillDBOrdered(), TV::FillOSDMenuJumpRec(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), V2Status::GetBackendStatus(), ImageManagerFe::getInstance(), JobQueue::GetJobsInQueue(), AudioOutputSettings::GetMaxHDRate(), ProgramInfo::GetPlaybackURL(), Content::GetPreviewImage(), V2Content::GetPreviewImage(), Content::GetRecording(), V2Content::GetRecording(), AudioOutputSettings::GetUsers(), PrePostRollFlagger::go(), ClassicCommDetector::go(), MainServer::HandleDeleteFile(), handleGalleryMedia(), Scheduler::HandleIdleShutdown(), handleMedia(), MythAirplayServer::HandleResponse(), MythRAOPConnection::Init(), MusicCommon::init(), PlaybackBox::Init(), MythUIWebBrowser::Init(), TVRec::Init(), MPEG2fixup::InitAV(), UPnp::Initialize(), MythUIScreenBounds::InitScreenBounds(), AudioOutputBase::InitSettings(), LinuxFirewireDevice::LinuxFirewireDevice(), ServerPool::listen(), main(), MainServer::MainServer(), MediaMonitorUnix::MediaMonitorUnix(), GallerySlideView::MenuMain(), GalleryThumbView::MenuSlideshow(), MusicCommon::MusicCommon(), MythOpenGLVideo::MythOpenGLVideo(), MythPlayer::MythPlayer(), MythPlayerCaptionsUI::MythPlayerCaptionsUI(), mythplugin_init(), MythSortHelper::MythSortHelper(), MythVideoColourSpace::MythVideoColourSpace(), MythVideoGPU::MythVideoGPU(), NetTree::NetTree(), MythCECAdapter::Open(), MythRAOPConnection::OpenAudioDevice(), AvFormatDecoder::OpenFile(), MusicPlayer::openOutputDevice(), PlaybackBox::Play(), PlaybackBox::PlaybackBox(), MythPlayer::PrebufferEnoughFrames(), MythRAOPConnection::ProcessRequest(), ProgramRecPriority::ProgramRecPriority(), JobQueue::QueueJobs(), JobQueue::QueueRecordingJobs(), AudioOutputBase::Reconfigure(), JobQueue::RecoverQueue(), MythRAOPDevice::RegisterForBonjour(), Ripper::RipComplete(), CDRipperThread::run(), Scheduler::run(), ServerPool::SelectDefaultListen(), MythRAOPConnection::SendNotification(), PlaybackBox::setGroupFilter(), MythPlayerAudioUI::SetupAudioOutput(), GallerySlideView::ShowNextSlide(), ThemeChooser::showPopupMenu(), Scheduler::ShutdownServer(), GallerySlideView::SlideAvailable(), MediaMonitor::StartMonitoring(), MHInteractionChannel::status(), ThemeChooser::toggleThemeUpdateNotifications(), AudioConfigSettings::UpdateCapabilities(), MythFillDatabaseTask::UseSuggestedTime(), MythDisplayOSX::UsingVideoModes(), MythDisplayX11::UsingVideoModes(), MythDisplayDRM::UsingVideoModes(), MythDisplayRPI::UsingVideoModes(), MythDisplayMutter::UsingVideoModes(), VideoDialogPrivate::VideoDialogPrivate(), VideoListImp::VideoListImp(), VideoDialog::VideoMenu(), VideoScannerThread::VideoScannerThread(), VolumeBase::VolumeBase(), and GuideGrid::~GuideGrid().
int MythCoreContext::GetNumSetting | ( | const QString & | key, |
int | defaultval = 0 |
||
) |
Definition at line 911 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), Scheduler::AddNewRecords(), AudioOutputBase::AudioOutputBase(), AudioTest::AudioTest(), BlankFrameDetector::BlankFrameDetector(), BorderDetector::BorderDetector(), burnISOImage(), AutoExpire::CalcParams(), ChannelRecPriority::ChannelRecPriority(), ClassicCommDetector::ClassicCommDetector(), ClassicLogoDetector::ClassicLogoDetector(), CleanupTask::CleanupProgramListings(), ConnectCommandSocket(), AudioOutputPulseAudio::ConnectPlaybackStream(), VisualizationSettings::Create(), RatingSettings::Create(), ImportSettings::Create(), GeneralSettings::Create(), PlayerSettings::Create(), MetadataSettings::Create(), AudioSetupWizard::Create(), ManualSchedule::Create(), GalleryThumbView::Create(), ZMEvents::Create(), BrowserConfig::Create(), VideoDialog::Create(), ZMLivePlayer::Create(), Ripper::Create(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), MainServer::customEvent(), DeleteThread::DeleteThread(), DetectLetterbox::DetectLetterbox(), ParentalLevelChangeCheckerPrivate::DoCheck(), HardwareProfileTask::DoCheckRun(), MythUDPListener::DoEnable(), MainServer::DoHandleUndeleteRecording(), doUpgradeTVDatabaseSchema(), DTVRecorder::DTVRecorder(), SubtitleScreen::EnableSubtitles(), MythMainWindow::ExitStandby(), AutoExpire::FillDBOrdered(), AutoExpire::FillExpireList(), Scheduler::FillRecordingDir(), PlayerSettings::fillRegionList(), FlagCommercials(), AutoExpire::GetAllExpiring(), GetBoolSetting(), ImageManagerFe::getInstance(), PreviewGeneratorQueue::GetPreviewImage(), HttpServer::GetSocketTimeout(), AudioOutputSettings::GetUsers(), ClassicCommDetector::go(), Goom::Goom(), handleDVDMedia(), ExitPrompter::HandleExit(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), HistogramAnalyzer::HistogramAnalyzer(), HttpStatus::HttpStatus(), MythMainWindow::IdleTimeout(), GallerySettings::ImageSizeChanged(), GrabberSettings::Init(), AudioSetupWizard::Init(), StatusBox::Init(), MythHTTPServer::Init(), PlaybackBox::Init(), MythUIWebBrowser::Init(), TVRec::Init(), ClassicCommDetector::Init(), TV::InitKeys(), MythUIScreenBounds::InitScreenBounds(), RecordingQuality::IsDamaged(), IsMasterHost(), JobQueue::JobQueue(), LinuxFirewireDevice::LinuxFirewireDevice(), SelectDestination::loadConfiguration(), GlobalSetup::loadData(), LoadFromOldRecorded(), LoadFromRecorded(), MusicPlayer::loadPlaylist(), MusicPlayer::loadSettings(), ThemeChooser::LoadVersion(), main(), MainVisual::MainVisual(), GalleryThumbView::MenuShow(), GalleryThumbView::MenuSlideshow(), MythPlayer::MythPlayer(), MythVideoBounds::MythVideoBounds(), MythVideoColourSpace::MythVideoColourSpace(), nearestName(), NetTree::NetTree(), MythCECAdapter::Open(), AudioOutputALSA::OpenDevice(), AudioOutputCA::OpenDevice(), MythBDBuffer::OpenFile(), AudioOutputALSA::OpenMixer(), MusicPlayer::openOutputDevice(), MythDisplay::PauseForModeSwitch(), PlaybackBox::PlaybackBox(), VideoDialog::playVideoWithTrailers(), ProgDetails::PowerPriorities(), PrevRecordedList::PrevRecordedList(), NetworkControl::processQuery(), JobQueue::ProcessQueue(), ProgramRecPriority::ProgramRecPriority(), JobQueue::QueueJobs(), MetaIO::readMetadata(), AudioOutputBase::Reconfigure(), RecordingQuality::RecordingQuality(), MHIContext::Reinit(), RemoteUndeleteRecording(), MusicPlayer::restorePosition(), run_backend(), AutoExpire::RunExpirer(), RunNetTree(), GuideGrid::RunProgramGuide(), RunVideoScreen(), SceneChangeDetector::SceneChangeDetector(), Scheduler::SchedNewRecords(), SchemaUpgradeWizard::SchemaUpgradeWizard(), SendReceiveStringList(), PlayerContext::SetInitialTVState(), setScheduledWakeupTime(), DeviceReadBuffer::Setup(), MythPlayerAudioUI::SetupAudioOutput(), LCDProcClient::SetupLCD(), ZMClient::setupZMClient(), MythVideoBounds::SetVideoScalingAllowed(), GalleryThumbView::ShowSettings(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), GallerySlideView::Start(), startAppearWiz(), StatusBox::StatusBox(), TemplateFinder::TemplateFinder(), TemplateMatcher::TemplateMatcher(), MythContextPrivate::TestDBconnection(), MythVideoBounds::ToggleMoveBottomLine(), Transcode::TranscodeFile(), GalleryThumbView::UpdateImageItem(), UpdateRadioStreams(), MythUIScreenBounds::UpdateScreenSettings(), PlaybackBox::UpdateUILists(), V2Status::V2Status(), VideoDialogPrivate::VideoDialogPrivate(), VideoFilterSettings::VideoFilterSettings(), AudioOutputOSS::VolumeInit(), AudioOutputJACK::VolumeInit(), and MythFontProperties::Zoom().
|
inline |
Definition at line 169 of file mythcorecontext.h.
Referenced by AvFormatDecoder::AvFormatDecoder(), HTTPRequest::BuildResponseHeader(), MythMainWindow::customEvent(), MusicPlayer::decoderHandlerReady(), Scheduler::FillRecordingDir(), GallerySlideView::GallerySlideView(), TVRec::GetProgramRingBufferForLiveTV(), TVRec::Init(), LCDProcClient::loadSettings(), MusicPlayer::loadSettings(), PreviewGenerator::LocalPreviewRun(), MythMainWindow::MythMainWindow(), MythPlayerAudioUI::MythPlayerAudioUI(), PlaybackBox::PlaybackBox(), JobQueue::ProcessQueue(), Scheduler::PutInactiveSlavesToSleep(), MythPower::RequestFeature(), ScreenSaverX11Private::ResetTimer(), MusicPlayer::restorePosition(), Scheduler::run(), GrabberDownloadThread::run(), Scheduler::SchedLiveTV(), MythFillDatabaseTask::SetHourWindowFromDB(), shutdown(), MythContextPrivate::TestDBconnection(), WasAutomaticStart(), Scheduler::WasStartedAutomatically(), and WelcomeDialog::WelcomeDialog().
|
delete |
double MythCoreContext::GetFloatSetting | ( | const QString & | key, |
double | defaultval = 0.0 |
||
) |
Definition at line 918 of file mythcorecontext.cpp.
Referenced by MythUIWebBrowser::Init().
void MythCoreContext::GetResolutionSetting | ( | const QString & | type, |
int & | width, | ||
int & | height, | ||
double & | forced_aspect, | ||
double & | refresh_rate, | ||
int | index = -1 |
||
) |
Definition at line 848 of file mythcorecontext.cpp.
Referenced by GuiVidModeResolution(), TV::Init(), MythVideoOutputGPU::ResizeForVideo(), and MythUIScreenBounds::UpdateScreenSettings().
void MythCoreContext::GetResolutionSetting | ( | const QString & | type, |
int & | width, | ||
int & | height, | ||
int | index = -1 |
||
) |
Definition at line 858 of file mythcorecontext.cpp.
QString MythCoreContext::GetSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
const QString & | defaultval = "" |
||
) |
Definition at line 925 of file mythcorecontext.cpp.
Referenced by MythMainWindow::EnterStandby(), UPnp::FormatRedirectResponse(), MythVideoProfile::GetDefaultProfileName(), Myth::GetSetting(), V2Myth::GetSetting(), V2Config::GetSystemEvents(), MainServer::HandleSettingQuery(), JobQueue::InJobRunWindow(), Scheduler::PutInactiveSlavesToSleep(), resolveSettingAddress(), EncoderLink::SetSocket(), startTVNormal(), MythContextPrivate::TestDBconnection(), Scheduler::WakeUpSlave(), and Scheduler::WakeUpSlaves().
bool MythCoreContext::GetBoolSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
bool | defaultval = false |
||
) |
Definition at line 934 of file mythcorecontext.cpp.
Referenced by Dvr::ManageJobQueue(), and V2Dvr::ManageJobQueue().
int MythCoreContext::GetNumSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
int | defaultval = 0 |
||
) |
Definition at line 942 of file mythcorecontext.cpp.
Referenced by FillFrontendList(), GetBackendServerPort(), GetBackendStatusPort(), GetBoolSettingOnHost(), Myth::GetFrontends(), and GetMasterServerPort().
|
delete |
|
delete |
double MythCoreContext::GetFloatSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
double | defaultval = 0.0 |
||
) |
Definition at line 951 of file mythcorecontext.cpp.
Referenced by MythDisplay::GetAspectRatio().
QString MythCoreContext::GetBackendServerIP | ( | void | ) |
Returns the IP address of the locally defined backend IP.
See GetBackendServerIP(host)
Definition at line 1003 of file mythcorecontext.cpp.
Referenced by MythSocket::ConnectToHost(), V2Status::GetBackendStatus(), Myth::GetConnectionInfo(), V2Myth::GetConnectionInfo(), MainServer::HandleAnnounce(), MainServer::HandleGetRecorderFromNum(), MainServer::HandleGetRecorderNum(), MainServer::HandleSGFileQuery(), MainServer::HandleSGGetFileList(), IsThisHost(), UPnpCDSTv::LoadRecordings(), UPnpCDSVideo::LoadVideos(), main(), MainServer::reconnectTimeout(), RemoteGetFileList(), RemoteSendReceiveStringList(), run_backend(), UPnpCDSMusic::UPnpCDSMusic(), UPnpCDSTv::UPnpCDSTv(), and UPnpCDSVideo::UPnpCDSVideo().
QString MythCoreContext::GetBackendServerIP | ( | const QString & | host | ) |
Returns the IP address of backend "host" If an IPv6 address has been defined, will use it whenever possible, unless the IPv6 address is a localhost address, in which case the IPv4 address will be used.
Will return an empty string if neither an IPv4 nor an IPv6 address has been defined. The address returned is free of scope Id if IPv6
Definition at line 1017 of file mythcorecontext.cpp.
QString MythCoreContext::GetBackendServerIP4 | ( | void | ) |
Returns the IPv4 address defined for the current host see GetBackendServerIP4(host)
Definition at line 1026 of file mythcorecontext.cpp.
Referenced by IsMasterHost().
QString MythCoreContext::GetBackendServerIP4 | ( | const QString & | host | ) |
Returns the IPv4 address defined for the backend "host".
host | The name of the host to lookup |
Definition at line 1036 of file mythcorecontext.cpp.
QString MythCoreContext::GetBackendServerIP6 | ( | void | ) |
Returns the IPv6 address defined for the current host see GetBackendServerIP6(host)
Definition at line 1045 of file mythcorecontext.cpp.
Referenced by IsMasterHost().
QString MythCoreContext::GetBackendServerIP6 | ( | const QString & | host | ) |
Returns the IPv6 address defined for the backend "host".
returns an empty string if the defined IP is invalid. The IP address returned doesn't contain a scope Id
Definition at line 1055 of file mythcorecontext.cpp.
QString MythCoreContext::GetMasterServerIP | ( | void | ) |
Returns the Master Backend IP address If the address is an IPv6 address, the scope Id is removed.
If no master server address has been defined in the database, return localhost
Definition at line 965 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), UPNPScanner::AddServer(), connect_to_master(), ConnectToMasterServer(), OutboundRequestHandler::DoConnectToMaster(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), V2Status::GetBackendStatus(), GetMythXMLURL(), MythHTTPServer::Init(), MainServer::reconnectTimeout(), HTTPLiveStream::SetOutputVars(), and UPNPScanner::Start().
|
static |
Returns the Master Backend control port If no master server port has been defined in the database, return the default 6543.
Definition at line 979 of file mythcorecontext.cpp.
Referenced by ThemeUpdateChecker::checkForUpdate(), connect_to_master(), ConnectToMasterServer(), OutboundRequestHandler::DoConnectToMaster(), MythMainWindow::EnterStandby(), GetMasterHostPrefix(), ProgramInfo::GetPlaybackURL(), MainServer::HandleQueryFindFile(), NativeArchive::importRecording(), MainServer::reconnectTimeout(), MythContextPrivate::TestDBconnection(), and ThemeUpdateChecker::ThemeUpdateChecker().
int MythCoreContext::GetMasterServerStatusPort | ( | void | ) |
Returns the Master Backend status port If no master server status port has been defined in the database, return the default 6544.
Definition at line 992 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), UPNPScanner::AddServer(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), GetMythXMLURL(), MythHTTPServer::Init(), HTTPLiveStream::SetOutputVars(), and UPNPScanner::Start().
int MythCoreContext::GetBackendServerPort | ( | void | ) |
Returns the locally defined backend control port.
Definition at line 1063 of file mythcorecontext.cpp.
Referenced by RemoteFile::FindFileList(), generate_file_url(), ProgramInfo::GetPlaybackURL(), getStorageGroupURL(), MainServer::HandleFillProgramInfo(), MainServer::HandleGetRecorderFromNum(), MainServer::HandleGetRecorderNum(), MainServer::HandleQueryFindFile(), MainServer::HandleQueryRecordings(), main(), RemoteFile::openSocket(), RemoteGetFileList(), RemoteSendReceiveStringList(), run_backend(), TVRec::SpawnLiveTV(), and transUnlink().
int MythCoreContext::GetBackendServerPort | ( | const QString & | host | ) |
Returns the backend "hosts"'s control port.
Definition at line 1078 of file mythcorecontext.cpp.
|
static |
Definition at line 1070 of file mythcorecontext.cpp.
Referenced by BackendSettings::LocalServerPortChanged(), and VideoDialog::VideoDialog().
int MythCoreContext::GetBackendStatusPort | ( | void | ) |
Returns the locally defined backend status port.
Definition at line 1091 of file mythcorecontext.cpp.
Referenced by GetMasterServerStatusPort(), MythHTTPServer::Init(), UPnpCDSTv::LoadRecordings(), UPnpCDSVideo::LoadVideos(), UPnpCDSMusic::UPnpCDSMusic(), UPnpCDSTv::UPnpCDSTv(), and UPnpCDSVideo::UPnpCDSVideo().
int MythCoreContext::GetBackendStatusPort | ( | const QString & | host | ) |
Returns the backend "hosts"'s status port.
Definition at line 1099 of file mythcorecontext.cpp.
bool MythCoreContext::GetScopeForAddress | ( | QHostAddress & | addr | ) | const |
Return the cached scope Id for the given address.
If unknown returns false, else returns true and set scope Id to given address
Definition at line 1108 of file mythcorecontext.cpp.
Referenced by PortChecker::checkPort().
void MythCoreContext::SetScopeForAddress | ( | const QHostAddress & | addr | ) |
Record the scope Id of the given IP address.
addr | A QHostAddress that contains both the host address and the scope to record. |
Definition at line 1128 of file mythcorecontext.cpp.
Referenced by PortChecker::checkPort().
void MythCoreContext::SetScopeForAddress | ( | const QHostAddress & | addr, |
int | scope | ||
) |
Record the scope Id of the given IP address.
addr | A QHostAddress containing the host address to record. |
scope | The scope value to record. |
Definition at line 1142 of file mythcorecontext.cpp.
QString MythCoreContext::resolveSettingAddress | ( | const QString & | name, |
const QString & | host = QString() , |
||
ResolveType | type = ResolveAny , |
||
bool | keepscope = false |
||
) |
Retrieve IP setting "name" for "host".
If host is empty retrieve for local machine. The value returned for the given setting name, will be returned if it's an IP address or resolved otherwise. If the setting's value is null, an empty string will be returned, or if the name can't be resolved, localhost will be returned. If type == 0 an IPv4 will be returned If type == 1 an IPv6 will be returned If type < 0, either IPv4 or IPv6 will be returned with a priority given to IPv6 If keepscope boolean is clear (default), the scopeId will be removed
Definition at line 1162 of file mythcorecontext.cpp.
Referenced by GetBackendServerIP(), GetBackendServerIP4(), GetBackendServerIP6(), GetMasterServerIP(), IsMasterHost(), MainServer::MainServer(), and ServerPool::SelectDefaultListen().
|
static |
if host is an IP address, it will be returned or resolved otherwise.
If host is empty, an empty string will be returned, if host can't be resolved, localhost will be returned. If type == 0 an IPv4 will be returned or 127.0.0.1 If type == 1 an IPv6 will be returned or ::1 If type < 0 (default), either IPv4 or IPv6 will be returned with a priority given to IPv6 If keepscope boolean is clear (default), the scopeId will be removed
Definition at line 1191 of file mythcorecontext.cpp.
Referenced by IsMasterHost(), IsThisHost(), ping(), resolveSettingAddress(), and BackendSettings::Save().
bool MythCoreContext::CheckSubnet | ( | const QAbstractSocket * | socket | ) |
Check if a socket is connected to an approved peer.
There is a setting called AllowConnFromAll. If it is true, then no check needs to be done. If false, check that the connection comes from a subnet to which I am connected.
socket | in Socket to check. |
Definition at line 1267 of file mythcorecontext.cpp.
Referenced by MythHTTPSocket::MythHTTPSocket(), MythSocket::MythSocket(), ServerPool::newTcpConnection(), ServerPool::newUdpDatagram(), HttpWorker::run(), and WebSocketWorker::SetupSocket().
bool MythCoreContext::CheckSubnet | ( | const QHostAddress & | peer | ) |
Check if aa ip address is approved.
There is a setting called AllowConnFromAll. If it is true, then no check needs to be done. If false, check that the connection comes from a subnet to which I am connected.
peer | in Host Address to check. |
Definition at line 1284 of file mythcorecontext.cpp.
void MythCoreContext::ClearSettingsCache | ( | const QString & | myKey = QString("") | ) |
Definition at line 827 of file mythcorecontext.cpp.
Referenced by MythPlugin::config(), MainServer::customEvent(), readyRead(), MythContextPrivate::ResetDatabase(), HostDBStorage::Save(), GlobalDBStorage::Save(), and startAppearWiz().
Definition at line 832 of file mythcorecontext.cpp.
Referenced by handleSIGUSR1(), MythContext::Init(), mythplugin_init(), SettingsHelper::RunEpilog(), SettingsHelper::RunProlog(), UpgradeMusicDatabaseSchema(), and UpgradeTVDatabaseSchema().
void MythCoreContext::OverrideSettingForSession | ( | const QString & | key, |
const QString & | value | ||
) |
Definition at line 1336 of file mythcorecontext.cpp.
Referenced by MythCommandLineParser::ApplySettingsOverride(), MythUIThemeHelper::FindThemeDir(), StartPrompter::leaveBackendRunning(), MythTranslation::load(), main(), resetTheme(), StartPrompter::stopBackend(), MythContextPrivate::TempMainWindow(), and MythUIScreenBounds::UpdateScreenSettings().
void MythCoreContext::ClearOverrideSettingForSession | ( | const QString & | key | ) |
Definition at line 1342 of file mythcorecontext.cpp.
void MythCoreContext::dispatch | ( | const MythEvent & | event | ) |
Definition at line 1722 of file mythcorecontext.cpp.
Referenced by LiveTVChain::BroadcastUpdate(), MainServer::connectionClosed(), connectionClosed(), MythWebView::customEvent(), MainServer::customEvent(), MusicPlayer::customEvent(), Dvr::DeleteRecording(), V2Dvr::DeleteRecording(), MythMainWindow::ExitToMainMenu(), AutoExpire::ExpireEpisodesOverMax(), TVRec::FinishedRecording(), RecordingExtender::finishRecording(), BrowserApi::GetMetadata(), TVRec::GetProgramRingBufferForLiveTV(), BrowserApi::GetVolume(), MainServer::HandleAnnounce(), Scheduler::HandleIdleShutdown(), MessageHandler::HandleInbound(), MainServer::HandleMessage(), MessageHandler::HandleOutbound(), TVRec::HandlePendingRecordings(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), TVRec::NotifySchedulerOfRecording(), TV::OSDDialogEvent(), BrowserApi::Pause(), JobQueue::PauseJob(), BrowserApi::Play(), BrowserApi::PlayFile(), Frontend::PlayRecording(), MythFrontendService::PlayRecording(), BrowserApi::PlayTrack(), BrowserApi::PlayURL(), TV::ProcessNetworkControlCommand(), PlaybackBox::processNetworkControlCommand(), NetworkControl::processPlay(), NetworkControl::processQuery(), MainServer::ProcessRequestWork(), readyRead(), RegisterFileForWrite(), ResetSockets(), JobQueue::RestartJob(), JobQueue::ResumeJob(), AlarmNotifyThread::run(), Reconnect::run(), Scheduler::run(), SignalMonitor::run(), TVRec::run(), SettingsHelper::RunEpilog(), AutoExpire::SendDeleteMessages(), SendEvent(), SendMessage(), PlaybackSock::SendReceiveStringList(), SendReceiveStringList(), ScheduledRecording::SendReschedule(), MainServer::SendSlaveDisconnectedEvent(), TVRec::SetLiveRecording(), RecorderBase::SetRecordingStatus(), BrowserApi::SetVolume(), Scheduler::ShutdownServer(), RatingSettings::slotSave(), VisualizationSettings::slotSave(), GeneralSettings::slotSave(), ImportSettings::slotSave(), TVRec::StartRecording(), TV::StartTV(), BrowserApi::Stop(), JobQueue::StopJob(), Dvr::StopRecording(), V2Dvr::StopRecording(), MHIContext::TuneTo(), TVRec::TuningFrequency(), TVRec::TuningNewRecorder(), TVRec::TuningSignalCheck(), Dvr::UnDeleteRecording(), V2Dvr::UnDeleteRecording(), UnregisterFileForWrite(), and Scheduler::UpdateRecStatus().
Definition at line 1806 of file mythcorecontext.cpp.
Referenced by MythContext::Init(), and MythContext::~MythContext().
void MythCoreContext::InitLocale | ( | void | ) |
Definition at line 1819 of file mythcorecontext.cpp.
Referenced by GetQLocale(), MythContextPrivate::Init(), and SaveLocaleDefaults().
void MythCoreContext::ReInitLocale | ( | void | ) |
Definition at line 1830 of file mythcorecontext.cpp.
Referenced by reloadTheme(), and resetTheme().
MythLocale * MythCoreContext::GetLocale | ( | void | ) | const |
Definition at line 1761 of file mythcorecontext.cpp.
Referenced by AddCertifications(), DLNA::DLNAProfileName(), LanguageSelection::Load(), PrevRecordedList::LoadDates(), MythBDBuffer::OpenFile(), ScanCountry::ScanCountry(), ScanNetwork::ScanNetwork(), and MetaGrabberScript::SetDefaultArgs().
QLocale MythCoreContext::GetQLocale | ( | void | ) |
Definition at line 1843 of file mythcorecontext.cpp.
Referenced by AddFormat(), MythUIClock::GetTimeText(), MythDateFormatCB(), MythShortDateFormat(), MythTimeFormat(), MythUIClock::ParseElement(), ImportMusicDialog::setTitleInitialCap(), ImportMusicDialog::setTitleWordCaps(), RecordingRule::ToMap(), MusicMetadata::toMap(), ProgramInfo::ToMap(), MythDate::toString(), and PlaybackBox::UpdateUsageUI().
void MythCoreContext::SaveLocaleDefaults | ( | void | ) |
Definition at line 1851 of file mythcorecontext.cpp.
Referenced by MythContextPrivate::Init().
QString MythCoreContext::GetLanguage | ( | void | ) |
Returns two character ISO-639 language descriptor for UI language.
Definition at line 1770 of file mythcorecontext.cpp.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), ISO639_fill_selections(), iso639_get_language_list(), MythUIText::ParseElement(), MythThemedMenu::parseThemeButton(), RunProgramFinder(), and MetaGrabberScript::SetDefaultArgs().
QString MythCoreContext::GetLanguageAndVariant | ( | void | ) |
Returns the user-set language and variant.
The string has the form ll or ll_vv, where ll is the two character ISO-639 language code, and vv (which may not exist) is the variant. Examples include en_AU, en_CA, en_GB, en_US, fr_CH, fr_DE, pt_BR, pt_PT.
Definition at line 1782 of file mythcorecontext.cpp.
Referenced by HTTPRequest::BuildResponseHeader(), MythUIVirtualKeyboard::Create(), GetLanguage(), MythHTTPServer::Init(), MythUIText::ParseElement(), and MythThemedMenu::parseThemeButton().
void MythCoreContext::ResetLanguage | ( | void | ) |
Definition at line 1790 of file mythcorecontext.cpp.
Referenced by MythMainWindow::LoadQtConfig().
void MythCoreContext::ResetSockets | ( | void | ) |
Definition at line 1795 of file mythcorecontext.cpp.
Referenced by MonitorThread::run().
void MythCoreContext::RegisterForPlayback | ( | QObject * | sender, |
PlaybackStartCb | method | ||
) |
Register sender for TVPlaybackAboutToStart signal. Method will be called upon the signal being emitted. sender must call MythCoreContext::UnregisterForPlayback upon deletion
Definition at line 1906 of file mythcorecontext.cpp.
Referenced by TV::InitFromDB(), MusicPlayer::MusicPlayer(), and MythRAOPDevice::newRaopConnection().
|
inline |
Definition at line 253 of file mythcorecontext.h.
void MythCoreContext::UnregisterForPlayback | ( | QObject * | sender | ) |
Unregister sender from being called when TVPlaybackAboutToStart signal is emitted
Definition at line 1927 of file mythcorecontext.cpp.
Referenced by MusicPlayer::~MusicPlayer(), and TV::~TV().
void MythCoreContext::WantingPlayback | ( | QObject * | sender | ) |
All the objects that have registered using MythCoreContext::RegisterForPlayback but sender will be called.
The object's registered method will be called in a blocking fashion, each of them being called one after the other
Definition at line 1946 of file mythcorecontext.cpp.
Referenced by VideoPlayerCommand::Play(), MusicPlayer::play(), MythRAOPConnection::ProcessRequest(), and TV::StartTV().
bool MythCoreContext::InWantingPlayback | ( | void | ) |
Returns true if a client has requested playback.
this can be used when one of the TVPlayback* is emitted to find out if you can assume playback has stopped
Definition at line 2024 of file mythcorecontext.cpp.
Referenced by MusicPlayer::StartPlayback().
void MythCoreContext::TVInWantingPlayback | ( | bool | b | ) |
Let the TV class tell us if we was interrupted following a call to WantingPlayback().
TV playback will later issue a TVPlaybackStopped() signal which we want to be able to filter
Definition at line 2012 of file mythcorecontext.cpp.
Referenced by TV::Playback(), TV::StartTV(), and TV::StopPlayback().
MythSessionManager * MythCoreContext::GetSessionManager | ( | void | ) |
Definition at line 2040 of file mythcorecontext.cpp.
Referenced by HTTPRequest::BasicAuthentication(), HTTPRequest::DigestAuthentication(), and HTTPRequest::ParseRequest().
|
static |
Definition at line 2048 of file mythcorecontext.cpp.
Referenced by mythplugin_init().
void MythCoreContext::SetPluginManager | ( | MythPluginManager * | pmanager | ) |
Definition at line 2062 of file mythcorecontext.cpp.
Referenced by main().
MythPluginManager * MythCoreContext::GetPluginManager | ( | void | ) |
Definition at line 2076 of file mythcorecontext.cpp.
Referenced by configplugin_cb(), MythThemedMenu::findDepends(), and plugin_cb().
Definition at line 2081 of file mythcorecontext.cpp.
bool MythCoreContext::IsExiting | ( | void | ) |
Definition at line 2086 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), and MythSocket::DisconnectFromHost().
void MythCoreContext::RegisterFileForWrite | ( | const QString & | file, |
uint64_t | size = 0LL |
||
) |
Definition at line 2091 of file mythcorecontext.cpp.
Referenced by ThreadedFileWriter::DiskLoop(), ThreadedFileWriter::Open(), readyRead(), RebuildSeekTable(), and ImportRecorder::run().
void MythCoreContext::UnregisterFileForWrite | ( | const QString & | file | ) |
Definition at line 2109 of file mythcorecontext.cpp.
Referenced by readyRead(), RebuildSeekTable(), ThreadedFileWriter::ReOpen(), ImportRecorder::run(), ThreadedFileWriter::SyncLoop(), and ThreadedFileWriter::~ThreadedFileWriter().
bool MythCoreContext::IsRegisteredFileForWrite | ( | const QString & | file | ) |
Definition at line 2126 of file mythcorecontext.cpp.
Referenced by MainServer::HandleFileTransferQuery(), FileServerHandler::HandleQueryFileTransfer(), MythFileBuffer::OpenFile(), and MythMediaBuffer::run().
void MythCoreContext::setTestIntSettings | ( | QMap< QString, int > & | overrides | ) |
Definition at line 286 of file mythcorecontext.cpp.
void MythCoreContext::setTestFloatSettings | ( | QMap< QString, double > & | overrides | ) |
Definition at line 291 of file mythcorecontext.cpp.
void MythCoreContext::setTestStringSettings | ( | QMap< QString, QString > & | overrides | ) |
Definition at line 296 of file mythcorecontext.cpp.
void MythCoreContext::WaitUntilSignals | ( | std::vector< CoreWaitInfo > & | sigs | ) | const |
Wait until any of the provided signals have been received.
signals being declared as SIGNAL(SignalName(args,..))
Definition at line 1883 of file mythcorecontext.cpp.
Referenced by MythAirplayServer::PausePlayback(), MythAirplayServer::SeekPosition(), MythAirplayServer::StartPlayback(), MythAirplayServer::StopPlayback(), and MythAirplayServer::UnpausePlayback().
|
inline |
Definition at line 288 of file mythcorecontext.h.
Referenced by playDisc(), and TV::StartTV().
|
inline |
Definition at line 289 of file mythcorecontext.h.
Referenced by MythRAOPConnection::CleanUp(), VideoPlayerCommand::Play(), playDisc(), TV::StartTV(), and MusicPlayer::stop().
|
inline |
Definition at line 290 of file mythcorecontext.h.
Referenced by TV::DoSeekAbsolute().
|
inline |
Definition at line 292 of file mythcorecontext.h.
Referenced by TV::DoTogglePause().
|
inline |
Definition at line 293 of file mythcorecontext.h.
Referenced by TV::DoPlay(), and TV::DoTogglePause().
|
inline |
Definition at line 294 of file mythcorecontext.h.
Referenced by TV::StartTV().
|
inline |
Definition at line 295 of file mythcorecontext.h.
Referenced by TV::DoPlay().
|
signal |
Referenced by MythAirplayServer::StartPlayback().
|
signal |
|
signal |
|
signal |
Referenced by MythAirplayServer::SeekPosition().
|
signal |
Referenced by MythAirplayServer::PausePlayback().
|
signal |
|
signal |
|
signal |
Referenced by RegisterForPlayback(), UnregisterForPlayback(), and WantingPlayback().
|
signal |
Referenced by MythAirplayServer::UnpausePlayback().
|
inlineoverrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 315 of file mythcorecontext.h.
|
inlineoverrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 316 of file mythcorecontext.h.
|
overrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 1656 of file mythcorecontext.cpp.
|
overrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 1560 of file mythcorecontext.cpp.
|
inline |
Definition at line 327 of file mythcorecontext.h.
Referenced by run_backend().
|
inline |
Definition at line 328 of file mythcorecontext.h.
Referenced by DVBChannel::Open().
|
static |
Definition at line 207 of file mythcorecontext.h.
Referenced by ClearBackendServerPortCache(), and GetBackendServerPort().
|
private |
Definition at line 313 of file mythcorecontext.h.
Referenced by ActivateSettingsCache(), AllowShutdown(), BlockShutdown(), CheckProtoVersion(), CheckSubnet(), ClearOverrideSettingForSession(), ClearSettingsCache(), ConnectCommandSocket(), ConnectEventSocket(), ConnectToMasterServer(), GetBackendServerIP(), GetBackendServerIP4(), GetBackendServerIP6(), GetBackendServerPort(), GetBackendStatusPort(), GetDB(), GetDBManager(), GetFloatSetting(), GetFloatSettingOnHost(), GetGUIContext(), GetGUIObject(), GetHostName(), GetLanguageAndVariant(), GetLocale(), GetMasterHostName(), GetNumSetting(), GetNumSettingOnHost(), GetPluginManager(), GetQLocale(), GetResolutionSetting(), GetScheduler(), GetScopeForAddress(), GetSessionManager(), GetSetting(), GetSettingOnHost(), HasGUI(), Init(), InitLocale(), InitPower(), InWantingPlayback(), IsBackend(), IsBlockingClient(), IsConnectedToMaster(), IsDatabaseIgnored(), IsExiting(), IsFrontend(), IsRegisteredFileForWrite(), IsUIThread(), IsWOLAllowed(), MythCoreContext(), OverrideSettingForSession(), RegisterFileForWrite(), RegisterForPlayback(), ReInitLocale(), ResetLanguage(), ResetSockets(), SafeConnectToMasterServer(), SaveLocaleDefaults(), SaveSetting(), SaveSettingOnHost(), SendReceiveStringList(), SetAsBackend(), SetAsFrontend(), SetExiting(), SetGUIObject(), SetLocalHostname(), SetPluginManager(), SetScheduler(), SetScopeForAddress(), SetWOLAllowed(), TVInWantingPlayback(), UnregisterFileForWrite(), UnregisterForPlayback(), WantingPlayback(), and ~MythCoreContext().
|
private |
Definition at line 320 of file mythcorecontext.h.
Referenced by GetNumSetting(), GetNumSettingOnHost(), and setTestIntSettings().
|
private |
Definition at line 321 of file mythcorecontext.h.
Referenced by GetFloatSetting(), GetFloatSettingOnHost(), and setTestFloatSettings().
|
private |
Definition at line 322 of file mythcorecontext.h.
Referenced by GetSetting(), GetSettingOnHost(), and setTestStringSettings().
Definition at line 325 of file mythcorecontext.h.