vdr
2.0.4
|
#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 35 of file recording.h.
cResumeFile::cResumeFile | ( | const char * | FileName, |
bool | IsPesRecording | ||
) |
Definition at line 221 of file recording.c.
References esyslog, fileName, isPesRecording, itoa(), MALLOC, RESUMEFILESUFFIX, cSetup::ResumeID, and Setup.
cResumeFile::~cResumeFile | ( | ) |
Definition at line 234 of file recording.c.
References fileName.
void cResumeFile::Delete | ( | void | ) |
Definition at line 312 of file recording.c.
References fileName, LOG_ERROR_STR, Recordings, and cRecordings::ResetResume().
Referenced by cIndexFile::cIndexFile(), cSVDRP::CmdPLAY(), cMenuEditRecording::ProcessKey(), and cMenuRecordings::Rewind().
int cResumeFile::Read | ( | void | ) |
Definition at line 239 of file recording.c.
References fileName, isPesRecording, LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().
Referenced by cRecording::GetResume(), and cIndexFile::GetResume().
bool cResumeFile::Save | ( | int | Index | ) |
Definition at line 284 of file recording.c.
References fileName, isPesRecording, LOG_ERROR_STR, Recordings, cRecordings::ResetResume(), and safe_write().
Referenced by cIndexFile::StoreResume().
|
private |
Definition at line 37 of file recording.h.
Referenced by cResumeFile(), Delete(), Read(), Save(), and ~cResumeFile().
|
private |
Definition at line 38 of file recording.h.
Referenced by cResumeFile(), Read(), and Save().