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

block scan if recording is running;
experimental, needs more testing
This commit is contained in:
[CST] Focus
2013-10-10 18:59:19 +04:00
parent 6bfa59e506
commit 201fb60262
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