1 #ifndef DB_CHANNEL_INFO_H_
2 #define DB_CHANNEL_INFO_H_
39 QString _name, QString _icon,
45 {
return m_chanId == chanid; }
47 bool Load(
uint lchanid = -1);
53 QString GetSourceName();
61 if (!m_groupIdList.contains(lgroupid))
62 m_groupIdList.push_back(lgroupid);
73 if (!m_inputIdList.contains(linputid))
74 m_inputIdList.push_back(linputid);
98 int m_recPriority {0};
108 bool m_useOnAirGuide {
false};
119 int m_commMethod {-1};
139 uint _channel_id, QString _callsign,
140 QString _service_name, QString _chan_num,
143 uint _atsc_major_channel,
uint _atsc_minor_channel,
144 bool _use_on_air_guide,
bool _hidden,
145 bool _hidden_in_guide,
147 QString _freqid, QString _icon,
148 QString _format, QString _xmltvid,
151 uint _vct_chan_tsid,
uint _sdt_tsid,
155 QString _si_standard,
157 bool _in_channels_conf,
bool _in_pat,
158 bool _in_pmt,
bool _in_vct,
159 bool _in_nit,
bool _in_sdt,
161 bool _is_encrypted,
bool _is_data_service,
162 bool _is_audio_service,
bool _is_opencable,
163 bool _could_be_opencable,
int _decryption_status,
164 QString _default_authority,
uint _service_type,
165 uint _logical_channel,
uint _simulcast_channel ) :
166 m_dbMplexId(_db_mplexid),
167 m_sourceId(_source_id),
168 m_channelId(_channel_id),
169 m_callSign(std::move(_callsign)),
170 m_serviceName(std::move(_service_name)),
171 m_chanNum(std::move(_chan_num)),
172 m_serviceId(_service_id),
173 m_serviceType(_service_type),
174 m_atscMajorChannel(_atsc_major_channel),
175 m_atscMinorChannel(_atsc_minor_channel),
176 m_useOnAirGuide(_use_on_air_guide),
178 m_hiddenInGuide(_hidden_in_guide),
179 m_freqId(std::move(_freqid)),
180 m_icon(std::move(_icon)),
181 m_format(std::move(_format)),
182 m_xmltvId(std::move(_xmltvid)),
183 m_defaultAuthority(std::move(_default_authority)),
184 m_patTsId(_pat_tsid),
185 m_vctTsId(_vct_tsid),
186 m_vctChanTsId(_vct_chan_tsid),
187 m_sdtTsId(_sdt_tsid),
188 m_origNetId(_orig_netid),
190 m_siStandard(std::move(_si_standard)),
191 m_inChannelsConf(_in_channels_conf),
197 m_isEncrypted(_is_encrypted),
198 m_isDataService(_is_data_service),
199 m_isAudioService(_is_audio_service),
200 m_isOpencable(_is_opencable),
201 m_couldBeOpencable(_could_be_opencable),
202 m_decryptionStatus(_decryption_status),
203 m_logicalChannel(_logical_channel),
204 m_simulcastChannel(_simulcast_channel) {}
226 bool m_useOnAirGuide {
false};
227 bool m_hidden {
false};
228 bool m_hiddenInGuide {
false};
244 bool m_inChannelsConf {
false};
245 bool m_inPat {
false};
246 bool m_inPmt {
false};
247 bool m_inVct {
false};
248 bool m_inNit {
false};
249 bool m_inSdt {
false};
250 bool m_isEncrypted {
false};
251 bool m_isDataService {
false};
252 bool m_isAudioService {
false};
253 bool m_isOpencable {
false};
254 bool m_couldBeOpencable {
false};
255 int m_decryptionStatus {0};
268 #endif // DB_CHANNEL_INFO_H_