vdr
2.2.0
|
#include <recording.h>
Public Member Functions | |
cResumeFile (const char *FileName, bool IsPesRecording) | |
~cResumeFile () | |
int | Read (void) |
bool | Save (int Index) |
void | Delete (void) |
Private Attributes | |
char * | fileName |
bool | isPesRecording |
Definition at line 51 of file recording.h.
cResumeFile::cResumeFile | ( | const char * | FileName, |
bool | IsPesRecording | ||
) |
Definition at line 240 of file recording.c.
References esyslog, itoa(), MALLOC, RESUMEFILESUFFIX, cSetup::ResumeID, and Setup.
cResumeFile::~cResumeFile | ( | ) |
Definition at line 253 of file recording.c.
void cResumeFile::Delete | ( | void | ) |
Definition at line 331 of file recording.c.
References LOG_ERROR_STR, Recordings, and cRecordings::ResetResume().
Referenced by cIndexFile::cIndexFile(), cSVDRP::CmdPLAY(), cMenuRecordingEdit::Delete(), cRecording::IsPesRecording(), cMenuRecordings::Rewind(), and cIndexFile::StoreResume().
int cResumeFile::Read | ( | void | ) |
Definition at line 258 of file recording.c.
References LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().
Referenced by cRecordingInfo::FramesPerSecond(), cRecording::GetResume(), and cIndexFile::GetResume().
bool cResumeFile::Save | ( | int | Index | ) |
Definition at line 303 of file recording.c.
References LOG_ERROR_STR, Recordings, cRecordings::ResetResume(), and safe_write().
Referenced by cMark::SetComment(), and cIndexFile::StoreResume().
|
private |
Definition at line 53 of file recording.h.
Referenced by cFileName::Name().
|
private |
Definition at line 54 of file recording.h.
Referenced by cRecording::IsPesRecording().