MythTV
master
|
#include <cstdint>
#include <deque>
#include <QString>
#include <QMap>
#include <QHash>
#include "mythbaseexp.h"
#include "recordingtypes.h"
#include "programtypeflags.h"
Go to the source code of this file.
Macros | |
#define | DEFINE_FLAGS_ENUM |
Typedefs | |
using | frm_pos_map_t = QMap< long long, long long > |
Frame # -> File offset map. More... | |
using | stringMarkMap = std::map< QString, MarkTypes > |
using | frm_dir_map_t = QMap< uint64_t, MarkTypes > |
Frame # -> Mark map. More... | |
Functions | |
MBASE_PUBLIC QString | toString (MarkTypes type) |
MBASE_PUBLIC MarkTypes | markTypeFromString (const QString &str) |
MBASE_PUBLIC QString | SkipTypeToString (int flags) |
MBASE_PUBLIC std::deque< int > | GetPreferredSkipTypeCombinations (void) |
MBASE_PUBLIC QString | toString (AvailableStatusType status) |
Variables | |
const MBASE_PUBLIC QString | kPlayerInUseID |
const MBASE_PUBLIC QString | kPIPPlayerInUseID |
const MBASE_PUBLIC QString | kPBPPlayerInUseID |
const MBASE_PUBLIC QString | kImportRecorderInUseID |
const MBASE_PUBLIC QString | kRecorderInUseID |
const MBASE_PUBLIC QString | kFileTransferInUseID |
const MBASE_PUBLIC QString | kTruncatingDeleteInUseID |
const MBASE_PUBLIC QString | kFlaggerInUseID |
const MBASE_PUBLIC QString | kTranscoderInUseID |
const MBASE_PUBLIC QString | kPreviewGeneratorInUseID |
const MBASE_PUBLIC QString | kJobQueueInUseID |
const MBASE_PUBLIC QString | kCCExtractorInUseID |
static stringMarkMap | MarkTypeStrings |
#define DEFINE_FLAGS_ENUM |
Definition at line 163 of file programtypes.h.
using frm_pos_map_t = QMap<long long, long long> |
Frame # -> File offset map.
Definition at line 45 of file programtypes.h.
using stringMarkMap = std::map<QString, MarkTypes> |
Definition at line 82 of file programtypes.h.
using frm_dir_map_t = QMap<uint64_t, MarkTypes> |
Frame # -> Mark map.
Definition at line 118 of file programtypes.h.
enum MarkTypes : std::int16_t |
Definition at line 47 of file programtypes.h.
enum CommFlagStatus : std::uint8_t |
Enumerator | |
---|---|
COMM_FLAG_NOT_FLAGGED | |
COMM_FLAG_DONE | |
COMM_FLAG_PROCESSING | |
COMM_FLAG_COMMFREE |
Definition at line 120 of file programtypes.h.
enum SkipType : std::int16_t |
This is used as a bitmask.
Definition at line 128 of file programtypes.h.
enum TranscodingStatus : std::uint8_t |
Enumerator | |
---|---|
TRANSCODING_NOT_TRANSCODED | |
TRANSCODING_COMPLETE | |
TRANSCODING_RUNNING |
Definition at line 157 of file programtypes.h.
enum ProgramInfoType : std::uint8_t |
Enumerator | |
---|---|
kProgramInfoTypeRecording | |
kProgramInfoTypeVideoFile | |
kProgramInfoTypeVideoDVD | |
kProgramInfoTypeVideoStreamingHTML | |
kProgramInfoTypeVideoStreamingRTSP | |
kProgramInfoTypeVideoBD |
Definition at line 167 of file programtypes.h.
enum AvailableStatusType : std::uint8_t |
Enumerator | |
---|---|
asAvailable | |
asNotYetAvailable | |
asPendingDelete | |
asFileNotFound | |
asZeroByte | |
asDeleted |
Definition at line 176 of file programtypes.h.
enum WatchListStatus : std::int8_t |
Enumerator | |
---|---|
wlDeleted | |
wlEarlier | |
wlWatched | |
wlExpireOff |
Definition at line 186 of file programtypes.h.
enum AutoExpireType : std::uint16_t |
Enumerator | |
---|---|
kDisableAutoExpire | |
kNormalAutoExpire | |
kDeletedAutoExpire | |
kLiveTVAutoExpire |
Definition at line 193 of file programtypes.h.
MBASE_PUBLIC QString toString | ( | MarkTypes | type | ) |
Definition at line 29 of file programtypes.cpp.
MBASE_PUBLIC MarkTypes markTypeFromString | ( | const QString & | str | ) |
Definition at line 68 of file programtypes.cpp.
Referenced by Dvr::SetRecordedMarkup(), and V2Dvr::SetRecordedMarkup().
MBASE_PUBLIC QString SkipTypeToString | ( | int | flags | ) |
Definition at line 91 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), CommMethod::CommMethod(), and V2Channel::GetCommMethodList().
MBASE_PUBLIC std::deque<int> GetPreferredSkipTypeCombinations | ( | void | ) |
Definition at line 129 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), CommMethod::CommMethod(), and V2Channel::GetCommMethodList().
MBASE_PUBLIC QString toString | ( | AvailableStatusType | status | ) |
Definition at line 76 of file programtypes.cpp.
const MBASE_PUBLIC QString kPlayerInUseID |
Definition at line 16 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), ProgramInfo::MarkAsInUse(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and TV::ShowOSDPromptDeleteRecording().
const MBASE_PUBLIC QString kPIPPlayerInUseID |
Definition at line 17 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MBASE_PUBLIC QString kPBPPlayerInUseID |
Definition at line 18 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MBASE_PUBLIC QString kImportRecorderInUseID |
Definition at line 19 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and ImportRecorder::run().
const MBASE_PUBLIC QString kRecorderInUseID |
Definition at line 20 of file programtypes.cpp.
Referenced by TVRec::CreateLiveTVRingBuffer(), Scheduler::FillRecordingDir(), ProgramInfo::MarkAsInUse(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), TVRec::RingBufferChanged(), TV::ShowOSDPromptDeleteRecording(), TVRec::StartRecording(), TVRec::SwitchLiveTVRingBuffer(), TVRec::SwitchRecordingRingBuffer(), TVRec::TeardownRecorder(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), and TVRec::TuningShutdowns().
const MBASE_PUBLIC QString kFileTransferInUseID |
Definition at line 21 of file programtypes.cpp.
Referenced by BEFileTransfer::BEFileTransfer(), FileTransfer::FileTransfer(), ProgramInfo::QueryIsInUse(), BEFileTransfer::~BEFileTransfer(), and FileTransfer::~FileTransfer().
const MBASE_PUBLIC QString kTruncatingDeleteInUseID |
Definition at line 22 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and MainServer::TruncateAndClose().
const MBASE_PUBLIC QString kFlaggerInUseID |
Definition at line 23 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), FlagCommercials(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and RebuildSeekTable().
const MBASE_PUBLIC QString kTranscoderInUseID |
Definition at line 24 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and Transcode::TranscodeFile().
const MBASE_PUBLIC QString kPreviewGeneratorInUseID |
Definition at line 25 of file programtypes.cpp.
Referenced by PreviewGenerator::GetScreenGrab(), PreviewGenerator::LocalPreviewRun(), and ProgramInfo::QueryIsInUse().
const MBASE_PUBLIC QString kJobQueueInUseID |
Definition at line 26 of file programtypes.cpp.
Referenced by JobQueue::ProcessJob(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and JobQueue::RemoveRunningJob().
const MBASE_PUBLIC QString kCCExtractorInUseID |
Definition at line 27 of file programtypes.cpp.
Referenced by RunCCExtract().
|
static |
Definition at line 83 of file programtypes.h.
Referenced by markTypeFromString().