30 #ifndef CHANNEL_SCANNER_H
31 #define CHANNEL_SCANNER_H
34 #include <QCoreApplication>
48 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
52 #ifdef USING_HDHOMERUN
58 class ExternRecChannelFetcher;
76 void Scan(
int scantype,
78 const QString &inputname,
80 bool do_ignore_signal_timeout,
82 bool do_test_decryption,
85 bool do_complete_only,
86 bool do_full_channel_search,
87 bool do_remove_duplicates,
92 const QMap<QString,QString> &startChan,
93 const QString &freq_std,
96 const QString &tbl_start = QString(),
97 const QString &tbl_end = QString());
100 uint sourceid,
int cardtype, const QString &
file);
102 virtual
bool ImportM3U(
uint cardid, const QString &inputname,
103 uint sourceid,
bool is_mpts);
104 virtual
bool ImportVBox(
uint cardid, const QString &inputname,
uint sourceid,
106 virtual
bool ImportExternRecorder(
uint cardid, const QString &inputname,
108 virtual
bool ImportHDHR(
uint cardid, const QString &inputname,
uint sourceid,
112 virtual
void Teardown(
void);
114 virtual
void PreScanCommon(
115 int scantype,
uint cardid,
116 const QString &inputname,
117 uint sourceid,
bool do_ignore_signal_timeout,
118 bool do_test_decryption);
120 virtual
void MonitorProgress(
121 bool ,
bool ,
bool ,
bool ) { }
124 virtual void InformUser(
const QString &) = 0;
142 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
146 #ifdef USING_HDHOMERUN
151 bool m_freeToAirOnly {
false};
154 bool m_channelNumbersOnly {
false};
157 bool m_completeOnly {
false};
160 bool m_fullSearch {
false};
163 bool m_removeDuplicates {
false};
166 bool m_addFullTS {
false};
174 #endif // CHANNEL_SCANNER_H