vdr
1.7.31
|
#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) |
![]() | |
cConfig (void) | |
cConfig (void) | |
virtual | ~cConfig () |
virtual | ~cConfig () |
const char * | FileName (void) |
const char * | FileName (void) |
bool | Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false) |
bool | Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false) |
bool | Save (void) |
bool | Save (void) |
![]() | |
cMark * | Get (int Index) const |
cMark * | Get (int Index) const |
cMark * | First (void) const |
cMark * | First (void) const |
cMark * | Last (void) const |
cMark * | Last (void) const |
cMark * | Prev (const cMark *object) const |
cMark * | Prev (const cMark *object) const |
cMark * | Next (const cMark *object) const |
cMark * | Next (const cMark *object) const |
![]() | |
virtual | ~cListBase () |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
virtual void | Move (int From, int To) |
void | Move (cListObject *From, cListObject *To) |
virtual void | Clear (void) |
int | Count (void) const |
virtual | ~cListBase () |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
virtual void | Move (int From, int To) |
void | Move (cListObject *From, cListObject *To) |
virtual void | Clear (void) |
int | Count (void) const |
Private Attributes | |
cString | fileName |
double | framesPerSecond |
time_t | nextUpdate |
time_t | lastFileTime |
time_t | lastChange |
Additional Inherited Members | |
![]() | |
cListBase (void) | |
cListBase (void) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
Definition at line 224 of file include/vdr/recording.h.
cMark * cMarks::Add | ( | int | Position | ) |
Definition at line 1421 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 1431 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 1449 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 1440 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 1369 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 1409 of file recording.c.
References cList< cMark >::First(), cList< cMark >::Next(), and swap().
bool cMarks::Update | ( | void | ) |
Definition at line 1379 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 | ) |
|
private |
Definition at line 226 of file include/vdr/recording.h.
|
private |
Definition at line 227 of file include/vdr/recording.h.
|
private |
Definition at line 230 of file include/vdr/recording.h.
|
private |
Definition at line 229 of file include/vdr/recording.h.
|
private |
Definition at line 228 of file include/vdr/recording.h.