MythTV  master
Classes | Macros | Functions | Variables
mythdownloadmanager.cpp File Reference
#include <QCoreApplication>
#include <QRunnable>
#include <QString>
#include <QByteArray>
#include <QFile>
#include <QDir>
#include <QNetworkCookieJar>
#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  MythCookieJar
 A subclassed QNetworkCookieJar that allows for reading and writing cookie files that contain raw formatted cookies and copying the cookie jar to share between threads. More...
 
class  RemoteFileDownloadThread
 

Macros

#define LOC   QString("DownloadManager: ")
 
#define CACHE_REDIRECTION_LIMIT   10
 

Functions

void ShutdownMythDownloadManager (void)
 Deletes the running MythDownloadManager at program exit. More...
 
MythDownloadManagerGetMythDownloadManager (void)
 Gets the pointer to the MythDownloadManager singleton. More...
 

Variables

MythDownloadManagerdownloadManager = nullptr
 
QMutex dmCreateLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("DownloadManager: ")

Definition at line 37 of file mythdownloadmanager.cpp.

◆ CACHE_REDIRECTION_LIMIT

#define CACHE_REDIRECTION_LIMIT   10

Definition at line 38 of file mythdownloadmanager.cpp.

Function Documentation

◆ ShutdownMythDownloadManager()

void ShutdownMythDownloadManager ( void  )

Deletes the running MythDownloadManager at program exit.

Definition at line 148 of file mythdownloadmanager.cpp.

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

◆ GetMythDownloadManager()

MythDownloadManager* GetMythDownloadManager ( void  )

Variable Documentation

◆ downloadManager

MythDownloadManager* downloadManager = nullptr

Definition at line 40 of file mythdownloadmanager.cpp.

Referenced by GetMythDownloadManager(), and ShutdownMythDownloadManager().

◆ dmCreateLock

QMutex dmCreateLock

Definition at line 41 of file mythdownloadmanager.cpp.

Referenced by GetMythDownloadManager().