9 LOG(VB_CHANNEL, LOG_DEBUG, QString(
"IPTVTuningdata (%1): IsValid = %2")
11 ret ?
"true" :
"false"));
19 if (QCoreApplication::instance() ==
nullptr)
21 LOG(VB_GENERAL, LOG_ERR, QString(
"CanReadHTTP - No QCoreApplication!!"));
30 LOG(VB_GENERAL, LOG_ERR, QString(
"CanReadHTTP - Failed, error:%1 url:%2")
bool CanReadHTTP(QByteArray &buffer) const
QString ErrorString(void) const
bool DownloadURL(const QUrl &url, QByteArray *buffer, std::chrono::seconds timeout=30s, uint redirs=0, qint64 maxsize=0, QString *final_url=nullptr)
#define LOG(_MASK_, _LEVEL_, _QSTRING_)