diff --git a/src/zapit/include/zapit/channel.h b/src/zapit/include/zapit/channel.h index 12df7660a..8842edee6 100644 --- a/src/zapit/include/zapit/channel.h +++ b/src/zapit/include/zapit/channel.h @@ -165,6 +165,11 @@ class CZapitChannel friend class CChannelList; public: + typedef enum channel_flags { + NEW = 0x01, + REMOVED = 0x02, + UPDATED = 0x03 + } channel_flags_t; casys_map_t camap; bool bAlwaysLocked; @@ -177,6 +182,7 @@ class CZapitChannel char * pname; bool has_bouquet; uint8_t polarization; + int flags; /* constructor, desctructor */ CZapitChannel(const std::string & p_name, t_service_id p_sid, t_transport_stream_id p_tsid, t_original_network_id p_onid, unsigned char p_service_type, t_satellite_position p_satellite_position, freq_id_t freq); diff --git a/src/zapit/src/channel.cpp b/src/zapit/src/channel.cpp index 8e9bb4348..7499e2b86 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -66,6 +66,7 @@ void CZapitChannel::Init() has_bouquet = false; record_demux = 2; polarization = 0; + flags = 0; } CZapitChannel::~CZapitChannel(void)