MythTV
master
|
#include <QFileInfo>
#include <QDir>
#include "threadedfilewriter.h"
#include "mythcontext.h"
#include "remotefile.h"
#include "mythconfig.h"
#include "mythtimer.h"
#include "mythdate.h"
#include "compat.h"
#include "mythcorecontext.h"
#include "io/mythfilebuffer.h"
#include <cstdlib>
#include <cerrno>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
Go to the source code of this file.
Macros | |
#define | POSIX_FADV_SEQUENTIAL 0 |
#define | POSIX_FADV_WILLNEED 0 |
#define | POSIX_FADV_DONTNEED 0 |
#define | O_STREAMING 0 |
#define | O_LARGEFILE 0 |
#define | O_BINARY 0 |
#define | LOC QString("FileRingBuf(%1): ").arg(m_filename) |
Functions | |
static int | posix_fadvise (int, off_t, off_t, int) |
static bool | CheckPermissions (const QString &Filename) |
static bool | IsSubtitlePossible (const QString &Extension) |
static QString | LocalSubtitleFilename (QFileInfo &FileInfo) |
Variables | |
static const QStringList | kSubExt {".ass", ".srt", ".ssa", ".sub", ".txt"} |
static const QStringList | kSubExtNoCheck {".ass", ".srt", ".ssa", ".sub", ".txt", ".gif", ".png"} |
#define POSIX_FADV_SEQUENTIAL 0 |
Definition at line 27 of file mythfilebuffer.cpp.
#define POSIX_FADV_WILLNEED 0 |
Definition at line 28 of file mythfilebuffer.cpp.
#define POSIX_FADV_DONTNEED 0 |
Definition at line 29 of file mythfilebuffer.cpp.
#define O_STREAMING 0 |
Definition at line 33 of file mythfilebuffer.cpp.
#define O_LARGEFILE 0 |
Definition at line 37 of file mythfilebuffer.cpp.
#define O_BINARY 0 |
Definition at line 41 of file mythfilebuffer.cpp.
#define LOC QString("FileRingBuf(%1): ").arg(m_filename) |
Definition at line 44 of file mythfilebuffer.cpp.
Definition at line 26 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile(), and MythFileBuffer::SeekInternal().
|
static |
Definition at line 114 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 126 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 134 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 46 of file mythfilebuffer.cpp.
Referenced by LocalSubtitleFilename(), and MythFileBuffer::OpenFile().
|
static |
Definition at line 47 of file mythfilebuffer.cpp.
Referenced by IsSubtitlePossible().