MythTV
master
|
#include <QCoreApplication>
#include <QRunnable>
#include <QString>
#include <QByteArray>
#include <QFile>
#include <QDir>
#include <QNetworkCookie>
#include <QAuthenticator>
#include <QTextStream>
#include <QNetworkProxy>
#include <QMutexLocker>
#include <QUrl>
#include <QTcpSocket>
#include <cstdlib>
#include <unistd.h>
#include "compat.h"
#include "mythcorecontext.h"
#include "mythcoreutil.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.
void ShutdownMythDownloadManager | ( | void | ) |
Deletes the running MythDownloadManager at program exit.
Definition at line 133 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager(), and MythCoreContextPrivate::~MythCoreContextPrivate().
MythDownloadManager* GetMythDownloadManager | ( | void | ) |
Gets the pointer to the MythDownloadManager singleton.
Definition at line 145 of file mythdownloadmanager.cpp.
Referenced by cancelURL(), ImportIconsWizard::checkAndDownload(), DecoderHandler::createPlaylistFromRemoteUrl(), ThemeChooser::customEvent(), NewsSite::deleteLater(), MythWebView::doDownload(), Content::DownloadFile(), V2Content::DownloadFile(), DownloadFile(), IPTVChannelFetcher::DownloadPlaylist(), downloadURL(), MusicMetadata::getAlbumArtFile(), GetNetworkAccessManager(), ChannelData::handleChannels(), FileServerHandler::HandleDownloadFile(), MainServer::HandleDownloadFile(), CetonStreamHandler::HttpRequest(), CardUtil::IsCableCardPresent(), MythImage::Load(), MythUIThemeCache::LoadCacheImage(), RecExtEspnDataSource::loadPage(), RecExtMlbDataSource::loadPage(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), ChannelIcon::LookupChannelIcon(), MythImageReader::MythImageReader(), ThemeInfo::parseThemeInfo(), HttpConfig::ProcessRequest(), NewsSite::retrieve(), UPnpDeviceDesc::Retrieve(), MetadataImageDownload::run(), ThemeChooser::saveAndReload(), ChannelIcon::SearchChannelIcon(), VBox::sendQuery(), SOAPClient::SendSOAPRequest(), NewsSite::stop(), ThemeUpdateTask::Terminate(), MusicMetadata::updateStreamList(), ImportIconsWizard::wget(), MythWebPage::~MythWebPage(), and NewsSite::~NewsSite().
|
staticconstexpr |
Definition at line 35 of file mythdownloadmanager.cpp.
Referenced by MythDownloadManager::downloadFinished(), MythDownloadManager::downloadQNetworkRequest(), and MythDownloadManager::GetLastModified().
MythDownloadManager* downloadManager = nullptr |
Definition at line 37 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager(), and ShutdownMythDownloadManager().
QMutex dmCreateLock |
Definition at line 38 of file mythdownloadmanager.cpp.
Referenced by GetMythDownloadManager().