driver/scanepg.cpp: add support to scan selected bouquets;

add support to scan epg in live or standby or always


Origin commit data
------------------
Branch: ni/coolstream
Commit: 992ee59685
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-27 (Thu, 27 Mar 2014)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-03-27 18:56:38 +04:00
parent 12b7731368
commit 2dfddb596c
2 changed files with 97 additions and 23 deletions

View File

@@ -28,11 +28,24 @@ typedef eit_scanmap_t::iterator eit_scanmap_iterator_t;
class CEpgScan
{
public:
enum {
SCAN_OFF,
SCAN_CURRENT,
SCAN_FAV,
SCAN_SEL
};
enum {
MODE_LIVE = 0x1,
MODE_STANDBY = 0x2,
MODE_ALWAYS = 0x3
};
private:
int current_bnum;
int current_mode;
int current_bmode;
bool allfav_done;
bool selected_done;
bool standby;
eit_scanmap_t scanmap;
t_channel_id next_chid;
@@ -43,8 +56,11 @@ class CEpgScan
void AddBouquet(CChannelList * clist);
bool AddFavorites();
bool AddSelected();
void AddTransponders();
void EnterStandby();
bool CheckMode();
void AddTimer();
CEpgScan();
public: