|
MythTV master
|
#include <QCoreApplication>#include <QRunnable>#include <QString>#include <QByteArray>#include <QFile>#include <QDir>#include <QNetworkCookie>#include <QAuthenticator>#include <QTextStream>#include <QTimeZone>#include <QNetworkProxy>#include <QMutexLocker>#include <QUrl>#include <QTcpSocket>#include <cstdlib>#include <unistd.h>#include "compat.h"#include "mythcorecontext.h"#include "mthreadpool.h"#include "mythdirs.h"#include "mythevent.h"#include "mythversion.h"#include "remotefile.h"#include "mythdate.h"#include "mythdownloadmanager.h"#include "mythlogging.h"#include "portchecker.h"Go to the source code of this file.
Classes | |
| class | MythDownloadInfo |
| class | RemoteFileDownloadThread |
Macros | |
| #define | LOC QString("DownloadManager: ") |
Functions | |
| void | ShutdownMythDownloadManager (void) |
| Deletes the running MythDownloadManager at program exit. More... | |
| MythDownloadManager * | GetMythDownloadManager (void) |
| Gets the pointer to the MythDownloadManager singleton. More... | |
Variables | |
| static constexpr int | CACHE_REDIRECTION_LIMIT { 10 } |
| MythDownloadManager * | downloadManager = nullptr |
| QMutex | dmCreateLock |
| #define LOC QString("DownloadManager: ") |
Definition at line 34 of file mythdownloadmanager.cpp.
| MythDownloadManager * GetMythDownloadManager | ( | void | ) |
Gets the pointer to the MythDownloadManager singleton.
Definition at line 145 of file mythdownloadmanager.cpp.
Referenced by cancelURL(), ImportIconsWizard::checkAndDownload(), V2Channel::CopyIconToBackend(), DecoderHandler::createPlaylistFromRemoteUrl(), ThemeChooser::customEvent(), NewsSite::deleteLater(), download_logo(), DownloadFile(), V2Content::DownloadFile(), IPTVChannelFetcher::DownloadPlaylist(), downloadURL(), MusicMetadata::getAlbumArtFile(), ChannelData::handleChannels(), MainServer::HandleDownloadFile(), FileServerHandler::HandleDownloadFile(), CetonStreamHandler::HttpRequest(), CardUtil::IsCableCardPresent(), MythImage::Load(), MythUIThemeCache::LoadCacheImage(), RecExtEspnDataSource::loadPage(), RecExtMlbDataSource::loadPage(), MythUIWebBrowser::LoadUserStyleSheet(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), MythImageReader::MythImageReader(), ThemeInfo::parseThemeInfo(), HttpConfig::ProcessRequest(), V2Myth::Proxy(), UPnpDeviceDesc::Retrieve(), NewsSite::retrieve(), MetadataImageDownload::run(), ThemeChooser::saveAndReload(), anonymous_namespace{hdhrchannelfetcher.cpp}::sendQuery(), VBox::sendQuery(), SOAPClient::SendSOAPRequest(), NewsSite::stop(), ThemeUpdateTask::Terminate(), MusicMetadata::updateStreamList(), ImportIconsWizard::wget(), and NewsSite::~NewsSite().
| void ShutdownMythDownloadManager | ( | void | ) |
Deletes the running MythDownloadManager at program exit.
Definition at line 133 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager(), and MythCoreContextPrivate::~MythCoreContextPrivate().
|
staticconstexpr |
Definition at line 35 of file mythdownloadmanager.cpp.
Referenced by MythDownloadManager::downloadFinished(), MythDownloadManager::downloadQNetworkRequest(), and MythDownloadManager::GetLastModified().
| QMutex dmCreateLock |
Definition at line 38 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager().
| MythDownloadManager* downloadManager = nullptr |
Definition at line 37 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager(), and ShutdownMythDownloadManager().