mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
driver/scanepg.cpp: add support to scan selected bouquets;
add support to scan epg in live or standby or always
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user