30 #ifndef CHANNEL_SCANNER_H
31 #define CHANNEL_SCANNER_H
34 #include <QCoreApplication>
47 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
53 class ExternRecChannelFetcher;
71 void Scan(
int scantype,
73 const QString &inputname,
75 bool do_ignore_signal_timeout,
77 bool do_test_decryption,
80 bool do_complete_only,
81 bool do_full_channel_search,
82 bool do_remove_duplicates,
87 const QMap<QString,QString> &startChan,
88 const QString &freq_std,
91 const QString &tbl_start = QString(),
92 const QString &tbl_end = QString());
95 uint sourceid,
int cardtype, const QString &
file);
97 virtual
bool ImportM3U(
uint cardid, const QString &inputname,
98 uint sourceid,
bool is_mpts);
99 virtual
bool ImportVBox(
uint cardid, const QString &inputname,
uint sourceid,
101 virtual
bool ImportExternRecorder(
uint cardid, const QString &inputname,
105 virtual
void Teardown(
void);
107 virtual
void PreScanCommon(
108 int scantype,
uint cardid,
109 const QString &inputname,
110 uint sourceid,
bool do_ignore_signal_timeout,
111 bool do_test_decryption);
113 virtual
void MonitorProgress(
114 bool ,
bool ,
bool ,
bool ) { }
117 virtual void InformUser(
const QString &) = 0;
135 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
140 bool m_freeToAirOnly {
false};
143 bool m_channelNumbersOnly {
false};
146 bool m_completeOnly {
false};
149 bool m_fullSearch {
false};
152 bool m_removeDuplicates {
false};
155 bool m_addFullTS {
false};
163 #endif // CHANNEL_SCANNER_H