30 #ifndef CHANNEL_SCANNER_H
31 #define CHANNEL_SCANNER_H
34 #include <QCoreApplication>
37 #include "libmythbase/mythconfig.h"
51 #if !defined( _WIN32 )
61 class ExternRecChannelFetcher;
79 void Scan(
int scantype,
81 const QString &inputname,
83 bool do_ignore_signal_timeout,
85 bool do_test_decryption,
88 bool do_complete_only,
89 bool do_full_channel_search,
90 bool do_remove_duplicates,
95 const QMap<QString,QString> &startChan,
96 const QString &freq_std,
99 const QString &tbl_start = QString(),
100 const QString &tbl_end = QString());
105 virtual
bool ImportM3U(
uint cardid, const QString &inputname,
106 uint sourceid,
bool is_mpts);
107 virtual
bool ImportVBox(
uint cardid, const QString &inputname,
uint sourceid,
109 virtual
bool ImportExternRecorder(
uint cardid, const QString &inputname,
111 virtual
bool ImportHDHR(
uint cardid, const QString &inputname,
uint sourceid,
115 virtual
void Teardown(
void);
117 virtual
void PreScanCommon(
118 int scantype,
uint cardid,
119 const QString &inputname,
120 uint sourceid,
bool do_ignore_signal_timeout,
121 bool do_test_decryption);
123 virtual
void MonitorProgress(
124 bool ,
bool ,
bool ,
bool ) { }
127 virtual void InformUser(
const QString &) = 0;
145 #if !defined( _WIN32 )
154 bool m_freeToAirOnly {
false};
157 bool m_channelNumbersOnly {
false};
160 bool m_completeOnly {
false};
163 bool m_fullSearch {
false};
166 bool m_removeDuplicates {
false};
169 bool m_addFullTS {
false};
177 #endif // CHANNEL_SCANNER_H