src/driver/scanepg.cpp: add support for standby epg scan;

block scan if recording is running;
experimental, needs more testing


Origin commit data
------------------
Commit: 201fb60262
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-10 (Thu, 10 Oct 2013)
This commit is contained in:
[CST] Focus
2013-10-10 18:59:19 +04:00
parent 8e25c33526
commit f275d04349
2 changed files with 106 additions and 38 deletions

View File

@@ -32,12 +32,14 @@ class CEpgScan
int current_bnum;
int current_mode;
bool allfav_done;
bool standby;
eit_scanmap_t scanmap;
t_channel_id next_chid;
std::set<transponder_id_t> scanned;
void Next();
void AddBouquet(CChannelList * clist);
bool AddFavorites();
void AddTransponders();
void EnterStandby();
CEpgScan();
public:
@@ -45,7 +47,11 @@ class CEpgScan
static CEpgScan * getInstance();
void handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data);
void Next();
void Clear();
void StartStandby();
void StopStandby();
bool Running();
};
#endif