vdr 2.7.9
cResumeFile Class Reference

#include <recording.h>

Public Member Functions

 cResumeFile (const char *FileName, bool IsPesRecording)
 ~cResumeFile ()
time_t FileTime (void)
int Index (void)
int Read (void)
bool Save (int Index)
void Reset (void)
void Delete (void)

Private Attributes

char * fileName
time_t fileTime
int index
bool isPesRecording

Detailed Description

Definition at line 52 of file recording.h.

Constructor & Destructor Documentation

◆ cResumeFile()

cResumeFile::cResumeFile ( const char * FileName,
bool IsPesRecording )

◆ ~cResumeFile()

cResumeFile::~cResumeFile ( )

Definition at line 259 of file recording.c.

References fileName.

Member Function Documentation

◆ Delete()

void cResumeFile::Delete ( void )

Definition at line 370 of file recording.c.

References fileName, LOCK_RECORDINGS_WRITE, and LOG_ERROR_STR.

Referenced by cSVDRPServer::CmdPLAY(), and cMenuRecordingEdit::Delete().

◆ FileTime()

time_t cResumeFile::FileTime ( void )

Definition at line 264 of file recording.c.

References fileTime, index, Read(), and RESUME_NOT_INITIALIZED.

◆ Index()

int cResumeFile::Index ( void )

Definition at line 271 of file recording.c.

References index, Read(), and RESUME_NOT_INITIALIZED.

Referenced by Save().

◆ Read()

int cResumeFile::Read ( void )

◆ Reset()

void cResumeFile::Reset ( void )

Definition at line 365 of file recording.c.

References index, and RESUME_NOT_INITIALIZED.

◆ Save()

bool cResumeFile::Save ( int Index)

Member Data Documentation

◆ fileName

char* cResumeFile::fileName
private

Definition at line 54 of file recording.h.

Referenced by cResumeFile(), Delete(), Read(), Save(), and ~cResumeFile().

◆ fileTime

time_t cResumeFile::fileTime
private

Definition at line 55 of file recording.h.

Referenced by cResumeFile(), FileTime(), Read(), and Save().

◆ index

int cResumeFile::index
private

Definition at line 56 of file recording.h.

Referenced by cResumeFile(), FileTime(), Index(), Read(), Reset(), and Save().

◆ isPesRecording

bool cResumeFile::isPesRecording
private

Definition at line 57 of file recording.h.

Referenced by cResumeFile(), Read(), and Save().


The documentation for this class was generated from the following files: