vdr
1.7.27
|
#include <recording.h>
Public Member Functions | |
bool | Load (const char *RecordingFileName, double FramesPerSecond=DEFAULTFRAMESPERSECOND, bool IsPesRecording=false) |
bool | Update (void) |
void | Sort (void) |
cMark * | Add (int Position) |
cMark * | Get (int Position) |
cMark * | GetPrev (int Position) |
cMark * | GetNext (int Position) |
bool | Load (const char *RecordingFileName, double FramesPerSecond=DEFAULTFRAMESPERSECOND, bool IsPesRecording=false) |
bool | Update (void) |
void | Sort (void) |
cMark * | Add (int Position) |
cMark * | Get (int Position) |
cMark * | GetPrev (int Position) |
cMark * | GetNext (int Position) |
Private Attributes | |
cString | fileName |
double | framesPerSecond |
time_t | nextUpdate |
time_t | lastFileTime |
time_t | lastChange |
Definition at line 229 of file include/vdr/recording.h.
cMark * cMarks::Add | ( | int | Position | ) |
Definition at line 1394 of file recording.c.
References framesPerSecond, Get(), and Sort().
Referenced by cCuttingThread::Action(), and cReplayControl::MarkToggle().
cMark* cMarks::Add | ( | int | Position | ) |
cMark * cMarks::Get | ( | int | Position | ) |
Definition at line 1404 of file recording.c.
References cList< cMark >::First(), and cList< cMark >::Next().
Referenced by cDvbPlayer::Action(), Add(), cReplayControl::EditTest(), cReplayControl::MarkMove(), and cReplayControl::MarkToggle().
cMark* cMarks::Get | ( | int | Position | ) |
cMark * cMarks::GetNext | ( | int | Position | ) |
Definition at line 1422 of file recording.c.
References cList< cMark >::First(), and cList< cMark >::Next().
Referenced by cReplayControl::EditTest(), and cReplayControl::MarkJump().
cMark* cMarks::GetNext | ( | int | Position | ) |
cMark* cMarks::GetPrev | ( | int | Position | ) |
cMark * cMarks::GetPrev | ( | int | Position | ) |
Definition at line 1413 of file recording.c.
References cList< cMark >::Last(), and cList< cMark >::Prev().
Referenced by cReplayControl::MarkJump().
bool cMarks::Load | ( | const char * | RecordingFileName, |
double | FramesPerSecond = DEFAULTFRAMESPERSECOND , |
||
bool | IsPesRecording = false |
||
) |
bool cMarks::Load | ( | const char * | RecordingFileName, |
double | FramesPerSecond = DEFAULTFRAMESPERSECOND , |
||
bool | IsPesRecording = false |
||
) |
Definition at line 1342 of file recording.c.
References AddDirectory(), fileName, framesPerSecond, lastChange, lastFileTime, MARKSFILESUFFIX, nextUpdate, and Update().
Referenced by cCuttingThread::cCuttingThread(), cDvbPlayer::cDvbPlayer(), cSVDRP::CmdEDIT(), cMenuEditRecording::cMenuEditRecording(), cReplayControl::cReplayControl(), CutRecording(), cMenuEditRecording::ProcessKey(), and cCutter::Start().
void cMarks::Sort | ( | void | ) |
Reimplemented from cListBase.
void cMarks::Sort | ( | void | ) |
Reimplemented from cListBase.
Definition at line 1382 of file recording.c.
References cList< cMark >::First(), cList< cMark >::Next(), and swap().
bool cMarks::Update | ( | void | ) |
Definition at line 1352 of file recording.c.
References fileName, framesPerSecond, lastChange, lastFileTime, LastModifiedTime(), MarkFramesPerSecond, nextUpdate, and Sort().
Referenced by cDvbPlayer::Action(), Load(), and cReplayControl::ProcessKey().
bool cMarks::Update | ( | void | ) |
cString cMarks::fileName [private] |
Reimplemented from cConfig< cMark >.
Definition at line 231 of file include/vdr/recording.h.
double cMarks::framesPerSecond [private] |
Definition at line 232 of file include/vdr/recording.h.
time_t cMarks::lastChange [private] |
Definition at line 235 of file include/vdr/recording.h.
time_t cMarks::lastFileTime [private] |
Definition at line 234 of file include/vdr/recording.h.
time_t cMarks::nextUpdate [private] |
Definition at line 233 of file include/vdr/recording.h.