mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +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
Origin commit data
------------------
Commit: d87c9b8b4c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-08-07 (Tue, 07 Aug 2012)
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