MythTV master
|
This class contains the runtime context for MythTV. More...
#include <libmythbase/mythcorecontext.h>
Public Types | |
enum | ResolveType : std::int8_t { 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... | |
bool | IsLocalSubnet (const QHostAddress &peer, bool log) |
Check if peer is on local subnet. 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) |
QString | GetAudioLanguage (void) |
Returns two character ISO-639 language descriptor for audio language. More... | |
QString | GetAudioLanguageAndVariant (void) |
Returns the user-set audio language and variant. More... | |
void | ResetAudioLanguage (void) |
void | ResetSockets (void) |
void | RegisterForPlayback (QObject *sender, PlaybackStartCb method) |
Register sender for TVPlaybackAboutToStart signal. More... | |
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) |
Unregister sender from being called when TVPlaybackAboutToStart signal is emitted. More... | |
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 | connected (MythSocket *)=0 |
virtual void | error (MythSocket *, int) |
virtual void | readyRead (MythSocket *)=0 |
virtual void | connectionFailed (MythSocket *)=0 |
virtual void | connectionClosed (MythSocket *)=0 |
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 41 of file mythcorecontext.h.
using MythCoreContext::PlaybackStartCb = void (QObject::*)(void) |
Definition at line 223 of file mythcorecontext.h.
enum MythCoreContext::ResolveType : std::int8_t |
Enumerator | |
---|---|
ResolveAny | |
ResolveIPv4 | |
ResolveIPv6 |
Definition at line 190 of file mythcorecontext.h.
MythCoreContext::MythCoreContext | ( | const QString & | binversion, |
QObject * | guiContext | ||
) |
Definition at line 217 of file mythcorecontext.cpp.
|
override |
Definition at line 284 of file mythcorecontext.cpp.
Definition at line 840 of file mythcorecontext.cpp.
Referenced by handleSIGUSR1(), MythContext::Init(), mythplugin_init(), SettingsHelper::RunEpilog(), SettingsHelper::RunProlog(), UpgradeMusicDatabaseSchema(), and UpgradeTVDatabaseSchema().
void MythCoreContext::AllowShutdown | ( | void | ) |
Definition at line 617 of file mythcorecontext.cpp.
Referenced by MythMainWindow::customEvent(), MythMainWindow::EnterStandby(), and JobQueue::ProcessQueue().
|
static |
a backend process is running on this host
Definition at line 707 of file mythcorecontext.cpp.
Referenced by StartPrompter::handleStart(), ExitPrompter::quit(), RawSettingsEditor::Save(), and WasAutomaticStart().
void MythCoreContext::BlockShutdown | ( | void | ) |
Definition at line 603 of file mythcorecontext.cpp.
Referenced by MythMainWindow::ExitStandby(), and JobQueue::ProcessQueue().
bool MythCoreContext::CheckProtoVersion | ( | MythSocket * | socket, |
std::chrono::milliseconds | timeout = kMythSocketLongTimeout , |
||
bool | error_dialog_desired = false |
||
) |
Definition at line 1688 of file mythcorecontext.cpp.
Referenced by connect_to_master(), RemoteFile::openSocket(), and SetupCommandSocket().
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 1279 of file mythcorecontext.cpp.
Referenced by CheckSubnet(), 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 1296 of file mythcorecontext.cpp.
|
static |
Definition at line 1078 of file mythcorecontext.cpp.
Referenced by BackendSettings::LocalServerPortChanged(), and VideoDialog::VideoDialog().
void MythCoreContext::ClearOverrideSettingForSession | ( | const QString & | key | ) |
Definition at line 1371 of file mythcorecontext.cpp.
Referenced by anonymous_namespace{mythcontext.cpp}::GUISettingsCache::clearOverrides(), and anonymous_namespace{mythcontext.cpp}::GUISettingsCache::save().
void MythCoreContext::ClearSettingsCache | ( | const QString & | myKey = QString("") | ) |
Definition at line 835 of file mythcorecontext.cpp.
Referenced by MythPlugin::config(), MainServer::customEvent(), readyRead(), HostDBStorage::Save(), GlobalDBStorage::Save(), and startAppearWiz().
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 434 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), RemoteGetFileList(), RemoteSendReceiveStringList(), and RemoteEncoder::Setup().
|
inlineoverrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 297 of file mythcorecontext.h.
MythSocket * MythCoreContext::ConnectEventSocket | ( | const QString & | hostname, |
int | port | ||
) |
Definition at line 552 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer().
|
overrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 1680 of file mythcorecontext.cpp.
|
inlineoverrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 298 of file mythcorecontext.h.
bool MythCoreContext::ConnectToMasterServer | ( | bool | blockingClient = true , |
bool | openEventSocket = true |
||
) |
Definition at line 360 of file mythcorecontext.cpp.
Referenced by StartPrompter::backendRunningPrompt(), LCDProcClient::checkConnections(), ClearSettingsCache(), FlagCommercials(), handle_command(), isRecording(), main(), RawSendEvent(), Reschedule(), SafeConnectToMasterServer(), ScanImages(), ScanVideos(), SendReceiveStringList(), setScheduledWakeupTime(), and LCDProcClient::updateRecordingList().
void MythCoreContext::dispatch | ( | const MythEvent & | event | ) |
Definition at line 1746 of file mythcorecontext.cpp.
Referenced by LiveTVChain::BroadcastUpdate(), connectionClosed(), MainServer::connectionClosed(), MythWebEngineView::customEvent(), MainServer::customEvent(), MusicPlayer::customEvent(), ScheduleCommon::customEvent(), V2Dvr::DeleteRecording(), MythMainWindow::ExitToMainMenu(), AutoExpire::ExpireEpisodesOverMax(), TVRec::FinishedRecording(), RecordingExtender::finishRecording(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleAnnounce(), Scheduler::HandleIdleShutdown(), MessageHandler::HandleInbound(), MainServer::HandleMessage(), MessageHandler::HandleOutbound(), TVRec::HandlePendingRecordings(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), TVRec::NotifySchedulerOfRecording(), TV::OSDDialogEvent(), JobQueue::PauseJob(), MythFrontendService::PlayRecording(), Frontend::PlayRecording(), TV::ProcessNetworkControlCommand(), PlaybackBox::processNetworkControlCommand(), NetworkControl::processPlay(), NetworkControl::processQuery(), MainServer::ProcessRequestWork(), readyRead(), RegisterFileForWrite(), ResetSockets(), JobQueue::RestartJob(), JobQueue::ResumeJob(), AlarmNotifyThread::run(), SignalMonitor::run(), TVRec::run(), Scheduler::run(), Reconnect::run(), SettingsHelper::RunEpilog(), AutoExpire::SendDeleteMessages(), SendEvent(), SendMessage(), SendReceiveStringList(), PlaybackSock::SendReceiveStringList(), ScheduledRecording::SendReschedule(), MainServer::SendSlaveDisconnectedEvent(), TVRec::SetLiveRecording(), RecorderBase::SetRecordingStatus(), Scheduler::ShutdownServer(), GeneralSettings::slotSave(), ImportSettings::slotSave(), RatingSettings::slotSave(), VisualizationSettings::slotSave(), TVRec::StartRecording(), TV::StartTV(), JobQueue::StopJob(), V2Dvr::StopRecording(), MHIContext::TuneTo(), TVRec::TuningFrequency(), TVRec::TuningNewRecorder(), TVRec::TuningNewRecorderReal(), TVRec::TuningSignalCheck(), V2Dvr::UnDeleteRecording(), UnregisterFileForWrite(), and Scheduler::UpdateRecStatus().
|
inline |
Definition at line 276 of file mythcorecontext.h.
Referenced by TV::StartTV().
|
inline |
Definition at line 274 of file mythcorecontext.h.
Referenced by TV::DoTogglePause().
|
inline |
Definition at line 277 of file mythcorecontext.h.
Referenced by TV::DoPlay().
|
inline |
Definition at line 272 of file mythcorecontext.h.
Referenced by TV::DoSeekAbsolute().
|
inline |
Definition at line 270 of file mythcorecontext.h.
Referenced by playDisc(), and TV::StartTV().
|
inline |
Definition at line 271 of file mythcorecontext.h.
Referenced by MythRAOPConnection::CleanUp(), VideoPlayerCommand::Play(), playDisc(), TV::StartTV(), and MusicPlayer::stop().
|
inline |
Definition at line 275 of file mythcorecontext.h.
Referenced by TV::DoPlay(), and TV::DoTogglePause().
|
static |
Definition at line 767 of file mythcorecontext.cpp.
Referenced by ImportMusicDialog::addPressed(), ThemeUpdateChecker::checkForUpdate(), Ripper::deleteExistingTrack(), EditAlbumartDialog::doCopyImageToTag(), RemoteFile::FindFileList(), AlbumArtImages::findImages(), StorageGroup::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::GetAudioLanguage | ( | void | ) |
Returns two character ISO-639 language descriptor for audio language.
Definition at line 1823 of file mythcorecontext.cpp.
Referenced by AvFormatDecoder::AutoSelectAudioTrack().
QString MythCoreContext::GetAudioLanguageAndVariant | ( | void | ) |
Returns the user-set audio 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 1835 of file mythcorecontext.cpp.
Referenced by GetAudioLanguage().
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 1025 of file mythcorecontext.cpp.
QString MythCoreContext::GetBackendServerIP | ( | void | ) |
Returns the IP address of the locally defined backend IP.
See GetBackendServerIP(host)
Definition at line 1011 of file mythcorecontext.cpp.
Referenced by MythSocket::ConnectToHost(), GetBackendServerIP(), V2Status::GetBackendStatus(), 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::GetBackendServerIP4 | ( | const QString & | host | ) |
Returns the IPv4 address defined for the backend "host".
host | The name of the host to lookup |
Definition at line 1044 of file mythcorecontext.cpp.
QString MythCoreContext::GetBackendServerIP4 | ( | void | ) |
Returns the IPv4 address defined for the current host see GetBackendServerIP4(host)
Definition at line 1034 of file mythcorecontext.cpp.
Referenced by GetBackendServerIP4(), and 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 1063 of file mythcorecontext.cpp.
QString MythCoreContext::GetBackendServerIP6 | ( | void | ) |
Returns the IPv6 address defined for the current host see GetBackendServerIP6(host)
Definition at line 1053 of file mythcorecontext.cpp.
Referenced by GetBackendServerIP6(), and IsMasterHost().
int MythCoreContext::GetBackendServerPort | ( | const QString & | host | ) |
Returns the backend "hosts"'s control port.
Definition at line 1086 of file mythcorecontext.cpp.
int MythCoreContext::GetBackendServerPort | ( | void | ) |
Returns the locally defined backend control port.
Definition at line 1071 of file mythcorecontext.cpp.
Referenced by RemoteFile::FindFileList(), StorageGroup::generate_file_url(), GetBackendServerPort(), 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::GetBackendStatusPort | ( | const QString & | host | ) |
Returns the backend "hosts"'s status port.
Definition at line 1107 of file mythcorecontext.cpp.
int MythCoreContext::GetBackendStatusPort | ( | void | ) |
Returns the locally defined backend status port.
Definition at line 1099 of file mythcorecontext.cpp.
Referenced by GetBackendStatusPort(), GetMasterServerStatusPort(), MythHTTPServer::Init(), UPnpCDSTv::LoadRecordings(), UPnpCDSVideo::LoadVideos(), UPnpCDSMusic::UPnpCDSMusic(), UPnpCDSTv::UPnpCDSTv(), and UPnpCDSVideo::UPnpCDSVideo().
Definition at line 913 of file mythcorecontext.cpp.
Referenced by 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(), EITHelper::EITHelper(), Ripper::ejectCD(), AutoExpire::ExpireEpisodesOverMax(), filenameFromMetadata(), AutoExpire::FillDBOrdered(), TV::FillOSDMenuJumpRec(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), V2Status::GetBackendStatus(), ImageManagerFe::getInstance(), JobQueue::GetJobsInQueue(), AudioOutputSettings::GetMaxHDRate(), ProgramInfo::GetPlaybackURL(), MusicPlayer::getPlayNow(), V2Content::GetPreviewImage(), V2Content::GetRecording(), AudioOutputSettings::GetUsers(), ClassicCommDetector::go(), PrePostRollFlagger::go(), MainServer::HandleDeleteFile(), handleGalleryMedia(), Scheduler::HandleIdleShutdown(), handleMedia(), MythAirplayServer::HandleResponse(), MusicCommon::init(), MythRAOPConnection::Init(), TVRec::Init(), MythUIWebBrowser::Init(), PlaybackBox::Init(), MPEG2fixup::InitAV(), UPnp::Initialize(), MythUIScreenBounds::InitScreenBounds(), AudioOutputBase::InitSettings(), IsLocalSubnet(), 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(), PlaybackState::PlaybackState(), 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(), VideoDialog::UpdateWatchedState(), MythFillDatabaseTask::UseSuggestedTime(), MythDisplayDRM::UsingVideoModes(), MythDisplayMutter::UsingVideoModes(), MythDisplayX11::UsingVideoModes(), MythDisplayOSX::UsingVideoModes(), MythDisplayRPI::UsingVideoModes(), VideoDialogPrivate::VideoDialogPrivate(), VideoListImp::VideoListImp(), VideoDialog::VideoMenu(), VideoScannerThread::VideoScannerThread(), VolumeBase::VolumeBase(), and GuideGrid::~GuideGrid().
|
delete |
bool MythCoreContext::GetBoolSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
bool | defaultval = false |
||
) |
Definition at line 942 of file mythcorecontext.cpp.
Referenced by V2Dvr::ManageJobQueue().
|
delete |
MythDB * MythCoreContext::GetDB | ( | void | ) |
Definition at line 1780 of file mythcorecontext.cpp.
Referenced by V2Myth::DeleteSetting(), MythContext::Impl::EnableDBerrors(), V2Myth::GetBackendInfo(), MythContext::Impl::Init(), MythMainWindow::Init(), main(), MSqlDatabase::OpenDatabase(), run_backend(), and MythContext::Impl::SilenceDBerrors().
MDBManager * MythCoreContext::GetDBManager | ( | void | ) |
Definition at line 872 of file mythcorecontext.cpp.
|
inline |
Definition at line 147 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(), GrabberDownloadThread::run(), Scheduler::run(), Scheduler::SchedLiveTV(), MythFillDatabaseTask::SetHourWindowFromDB(), shutdown(), MythContext::Impl::TestDBconnection(), WasAutomaticStart(), Scheduler::WasStartedAutomatically(), and WelcomeDialog::WelcomeDialog().
|
inline |
Definition at line 310 of file mythcorecontext.h.
Referenced by DVBChannel::Open().
QString MythCoreContext::GetFilePrefix | ( | void | ) |
Definition at line 851 of file mythcorecontext.cpp.
double MythCoreContext::GetFloatSetting | ( | const QString & | key, |
double | defaultval = 0.0 |
||
) |
Definition at line 926 of file mythcorecontext.cpp.
Referenced by MythUIWebBrowser::Init().
double MythCoreContext::GetFloatSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
double | defaultval = 0.0 |
||
) |
Definition at line 959 of file mythcorecontext.cpp.
Referenced by MythDisplay::GetAspectRatio().
QObject * MythCoreContext::GetGUIContext | ( | void | ) |
Definition at line 1775 of file mythcorecontext.cpp.
Referenced by MythSocket::Validate().
QObject * MythCoreContext::GetGUIObject | ( | void | ) |
Definition at line 1770 of file mythcorecontext.cpp.
Referenced by MythSystemLegacy::HandlePostRun(), and MythSystemLegacy::HandlePreRun().
QString MythCoreContext::GetHostName | ( | void | ) |
Definition at line 845 of file mythcorecontext.cpp.
Referenced by MusicFileScanner::AddFileToDB(), HTTPLiveStream::AddStream(), 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(), HouseKeeper::customEvent(), MythSystemEventHandler::customEvent(), MythWebEngineView::customEvent(), MainServer::customEvent(), NetworkControl::customEvent(), MusicPlayer::customEvent(), StorageGroupEditor::customEvent(), GalleryThumbView::customEvent(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), ProgramInfo::DiscoverRecordingDirectory(), InfoList::Display(), RadioStreamUpdateTask::DoCheckRun(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), StatusBox::doMachineStatus(), 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(), V2Content::GetHash(), V2Myth::GetHostName(), CardUtil::GetInputIDs(), MusicMetadata::getLocalFilename(), Scheduler::GetNextLiveTVDir(), ProgramInfo::GetPlaybackURL(), V2Content::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), V2Content::GetRecording(), V2Myth::GetSetting(), LogViewer::getSetting(), MythFrontendService::GetStatus(), Frontend::GetStatus(), V2Config::GetSystemEvents(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), StorageGroupDirStorage::GetWhereClause(), MainServer::HandleAddChildInput(), FileServerHandler::HandleAnnounce(), MainServer::HandleAnnounce(), MainServer::HandleCheckRecordingActive(), MainServer::HandleDownloadFile(), FileServerHandler::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(), MainServer::HandleQueryFileExists(), FileServerHandler::HandleQueryFileExists(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFindFile(), MainServer::HandleQueryHostname(), BaseRequestHandler::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(), DiSEqCDevTree::Load(), InputSelector::Load(), VideoSourceSelector::Load(), VideoSourceShow::Load(), CaptureCardEditor::Load(), CardInputEditor::Load(), StorageGroupEditor::Load(), StorageGroupListEditor::Load(), BackendSettings::Load(), RecordingProfile::loadByType(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoSetupWizard::loadData(), LoadFromRecorded(), V2Myth::LoginUser(), main(), MainServer::MainServer(), V2Dvr::ManageJobQueue(), ProgramInfo::MarkAsInUse(), BackendSettings::masterBackendChanged(), MythVideoProfile::MythVideoProfile(), ImageAdapterLocal::Notify(), PlaybackProfileConfig::PlaybackProfileConfig(), PlaybackSock::PlaybackSock(), VideoSetupWizard::playVideoTest(), WeatherSource::ProbeScript(), NetworkControl::processPlay(), HttpConfig::ProcessRequest(), FileServerHandler::QueryFileSystems(), HouseKeeperTask::QueryLast(), MetaIOID3::readAlbumArt(), RebuildSeekTable(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), MythRAOPDevice::RegisterForBonjour(), RemoteGetFileList(), RemoteSendReceiveStringList(), removeGrabberFromDB(), ReadMetaThread::run(), NAMThread::run(), PreviewGenerator::Run(), MythDownloadManager::run(), SystemEventThread::run(), PreviewGenerator::RunReal(), VideoSetupWizard::save(), CaptureCard::Save(), PlaybackProfileConfig::Save(), ScreenSetup::saveData(), MusicFileScanner::ScanArtwork(), ScanMusic(), MusicFileScanner::ScanMusic(), ScanVideoDirectory(), MusicFileScanner::SearchDirs(), SendMythSystemPlayEvent(), SendSystemEvent(), SendSystemEvent(), PlayerContext::SetTVChain(), RemoteEncoder::Setup(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), CaptureCardEditor::ShowDeleteAllCaptureCardsDialogOnHost(), TV::ShowOSDPromptDeleteRecording(), TVRec::SpawnLiveTV(), MythAirplayServer::Start(), HouseKeeper::Start(), RecordingInfo::StartedRecording(), startTVNormal(), StatusBox::StatusBox(), DiSEqCDevTree::Store(), ThemeChooser::ThemeChooser(), MusicFileScanner::UpdateFileInDB(), HouseKeeperTask::UpdateLastRun(), Scheduler::WakeUpSlave(), and WasAutomaticStart().
QString MythCoreContext::GetLanguage | ( | void | ) |
Returns two character ISO-639 language descriptor for UI language.
Definition at line 1794 of file mythcorecontext.cpp.
Referenced by 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 1806 of file mythcorecontext.cpp.
Referenced by HTTPRequest::BuildResponseHeader(), MythUIVirtualKeyboard::Create(), GetAudioLanguageAndVariant(), GetLanguage(), MythHTTPServer::Init(), MythUIText::ParseElement(), and MythThemedMenu::parseThemeButton().
MythLocale * MythCoreContext::GetLocale | ( | void | ) | const |
Definition at line 1785 of file mythcorecontext.cpp.
Referenced by AddCertifications(), DLNA::DLNAProfileName(), LanguageSelection::Load(), PrevRecordedList::LoadDates(), MythBDBuffer::OpenFile(), ScanCountry::ScanCountry(), ScanNetwork::ScanNetwork(), and MetaGrabberScript::SetDefaultArgs().
QString MythCoreContext::GetMasterHostName | ( | void | ) |
Definition at line 814 of file mythcorecontext.cpp.
Referenced by CDRipperThread::CDRipperThread(), ThemeUpdateChecker::checkForUpdate(), MetadataOptions::CreateLookup(), MusicPlayer::customEvent(), MetadataOptions::customEvent(), LookerUpper::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::GetMasterHostPrefix | ( | const QString & | storageGroup = QString() , |
const QString & | path = QString() |
||
) |
Definition at line 805 of file mythcorecontext.cpp.
Referenced by ChannelRecPriority::FillList(), MainServer::HandleDownloadFile(), FileServerHandler::HandleDownloadFile(), OSD::SetText(), GuideGrid::updateChannelsUI(), ChannelRecPriority::updateInfo(), GuideGrid::updateInfo(), and ChannelRecPriority::updateList().
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 973 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 987 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(), MythContext::Impl::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 1000 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), UPNPScanner::AddServer(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), GetMythXMLURL(), MythHTTPServer::Init(), HTTPLiveStream::SetOutputVars(), and UPNPScanner::Start().
int MythCoreContext::GetNumSetting | ( | const QString & | key, |
int | defaultval = 0 |
||
) |
Definition at line 919 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(), GalleryThumbView::Create(), VideoDialog::Create(), BrowserConfig::Create(), Ripper::Create(), GeneralSettings::Create(), ImportSettings::Create(), RatingSettings::Create(), VisualizationSettings::Create(), ZMEvents::Create(), ZMLivePlayer::Create(), ManualSchedule::Create(), AudioSetupWizard::Create(), MetadataSettings::Create(), PlayerSettings::Create(), MainServer::customEvent(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), DeleteThread::DeleteThread(), DetectLetterbox::DetectLetterbox(), ParentalLevelChangeCheckerPrivate::DoCheck(), HardwareProfileTask::DoCheckRun(), MythUDPListener::DoEnable(), MainServer::DoHandleUndeleteRecording(), DTVRecorder::DTVRecorder(), EITHelper::EITHelper(), SubtitleScreen::EnableSubtitles(), MythMainWindow::ExitStandby(), AutoExpire::FillDBOrdered(), AutoExpire::FillExpireList(), Scheduler::FillRecordingDir(), PlayerSettings::fillRegionList(), FlagCommercials(), AutoExpire::GetAllExpiring(), GetBoolSetting(), ImageManagerFe::getInstance(), PreviewGeneratorQueue::GetPreviewImage(), ScheduleCommon::GetProgramListGroupBy(), HttpServer::GetSocketTimeout(), AudioOutputSettings::GetUsers(), ClassicCommDetector::go(), Goom::Goom(), handleDVDMedia(), ExitPrompter::HandleExit(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), HistogramAnalyzer::HistogramAnalyzer(), HttpStatus::HttpStatus(), MythMainWindow::IdleTimeout(), GallerySettings::ImageSizeChanged(), MythHTTPServer::Init(), ClassicCommDetector::Init(), TVRec::Init(), MythUIWebBrowser::Init(), GrabberSettings::Init(), PlaybackBox::Init(), AudioSetupWizard::Init(), StatusBox::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(), Spectrogram::Spectrogram(), GallerySlideView::Start(), startAppearWiz(), StatusBox::StatusBox(), TemplateFinder::TemplateFinder(), TemplateMatcher::TemplateMatcher(), MythContext::Impl::TestDBconnection(), MythVideoBounds::ToggleMoveBottomLine(), Transcode::TranscodeFile(), GalleryThumbView::UpdateImageItem(), UpdateRadioStreams(), MythUIScreenBounds::UpdateScreenSettings(), PlaybackBox::UpdateUILists(), V2Status::V2Status(), VideoDialogPrivate::VideoDialogPrivate(), VideoFilterSettings::VideoFilterSettings(), AudioOutputJACK::VolumeInit(), AudioOutputOSS::VolumeInit(), and MythFontProperties::Zoom().
|
delete |
int MythCoreContext::GetNumSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
int | defaultval = 0 |
||
) |
Definition at line 950 of file mythcorecontext.cpp.
Referenced by FillFrontendList(), GetBackendServerPort(), GetBackendStatusPort(), GetBoolSettingOnHost(), and GetMasterServerPort().
MythPluginManager * MythCoreContext::GetPluginManager | ( | void | ) |
Definition at line 2138 of file mythcorecontext.cpp.
Referenced by configplugin_cb(), MythThemedMenu::findDepends(), and plugin_cb().
QLocale MythCoreContext::GetQLocale | ( | void | ) |
Definition at line 1901 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::GetResolutionSetting | ( | const QString & | type, |
int & | width, | ||
int & | height, | ||
double & | forced_aspect, | ||
double & | refresh_rate, | ||
int | index = -1 |
||
) |
Definition at line 856 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 866 of file mythcorecontext.cpp.
MythScheduler * MythCoreContext::GetScheduler | ( | void | ) |
Definition at line 1932 of file mythcorecontext.cpp.
Referenced by cleanup(), V2Myth::DelayShutdown(), FillUpcomingList(), V2Myth::GetBackendInfo(), V2Guide::GetProgramGuide(), V2Guide::GetProgramList(), V2Dvr::GetRecordedList(), ProgramInfo::LoadFromScheduler(), and V2Myth::ManageScheduler().
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 1116 of file mythcorecontext.cpp.
Referenced by PortChecker::checkPort().
MythSessionManager * MythCoreContext::GetSessionManager | ( | void | ) |
Definition at line 2098 of file mythcorecontext.cpp.
Referenced by HTTPRequest::BasicAuthentication(), HTTPRequest::DigestAuthentication(), MythHTTPService::HTTPRequest(), V2Myth::LoginUser(), V2Myth::ManageDigestUser(), HTTPRequest::ParseRequest(), and V2Myth::PutSetting().
QString MythCoreContext::GetSetting | ( | const QString & | key, |
const QString & | defaultval = "" |
||
) |
Definition at line 905 of file mythcorecontext.cpp.
Referenced by HTTPRequest::AddCORSHeaders(), MusicFileScanner::AddFileToDB(), AirPlayHardwareId(), VideoPlayerCommandPrivate::AltPlayerFor(), ArchiveFileSelector::ArchiveFileSelector(), AudioDeviceComboBox::AudioDeviceComboBox(), AudioLanguage(), StartPrompter::backendRunningPrompt(), DBUtil::BackupDB(), MythHTTPServer::BuildOrigins(), GameUI::BuildTree(), burnISOImage(), DiSEqCDevRotor::CalculateAzimuth(), LogViewer::cancelClicked(), CDRipperThread::CDRipperThread(), ThemeUpdateChecker::checkForUpdate(), Scheduler::CheckShutdownServer(), ClassicLogoDetector::ClassicLogoDetector(), anonymous_namespace{mythcontext.cpp}::GUISettingsCache::clearOverrides(), SchemaUpgradeWizard::Compare(), RecordingProfile::CompleteLoad(), ConnectCommandSocket(), ImageScanThread< DBFS >::CountFiles(), BrowserConfig::Create(), GeneralSettings::Create(), ImportMusicDialog::Create(), ImportSettings::Create(), PlaylistEditorView::Create(), ManualSchedule::Create(), PlayerSettings::Create(), createISOImage(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), MythSystemEventHandler::customEvent(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), MusicCommon::customEvent(), GalleryThumbView::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(), anonymous_namespace{videoplayercommand.cpp}::ExpandPlayCommand(), 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(), GetAudioLanguageAndVariant(), V2Status::GetBackendStatus(), V2Video::GetBluray(), 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(), MythHTTPService::HTTPRequest(), MythNVDECContext::HwDecoderInit(), GalleryThumbView::Import(), ImportMusicDialog::ImportMusicDialog(), NativeArchive::importVideo(), LCDProcClient::init(), StorageGroup::Init(), V4LChannel::Init(), TVRec::Init(), GrabberSettings::Init(), AudioSetupWizard::Init(), ThemeChooser::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(), MusicCommon::keyPressEvent(), WelcomeDialog::keyPressEvent(), MythTranslation::LanguageChanged(), AudioConfigSettings::Load(), PostProcMixin::Load(), TransFreqTableSelector::Load(), RawSettingsEditor::Load(), ExportNative::loadConfiguration(), MythBurn::loadConfiguration(), SelectDestination::loadConfiguration(), DVDThemeSelector::loadConfiguration(), VideoDialog::loadData(), MythBurn::loadEncoderProfiles(), LoadFromProgram(), anonymous_namespace{mythcontext.cpp}::GUISettingsCache::loadOverrides(), LCDProcClient::loadSettings(), HttpServer::LoadSSLConfig(), TextSubtitleParser::LoadSubtitles(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), main(), 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(), 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(), anonymous_namespace{volumebase.cpp}::VolumeWriteBackThread::run(), WelcomeDialog::runMythFillDatabase(), runTestDVD(), anonymous_namespace{mythcontext.cpp}::GUISettingsCache::save(), TransFreqTableSelector::Save(), ThemeChooser::saveAndReload(), ImportCoverArtDialog::scanDirectory(), MusicFileScanner::SearchDirs(), MusicMetadata::setArtistAndTrackFormats(), ZMLivePlayer::setMonitorLayout(), ASIRecorder::SetOptionsFromProfile(), DTVRecorder::SetOptionsFromProfile(), ImportRecorder::SetOptionsFromProfile(), MpegRecorder::SetOptionsFromProfile(), V4L2encRecorder::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(), MythContext::Impl::TestDBconnection(), ProgramInfo::ToMap(), MythDate::toString(), Transcode::TranscodeFile(), GameHandler::UpdateGameDB(), MythPlayerOverlayUI::UpdateSliderInfo(), MusicMetadata::updateStreamList(), PlaybackBox::UpdateUILists(), UpgradeArchiveDatabaseSchema(), UpgradeBrowserDatabaseSchema(), UpgradeGameDatabaseSchema(), UpgradeNewsDatabaseSchema(), VideoDialogPrivate::VideoDialogPrivate(), VolumeBase::VolumeBase(), AudioOutputJACK::VolumeInit(), AudioOutputOSS::VolumeInit(), WasAutomaticStart(), and Scheduler::WasStartedAutomatically().
QString MythCoreContext::GetSettingOnHost | ( | const QString & | key, |
const QString & | host, | ||
const QString & | defaultval = "" |
||
) |
Definition at line 933 of file mythcorecontext.cpp.
Referenced by MythMainWindow::EnterStandby(), UPnp::FormatRedirectResponse(), MythVideoProfile::GetDefaultProfileName(), V2Myth::GetSetting(), V2Config::GetSystemEvents(), MainServer::HandleSettingQuery(), JobQueue::InJobRunWindow(), Scheduler::PutInactiveSlavesToSleep(), resolveSettingAddress(), EncoderLink::SetSocket(), startTVNormal(), MythContext::Impl::TestDBconnection(), Scheduler::WakeUpSlave(), and Scheduler::WakeUpSlaves().
bool MythCoreContext::HasGUI | ( | void | ) | const |
Definition at line 1765 of file mythcorecontext.cpp.
Referenced by VideoScanner::doScan(), GameScanner::doScan(), MetadataFactory::OnVideoResult(), MythSystemLegacy::ProcessFlags(), and SendReceiveStringList().
bool MythCoreContext::Init | ( | void | ) |
Definition at line 223 of file mythcorecontext.cpp.
Referenced by MythContext::MythContext().
void MythCoreContext::InitLocale | ( | void | ) |
Definition at line 1877 of file mythcorecontext.cpp.
Referenced by GetQLocale(), MythContext::Impl::Init(), and SaveLocaleDefaults().
Definition at line 1864 of file mythcorecontext.cpp.
Referenced by MythContext::Init(), and MythContext::~MythContext().
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 2082 of file mythcorecontext.cpp.
Referenced by MusicPlayer::StartPlayback().
bool MythCoreContext::IsBackend | ( | void | ) | const |
is this process a backend process
Definition at line 651 of file mythcorecontext.cpp.
Referenced by ImageScanThread< DBFS >::Broadcast(), ChannelImporter::ChannelImporter(), ConnectToMasterServer(), ProgramInfo::DiscoverRecordingDirectory(), MythContext::Impl::FindDatabaseChoose(), ImageScanThread< DBFS >::GetProgress(), MythHTTPServer::Init(), IsMasterBackend(), IsThisBackend(), RegisterFileForWrite(), RemoteGetFlags(), RemoteGetState(), RemoteIsBusy(), RemoteRecordPending(), RemoteStopLiveTV(), RemoteStopRecording(), SendEvent(), SendMessage(), ScheduledRecording::SendReschedule(), and UnregisterFileForWrite().
bool MythCoreContext::IsBlockingClient | ( | void | ) | const |
is this client blocking shutdown
Definition at line 631 of file mythcorecontext.cpp.
Referenced by JobQueue::ProcessQueue(), and Reconnect::run().
bool MythCoreContext::IsConnectedToMaster | ( | void | ) |
Definition at line 597 of file mythcorecontext.cpp.
Referenced by StartPrompter::backendRunningPrompt(), LCDProcClient::checkConnections(), IdleScreen::CheckConnectionToServer(), WelcomeDialog::checkConnectionToServer(), isRecording(), setScheduledWakeupTime(), LCDProcClient::updateRecordingList(), WelcomeDialog::updateRecordingList(), IdleScreen::UpdateScheduledList(), WelcomeDialog::updateScheduledList(), and WelcomeDialog::updateScreen().
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 883 of file mythcorecontext.cpp.
Referenced by MythPlayer::GetBookmark(), MythBDPlayer::GetBookmark(), MythDVDPlayer::GetBookmark(), PlayerContext::GetFilters(), DeleteMap::IsSaved(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), MythPlayer::OpenFile(), ProgramInfo::ProgramInfo(), ProgramInfo::QueryTotalDuration(), run_backend(), DeleteMap::SaveMap(), and PlayerContext::SetPlayingInfo().
bool MythCoreContext::IsExiting | ( | void | ) |
Definition at line 2148 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), MythSocket::DisconnectFromHost(), and anonymous_namespace{volumebase.cpp}::VolumeWriteBackThread::run().
bool MythCoreContext::IsFrontend | ( | void | ) | const |
is this process a frontend process
Definition at line 661 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), MythHTTPServer::Init(), and MythContext::Impl::Init().
bool MythCoreContext::IsFrontendOnly | ( | void | ) |
is there a frontend, but no backend, running on this host
Definition at line 752 of file mythcorecontext.cpp.
Referenced by ExitPrompter::Confirm(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), ExitPrompter::HandleExit(), MythWelcomeSettings::MythWelcomeSettings(), and WelcomeDialog::shutdownNow().
Check if peer is on local subnet.
peer | in Host Address to check. |
log | whether to log an error if not. |
Definition at line 1311 of file mythcorecontext.cpp.
Referenced by CheckSubnet(), and MythHTTPService::HTTPRequest().
bool MythCoreContext::IsMasterBackend | ( | void | ) |
is this the actual MBE process
Definition at line 702 of file mythcorecontext.cpp.
Referenced by ConnectToMasterServer(), MythSessionManager::CreateUserSession(), MessageHandler::customEvent(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), RemoteFile::FindFileList(), MusicMetadata::getAlbumArtFile(), GetMasterHostName(), RemoteGetFileList(), RemoteSendReceiveStringList(), MetadataImageDownload::run(), run_backend(), and VideoMetadata::VideoFileHash().
bool MythCoreContext::IsMasterHost | ( | const QString & | host | ) |
is specified host the master
Definition at line 672 of file mythcorecontext.cpp.
bool MythCoreContext::IsMasterHost | ( | void | ) |
is this the same host as the master
Definition at line 666 of file mythcorecontext.cpp.
Referenced by checkStoragePaths(), StorageGroupEditor::DoDeleteSlot(), StartPrompter::handleStart(), IsMasterBackend(), IsMasterHost(), StorageGroupListEditor::Load(), ExitPrompter::masterPromptExit(), run_backend(), RawSettingsEditor::Save(), ScanVideoDirectory(), StorageGroupEditor::SetLabel(), StorageGroupEditor::ShowDeleteDialog(), StorageGroupListEditor::StorageGroupListEditor(), V2Status::V2Status(), and WasAutomaticStart().
bool MythCoreContext::IsRegisteredFileForWrite | ( | const QString & | file | ) |
Definition at line 2188 of file mythcorecontext.cpp.
Referenced by MainServer::HandleFileTransferQuery(), FileServerHandler::HandleQueryFileTransfer(), MythFileBuffer::OpenFile(), and MythMediaBuffer::run().
bool MythCoreContext::IsThisBackend | ( | const QString & | addr | ) |
is this address mapped to this backend host
Definition at line 723 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 728 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(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFindFile(), IsThisBackend(), IsThisHost(), MetadataImageDownload::run(), and VideoMetadata::VideoFileHash().
bool MythCoreContext::IsThisHost | ( | const QString & | addr, |
const QString & | host | ||
) |
Definition at line 733 of file mythcorecontext.cpp.
bool MythCoreContext::IsUIThread | ( | void | ) |
Definition at line 1376 of file mythcorecontext.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseDispInfo(), TVBrowseHelper::BrowseEnd(), TVBrowseHelper::BrowseStart(), MythNVDECInterop::CreateCUDAContext(), MythCodecContext::DestroyInterop(), MythCodecContext::GetDecoders(), MythInteropGPU::GetTypes(), MythNVDECContext::HaveNVDEC(), MythVideoOutputOpenGL::Init(), MythVideoOutputVulkan::Init(), MythMediaCodecInterop::Initialise(), MythVAAPIContext::InitialiseContext(), MythVDPAUContext::InitialiseContext(), MythMediaCodecContext::InitialiseDecoder(), MythNVDECContext::InitialiseDecoder(), MythVTBContext::InitialiseDecoder(), MythCodecContext::InitialiseDecoder(), MythCodecContext::InitialiseDecoder2(), MythV4L2M2MContext::InitialiseV4L2RequestContext(), MythVideoProfile::InitStatics(), MythSystemLegacy::ProcessFlags(), MDBManager::PurgeIdleConnections(), SendReceiveStringList(), MythMainWindow::SetDrawEnabled(), and MythDB::WriteDelayedSettings().
bool MythCoreContext::IsWOLAllowed | ( | ) | const |
Definition at line 641 of file mythcorecontext.cpp.
Referenced by ConnectCommandSocket(), MSqlDatabase::OpenDatabase(), and MythContext::Impl::ShowConnectionFailurePopup().
void MythCoreContext::OverrideSettingForSession | ( | const QString & | key, |
const QString & | value | ||
) |
Definition at line 1365 of file mythcorecontext.cpp.
Referenced by MythCommandLineParser::ApplySettingsOverride(), MythUIThemeHelper::FindThemeDir(), StartPrompter::leaveBackendRunning(), MythTranslation::load_real(), anonymous_namespace{mythcontext.cpp}::GUISettingsCache::loadOverrides(), main(), resetTheme(), StartPrompter::stopBackend(), MythContext::Impl::TempMainWindow(), and MythUIScreenBounds::UpdateScreenSettings().
|
overrideprivatevirtual |
Implements MythSocketCBs.
Definition at line 1589 of file mythcorecontext.cpp.
void MythCoreContext::RegisterFileForWrite | ( | const QString & | file, |
uint64_t | size = 0LL |
||
) |
Definition at line 2153 of file mythcorecontext.cpp.
Referenced by ThreadedFileWriter::DiskLoop(), ThreadedFileWriter::Open(), readyRead(), RebuildSeekTable(), and ImportRecorder::run().
|
inline |
Definition at line 235 of file mythcorecontext.h.
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 1964 of file mythcorecontext.cpp.
Referenced by TV::InitFromDB(), MusicPlayer::MusicPlayer(), and MythRAOPDevice::newRaopConnection().
void MythCoreContext::ReInitLocale | ( | void | ) |
Definition at line 1888 of file mythcorecontext.cpp.
Referenced by reloadTheme(), and resetTheme().
void MythCoreContext::ResetAudioLanguage | ( | void | ) |
Definition at line 1848 of file mythcorecontext.cpp.
Referenced by MythMainWindow::LoadQtConfig().
void MythCoreContext::ResetLanguage | ( | void | ) |
Definition at line 1814 of file mythcorecontext.cpp.
Referenced by MythMainWindow::LoadQtConfig().
void MythCoreContext::ResetSockets | ( | void | ) |
Definition at line 1853 of file mythcorecontext.cpp.
Referenced by MonitorThread::run().
|
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 1199 of file mythcorecontext.cpp.
Referenced by IsMasterHost(), IsThisHost(), ping(), resolveSettingAddress(), and BackendSettings::Save().
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 1170 of file mythcorecontext.cpp.
Referenced by GetBackendServerIP(), GetBackendServerIP4(), GetBackendServerIP6(), GetMasterServerIP(), IsMasterHost(), MainServer::MainServer(), and ServerPool::SelectDefaultListen().
bool MythCoreContext::SafeConnectToMasterServer | ( | bool | blockingClient = true , |
bool | openEventSocket = true |
||
) |
Definition at line 349 of file mythcorecontext.cpp.
Referenced by IdleScreen::CheckConnectionToServer(), WelcomeDialog::checkConnectionToServer(), main(), and Reconnect::run().
|
inline |
Definition at line 139 of file mythcorecontext.h.
Referenced by GalleryThumbView::DoShowHidden(), AudioSetupWizard::save(), PlaybackBox::saveViewChanges(), MusicPlayer::setPlayNow(), NetTree::ToggleRSSUpdates(), NetTree::ToggleTreeUpdates(), and ViewScheduled::~ViewScheduled().
|
inline |
Definition at line 134 of file mythcorecontext.h.
Referenced by MusicPlayer::decoderHandlerReady(), MusicPlayer::savePosition(), and LogViewer::~LogViewer().
void MythCoreContext::SaveLocaleDefaults | ( | void | ) |
Definition at line 1909 of file mythcorecontext.cpp.
Referenced by MythContext::Impl::Init().
void MythCoreContext::SaveSetting | ( | const QString & | key, |
const QString & | newValue | ||
) |
Definition at line 893 of file mythcorecontext.cpp.
void MythCoreContext::SaveSetting | ( | const QString & | key, |
int | newValue | ||
) |
Definition at line 888 of file mythcorecontext.cpp.
Referenced by AirPlayHardwareId(), ThemeUpdateChecker::checkForUpdate(), ThemeChooser::customEvent(), EditAlbumartDialog::customEvent(), GalleryThumbView::customEvent(), ScheduleCommon::customEvent(), HardwareProfile::DeleteProfile(), doBurnDVD(), ParentalLevelChangeCheckerPrivate::DoCheck(), doNativeArchive(), GalleryThumbView::DoRepeat(), GalleryThumbView::DoShowType(), doUpgradeMusicDatabaseSchema(), MythUIThemeHelper::FindMenuThemeDir(), getTempDirectory(), Spectrogram::handleKeyPress(), handleMedia(), TV::HandleOSDClosed(), ProgramRecPriority::keyPressEvent(), ThemeChooser::LoadVersion(), main(), mythplugin_init(), ParentalLevelChangeCheckerPrivate::OnPasswordEntered(), MythPlayer::OpenFile(), PlaybackBox::PlaybackBox(), PlaylistEditorView::PlaylistEditorView(), ManualSchedule::recordClicked(), ThemeChooser::refreshDownloadableThemes(), GallerySlideView::RepeatOn(), anonymous_namespace{volumebase.cpp}::VolumeWriteBackThread::run(), MythBurn::runScript(), LanguageSelection::Save(), RawSettingsEditor::Save(), AudioSetupWizard::save(), ThemeChooser::saveAndReload(), VideoFilterSettings::saveAsDefault(), MythVideoBounds::SaveBottomLine(), SelectDestination::saveConfiguration(), DVDThemeSelector::saveConfiguration(), GlobalSetup::saveData(), ZMClient::saveNotificationMonitors(), MusicPlayer::savePosition(), VideoDialog::SavePosition(), PlaylistEditorView::saveTreePosition(), MythVideoColourSpace::SaveValue(), PlaybackBox::saveViewChanges(), GalleryThumbView::SelectZoomWidget(), PlaybackBox::setGroupFilter(), Ripper::setSaveHost(), ImportMusicDialog::setSaveHost(), AudioOutputBase::SetSWVolume(), MythUIWebBrowser::SetZoom(), SubtitleScreen::SetZoom(), MythFontProperties::SetZoom(), ScreenWizard::slotResetSettings(), BrowserConfig::slotSave(), GeneralSettings::slotSave(), ImportSettings::slotSave(), RatingSettings::slotSave(), VisualizationSettings::slotSave(), GrabberSettings::slotSave(), MetadataSettings::slotSave(), PlayerSettings::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().
bool MythCoreContext::SaveSettingOnHost | ( | const QString & | key, |
const QString & | newValue, | ||
const QString & | host | ||
) |
Definition at line 898 of file mythcorecontext.cpp.
Referenced by DBUtil::BackupDB(), HardwareProfile::Disable(), HardwareProfile::Enable(), MythVideoProfile::GetDefaultProfileName(), ImageHandler< DBFS >::HandleIgnore(), MainServer::HandleSetSetting(), main(), V2Myth::ManageUrlProtection(), V2Myth::PutSetting(), MythVideoProfile::SetDefaultProfileName(), Scheduler::ShutdownServer(), GrabberSettings::slotSave(), ThemeChooser::toggleThemeUpdateNotifications(), updateLastRunEnd(), updateLastRunStart(), updateLastRunStatus(), updateNextScheduledRun(), and MusicMetadata::updateStreamList().
void MythCoreContext::SendEvent | ( | const MythEvent & | event | ) |
Definition at line 1558 of file mythcorecontext.cpp.
Referenced by ImageManagerFe::CreateThumbnails(), MainServer::DoDeleteInDB(), ImageAdapterLocal::Notify(), ImageAdapterSg::Notify(), ImageManagerFe::RequestMetaData(), ReadMetaThread::run(), VideoScannerThread::run(), TVRec::TuningSignalCheck(), and HouseKeeperTask::UpdateLastRun().
void MythCoreContext::SendHostSystemEvent | ( | const QString & | msg, |
const QString & | hostname, | ||
const QString & | args | ||
) |
Definition at line 1581 of file mythcorecontext.cpp.
void MythCoreContext::SendMessage | ( | const QString & | message | ) |
Definition at line 1545 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(), VideoScannerThread::run(), ProgramInfoUpdater::run(), SystemEventThread::run(), SettingsHelper::RunEpilog(), RawSettingsEditor::Save(), MusicFileScanner::SearchDirs(), SendSystemEvent(), unlockShutdown(), and UpdateMeta().
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 1399 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(), FileSystemInfoManager::GetInfoList(), 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(), RemoteGetLoad(), RemoteGetMemStats(), RemoteGetPreviewIfModified(), RemoteGetPreviewLastModified(), RemoteGetRecordingList(), RemoteGetRecordingMask(), RemoteGetRecordingStatus(), RemoteGetState(), RemoteGetUptime(), VideoDialog::RemoteImageCheck(), RemoteIsBusy(), PreviewGenerator::RemotePreviewRun(), RemoteRecordings(), RemoteRecordPending(), RemoteRequestFreeInputInfo(), RemoteSendReceiveStringList(), RemoteStopLiveTV(), RemoteStopRecording(), RemoteUndeleteRecording(), ImageManagerFe::RenameFile(), CopyImageThread::run(), SendStringListThread::run(), AlbumArtScannerThread::run(), SendAsyncMessage::run(), LyricsData::save(), ScanImages(), ImageManagerFe::ScanImagesAction(), ImageManagerFe::ScanQuery(), ScanVideos(), ScheduledRecording::SendReschedule(), ImageManagerFe::SetCover(), and StatusBox::StatusBox().
void MythCoreContext::SendSystemEvent | ( | const QString & | msg | ) |
Definition at line 1572 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::SetAsBackend | ( | bool | backend | ) |
Definition at line 646 of file mythcorecontext.cpp.
Referenced by main().
void MythCoreContext::SetAsFrontend | ( | bool | frontend | ) |
Definition at line 656 of file mythcorecontext.cpp.
Referenced by main().
|
inline |
Definition at line 309 of file mythcorecontext.h.
Referenced by run_backend().
void MythCoreContext::SetEventSocket | ( | MythSocket * | eventSock | ) |
Definition at line 2143 of file mythcorecontext.cpp.
void MythCoreContext::SetGUIObject | ( | QObject * | gui | ) |
Definition at line 1760 of file mythcorecontext.cpp.
Referenced by MythMainWindow::destroyMainWindow(), and MythMainWindow::getMainWindow().
void MythCoreContext::SetLocalHostname | ( | const QString & | hostname | ) |
Definition at line 1753 of file mythcorecontext.cpp.
Referenced by MythContext::Impl::setLocalHostName().
void MythCoreContext::SetPluginManager | ( | MythPluginManager * | pmanager | ) |
Definition at line 2124 of file mythcorecontext.cpp.
Referenced by main().
void MythCoreContext::SetScheduler | ( | MythScheduler * | sched | ) |
Definition at line 1927 of file mythcorecontext.cpp.
Referenced by cleanup(), and run_backend().
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 1136 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 1150 of file mythcorecontext.cpp.
void MythCoreContext::SetServerSocket | ( | MythSocket * | serverSock | ) |
void MythCoreContext::setTestFloatSettings | ( | QMap< QString, double > & | overrides | ) |
Definition at line 295 of file mythcorecontext.cpp.
void MythCoreContext::setTestIntSettings | ( | QMap< QString, int > & | overrides | ) |
Definition at line 290 of file mythcorecontext.cpp.
void MythCoreContext::setTestStringSettings | ( | QMap< QString, QString > & | overrides | ) |
Definition at line 300 of file mythcorecontext.cpp.
bool MythCoreContext::SetupCommandSocket | ( | MythSocket * | serverSock, |
const QString & | announcement, | ||
std::chrono::milliseconds | timeout, | ||
bool & | proto_mismatch | ||
) |
Definition at line 305 of file mythcorecontext.cpp.
Referenced by ConnectCommandSocket().
void MythCoreContext::SetWOLAllowed | ( | bool | allow | ) |
Definition at line 636 of file mythcorecontext.cpp.
Referenced by MythMainWindow::EnterStandby(), and MythMainWindow::ExitStandby().
|
static |
Definition at line 2110 of file mythcorecontext.cpp.
Referenced by mythplugin_init().
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 2070 of file mythcorecontext.cpp.
Referenced by TV::Playback(), TV::StartTV(), and TV::StopPlayback().
|
signal |
|
signal |
Referenced by RegisterForPlayback(), UnregisterForPlayback(), and WantingPlayback().
|
signal |
Referenced by MythAirplayServer::PausePlayback().
|
signal |
Referenced by MythAirplayServer::UnpausePlayback().
|
signal |
|
signal |
Referenced by MythAirplayServer::SeekPosition().
|
signal |
Referenced by MythAirplayServer::StartPlayback().
|
signal |
|
signal |
void MythCoreContext::UnregisterFileForWrite | ( | const QString & | file | ) |
Definition at line 2171 of file mythcorecontext.cpp.
Referenced by readyRead(), RebuildSeekTable(), ThreadedFileWriter::ReOpen(), ImportRecorder::run(), ThreadedFileWriter::SyncLoop(), and ThreadedFileWriter::~ThreadedFileWriter().
void MythCoreContext::UnregisterForPlayback | ( | QObject * | sender | ) |
Unregister sender from being called when TVPlaybackAboutToStart signal is emitted.
Definition at line 1985 of file mythcorecontext.cpp.
Referenced by MusicPlayer::~MusicPlayer(), and TV::~TV().
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 1941 of file mythcorecontext.cpp.
Referenced by MythAirplayServer::PausePlayback(), MythAirplayServer::SeekPosition(), MythAirplayServer::StartPlayback(), MythAirplayServer::StopPlayback(), and MythAirplayServer::UnpausePlayback().
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 2004 of file mythcorecontext.cpp.
Referenced by VideoPlayerCommand::Play(), MusicPlayer::play(), MythRAOPConnection::ProcessRequest(), and TV::StartTV().
|
private |
Definition at line 295 of file mythcorecontext.h.
Referenced by ActivateSettingsCache(), AllowShutdown(), BlockShutdown(), CheckProtoVersion(), ClearOverrideSettingForSession(), ClearSettingsCache(), ConnectCommandSocket(), ConnectEventSocket(), ConnectToMasterServer(), GetAudioLanguageAndVariant(), 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(), IsLocalSubnet(), IsRegisteredFileForWrite(), IsUIThread(), IsWOLAllowed(), MythCoreContext(), OverrideSettingForSession(), RegisterFileForWrite(), RegisterForPlayback(), ReInitLocale(), ResetAudioLanguage(), ResetLanguage(), ResetSockets(), SafeConnectToMasterServer(), SaveLocaleDefaults(), SaveSetting(), SaveSettingOnHost(), SendReceiveStringList(), SetAsBackend(), SetAsFrontend(), SetExiting(), SetGUIObject(), SetLocalHostname(), SetPluginManager(), SetScheduler(), SetScopeForAddress(), SetWOLAllowed(), TVInWantingPlayback(), UnregisterFileForWrite(), UnregisterForPlayback(), WantingPlayback(), and ~MythCoreContext().
Definition at line 307 of file mythcorecontext.h.
|
private |
Definition at line 303 of file mythcorecontext.h.
Referenced by GetFloatSetting(), GetFloatSettingOnHost(), and setTestFloatSettings().
|
private |
Definition at line 302 of file mythcorecontext.h.
Referenced by GetNumSetting(), GetNumSettingOnHost(), and setTestIntSettings().
|
private |
Definition at line 304 of file mythcorecontext.h.
Referenced by GetSetting(), GetSettingOnHost(), and setTestStringSettings().
|
static |
Definition at line 185 of file mythcorecontext.h.
Referenced by ClearBackendServerPortCache(), and GetBackendServerPort().