|
vdr 2.6.1
|
#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 244 of file recording.c.
References esyslog, fileName, isPesRecording, itoa(), MALLOC, RESUMEFILESUFFIX, cSetup::ResumeID, and Setup.
| cResumeFile::~cResumeFile | ( | ) |
Definition at line 257 of file recording.c.
References fileName.
| void cResumeFile::Delete | ( | void | ) |
Definition at line 337 of file recording.c.
References fileName, LOCK_RECORDINGS_WRITE, and LOG_ERROR_STR.
Referenced by cIndexFile::cIndexFile(), cSVDRPServer::CmdPLAY(), cMenuRecordingEdit::Delete(), and cMenuRecordings::Rewind().
| int cResumeFile::Read | ( | void | ) |
Definition at line 262 of file recording.c.
References fileName, isPesRecording, LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().
Referenced by cIndexFile::GetResume(), cRecording::GetResume(), and cMenuRecordingEdit::SetHelpKeys().
| bool cResumeFile::Save | ( | int | Index | ) |
Definition at line 307 of file recording.c.
References fileName, isPesRecording, LOCK_RECORDINGS_WRITE, LOG_ERROR_STR, and safe_write().
Referenced by cSVDRPServer::CmdPLAY(), and cIndexFile::StoreResume().
|
private |
Definition at line 53 of file recording.h.
Referenced by cResumeFile(), Delete(), Read(), Save(), and ~cResumeFile().
|
private |
Definition at line 54 of file recording.h.
Referenced by cResumeFile(), Read(), and Save().