32#ifndef DTVCONFPARSER_H
33#define DTVCONFPARSER_H
76 enum class return_t : std::uint8_t { ERROR_CARDTYPE, ERROR_OPEN, ERROR_PARSE, OK };
77 enum class cardtype_t : std::uint8_t { ATSC, OFDM, QPSK, QAM, DVBS2, UNKNOWN };
88 bool ParseVDR(
const QStringList &tokens,
int channelNo = -1);
Parses dvb-utils channel scanner output files.
virtual ~DTVConfParser()=default
bool ParseConf(const QStringList &tokens)
DTVConfParser(cardtype_t type, uint sourceid, QString file)
bool ParseConfQAM(const QStringList &tokens)
DTVChannelList m_channels
DTVChannelList GetChannels(void) const
bool ParseConfOFDM(const QStringList &tokens)
bool ParseConfATSC(const QStringList &tokens)
void AddChannel(const DTVMultiplex &mux, DTVChannelInfo &chan)
bool ParseVDR(const QStringList &tokens, int channelNo=-1)
bool ParseConfQPSK(const QStringList &tokens)
DTVTransport(const DTVMultiplex &other)
DTVChannelInfoList channels
std::vector< DTVChannelInfo > DTVChannelInfoList
std::vector< DTVTransport > DTVChannelList