MythTV  master
Classes | Macros | Functions | Variables
mythdownloadmanager.cpp File Reference
#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"
Include dependency graph for mythdownloadmanager.cpp:

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...
 
MythDownloadManagerGetMythDownloadManager (void)
 Gets the pointer to the MythDownloadManager singleton. More...
 

Variables

static constexpr int CACHE_REDIRECTION_LIMIT { 10 }
 
MythDownloadManagerdownloadManager = nullptr
 
QMutex dmCreateLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("DownloadManager: ")

Definition at line 34 of file mythdownloadmanager.cpp.

Function Documentation

◆ ShutdownMythDownloadManager()

void ShutdownMythDownloadManager ( void  )

Deletes the running MythDownloadManager at program exit.

Definition at line 133 of file mythdownloadmanager.cpp.

Referenced by GetMythDownloadManager(), and MythCoreContextPrivate::~MythCoreContextPrivate().

◆ GetMythDownloadManager()

MythDownloadManager* GetMythDownloadManager ( void  )

Variable Documentation

◆ CACHE_REDIRECTION_LIMIT

constexpr int CACHE_REDIRECTION_LIMIT { 10 }
staticconstexpr

◆ downloadManager

MythDownloadManager* downloadManager = nullptr

Definition at line 37 of file mythdownloadmanager.cpp.

Referenced by GetMythDownloadManager(), and ShutdownMythDownloadManager().

◆ dmCreateLock

QMutex dmCreateLock

Definition at line 38 of file mythdownloadmanager.cpp.

Referenced by GetMythDownloadManager().