MythTV  master
mythcoreutil.h File Reference
#include <cstdint>
#include <QString>
#include "mythbaseexp.h"
Include dependency graph for mythcoreutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


MBASE_PUBLIC int64_t getDiskSpace (const QString &file_on_disk, int64_t &total, int64_t &used)
MBASE_PUBLIC bool extractZIP (QString &zipFile, const QString &outDir)
MBASE_PUBLIC bool gzipFile (const QString &inFilename, const QString &zipFilename)
MBASE_PUBLIC bool gunzipFile (const QString &zipFilename, const QString &outFilename)
MBASE_PUBLIC QByteArray gzipCompress (const QByteArray &data)
MBASE_PUBLIC QByteArray gzipUncompress (const QByteArray &data)
MBASE_PUBLIC QString RemoteDownloadFile (const QString &url, const QString &storageGroup, const QString &filename="")
MBASE_PUBLIC QString RemoteDownloadFileNow (const QString &url, const QString &storageGroup, const QString &filename="")

Function Documentation

◆ getDiskSpace()

MBASE_PUBLIC int64_t getDiskSpace ( const QString &  file_on_disk,
int64_t &  total,
int64_t &  used 

◆ extractZIP()

MBASE_PUBLIC bool extractZIP ( QString &  zipFile,
const QString &  outDir 

◆ gzipFile()

MBASE_PUBLIC bool gzipFile ( const QString &  inFilename,
const QString &  zipFilename 

Definition at line 78 of file mythcoreutil.cpp.

◆ gunzipFile()

MBASE_PUBLIC bool gunzipFile ( const QString &  zipFilename,
const QString &  outFilename 

Definition at line 113 of file mythcoreutil.cpp.

◆ gzipCompress()

MBASE_PUBLIC QByteArray gzipCompress ( const QByteArray &  data)

◆ gzipUncompress()

MBASE_PUBLIC QByteArray gzipUncompress ( const QByteArray &  data)

Definition at line 205 of file mythcoreutil.cpp.

Referenced by gunzipFile(), and MusicMetadata::updateStreamList().

◆ RemoteDownloadFile()

MBASE_PUBLIC QString RemoteDownloadFile ( const QString &  url,
const QString &  storageGroup,
const QString &  filename = "" 

◆ RemoteDownloadFileNow()

MBASE_PUBLIC QString RemoteDownloadFileNow ( const QString &  url,
const QString &  storageGroup,
const QString &  filename = "" 

Definition at line 283 of file mythcoreutil.cpp.