mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
driver/record.cpp: split record and timeshift,
return record mask in GetRecordMode(), comment almost unused tshift_mode - for menu enough to check is this timeshift or not
This commit is contained in:
@@ -162,6 +162,7 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
void StopInstance(CRecordInstance * inst, bool remove_event = true);
|
||||
CRecordInstance * FindInstance(t_channel_id);
|
||||
CRecordInstance * FindInstanceID(int recid);
|
||||
CRecordInstance * FindTimeshift();
|
||||
void SetTimeshiftMode(CRecordInstance * inst=NULL, int mode=TSHIFT_MODE_OFF);
|
||||
|
||||
public:
|
||||
@@ -189,7 +190,7 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
bool StartAutoRecord();
|
||||
bool StopAutoRecord(bool lock = true);
|
||||
|
||||
MI_MOVIE_INFO * GetMovieInfo(const t_channel_id channel_id);
|
||||
MI_MOVIE_INFO * GetMovieInfo(const t_channel_id channel_id, bool timeshift = true);
|
||||
const std::string GetFileName(const t_channel_id channel_id);
|
||||
|
||||
bool RunStartScript(void);
|
||||
|
Reference in New Issue
Block a user