#include "netstream.h"
#include <cstdlib>
#include <cstddef>
#include <cstdio>
#include <utility>
#include <QAtomicInt>
#include <QCoreApplication>
#include <QDesktopServices>
#include <QEvent>
#include <QFile>
#include <QMetaType>
#include <QMutexLocker>
#include <QNetworkAccessManager>
#include <QNetworkDiskCache>
#include <QNetworkProxy>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QScopedPointer>
#include <QThread>
#include <QUrl>
#include <QSslConfiguration>
#include <QSslError>
#include <QSslSocket>
#include <QSslKey>
#include "mythlogging.h"
#include "mythcorecontext.h"
#include "mythdirs.h"
Go to the source code of this file.
|
#define | LOC "[netstream] " |
|
|
static QAtomicInt | s_nRequest (1) |
|
static QString | Source (const QNetworkRequest &request) |
|
static QString | Source (const QNetworkReply *reply) |
|
static qlonglong | ContentLength (const QNetworkReply *reply) |
|
static qlonglong | ContentRange (const QNetworkReply *reply, qlonglong &first, qlonglong &last) |
|
◆ LOC
#define LOC "[netstream] " |
◆ s_nRequest()
static QAtomicInt s_nRequest |
( |
1 |
| ) |
|
|
static |
◆ Source() [1/2]
static QString Source |
( |
const QNetworkRequest & |
request | ) |
|
|
inlinestatic |
◆ Source() [2/2]
static QString Source |
( |
const QNetworkReply * |
reply | ) |
|
|
inlinestatic |
◆ ContentLength()
static qlonglong ContentLength |
( |
const QNetworkReply * |
reply | ) |
|
|
inlinestatic |
◆ ContentRange()
static qlonglong ContentRange |
( |
const QNetworkReply * |
reply, |
|
|
qlonglong & |
first, |
|
|
qlonglong & |
last |
|
) |
| |
|
inlinestatic |
◆ s_mtx
◆ kMaxBuffer
const qint64 kMaxBuffer = 4 * 1024 * 1024L |