mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino record: reworked some code parts from last multirec commits
- avoids using of boolean structures for record modes calls, handling of
enum calls from record manager class should be easier
- remove boolean structure from infoviewer
- use commonly member name for count of recordings,
GetRecordCount should be more plausible than GetRecmapSize
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1693 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: f63e3a532f
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-09-17 (Sat, 17 Sep 2011)
Origin message was:
------------------
*neutrino record: reworked some code parts from last multirec commits
- avoids using of boolean structures for record modes calls, handling of
enum calls from record manager class should be easier
- remove boolean structure from infoviewer
- use commonly member name for count of recordings,
GetRecordCount should be more plausible than GetRecmapSize
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1693 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -104,7 +104,7 @@ class CRecordInstance
|
||||
record_error_msg_t MakeFileName(CZapitChannel * channel);
|
||||
bool SaveXml();
|
||||
record_error_msg_t Start(CZapitChannel * channel /*, APIDList &apid_list*/);
|
||||
public:
|
||||
public:
|
||||
CRecordInstance(const CTimerd::RecordingInfo * const eventinfo, std::string &dir, bool timeshift = false, bool stream_vtxt_pid = false, bool stream_pmt_pid = false);
|
||||
~CRecordInstance();
|
||||
|
||||
@@ -156,6 +156,14 @@ class CRecordManager : public CMenuTarget, public CChangeObserver
|
||||
void SetTimeshiftMode(CRecordInstance * inst=NULL, int mode=TSHIFT_MODE_OFF);
|
||||
|
||||
public:
|
||||
enum record_modes_t
|
||||
{
|
||||
RECMODE_OFF = 0,
|
||||
RECMODE_REC = 1,
|
||||
RECMODE_TSHIFT = 2,
|
||||
RECMODE_REC_TSHIFT = 3,
|
||||
};
|
||||
|
||||
CRecordManager();
|
||||
~CRecordManager();
|
||||
|
||||
@@ -198,8 +206,9 @@ class CRecordManager : public CMenuTarget, public CChangeObserver
|
||||
int recordingstatus;
|
||||
bool doGuiRecord();
|
||||
bool changeNotify(const neutrino_locale_t OptionName, void * /*data*/);
|
||||
int GetRecmapSize() { return recmap.size(); };
|
||||
int GetRecordCount() { return recmap.size(); };
|
||||
bool IsTimeshift(t_channel_id channel_id=0);
|
||||
void StartTimeshift();
|
||||
int GetRecordMode();
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user