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:
[CST] Focus
2012-08-07 12:07:18 +04:00
parent e245f581ca
commit d87c9b8b4c
2 changed files with 61 additions and 13 deletions

View File

@@ -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);