vdr 2.7.5
|
#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 52 of file recording.h.
cResumeFile::cResumeFile | ( | const char * | FileName, |
bool | IsPesRecording ) |
Definition at line 242 of file recording.c.
References esyslog, fileName, isPesRecording, itoa(), MALLOC, RESUMEFILESUFFIX, and Setup.
cResumeFile::~cResumeFile | ( | ) |
Definition at line 255 of file recording.c.
References fileName.
void cResumeFile::Delete | ( | void | ) |
Definition at line 343 of file recording.c.
References fileName, LOCK_RECORDINGS_WRITE, and LOG_ERROR_STR.
Referenced by cSVDRPServer::CmdPLAY(), cMenuRecordingEdit::Delete(), and cMenuRecordings::Rewind().
int cResumeFile::Read | ( | void | ) |
Definition at line 260 of file recording.c.
References fileName, isPesRecording, LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().
Referenced by cRecording::GetResume(), and cMenuRecordingEdit::SetHelpKeys().
bool cResumeFile::Save | ( | int | Index | ) |
Definition at line 305 of file recording.c.
References fileName, cRecordings::GetRecordingsWrite(), isPesRecording, LOG_ERROR_STR, cStateKey::Remove(), and safe_write().
Referenced by cSVDRPServer::CmdPLAY().
|
private |
Definition at line 54 of file recording.h.
Referenced by cResumeFile(), Delete(), Read(), Save(), and ~cResumeFile().
|
private |
Definition at line 55 of file recording.h.
Referenced by cResumeFile(), Read(), and Save().