9 #ifndef CHANNEL_IMPORTER_H
10 #define CHANNEL_IMPORTER_H
19 #include <QCoreApplication>
77 bool _delete,
bool insert,
bool save,
78 bool fta_only,
bool lcn_only,
bool complete_only,
79 bool full_channel_search,
80 bool remove_duplicates,
82 bool success =
false);
109 kChannelTypeFirst = 0,
111 kChannelTypeNonConflictingFirst = kChannelTypeFirst,
112 kATSCNonConflicting = kChannelTypeFirst,
117 kChannelTypeNonConflictingLast = kNTSCNonConflicting,
120 kATSCConflicting = kChannelTypeConflictingFirst,
125 kChannelTypeConflictingLast = kNTSCConflicting,
126 kChannelTypeLast = kChannelTypeConflictingLast,
140 uint DeleteUnusedTransports(
uint sourceid);
162 DeleteAction QueryUserDelete(
const QString &msg);
165 InsertAction QueryUserInsert(
const QString &msg);
168 UpdateAction QueryUserUpdate(
const QString &msg);
180 static QString ComputeSuggestedChannelNum(
184 const QString& title,
185 const QString& message, QString &text);
188 const QString& title,
189 const QString& message, QString &text);
200 static QString FormatChannels(
204 static QString FormatChannel(
209 static QString SimpleFormatChannel(
213 static QString FormatTransport(
216 static QString FormatTransports(
219 static QString GetSummary(
227 static void CountChannels(
232 static int SimpleCountChannels(
235 static bool CheckChannelNumber(
239 static void AddChanToCopy(
247 bool m_useWeb {
false};
251 bool m_ftaOnly {
true};
252 bool m_lcnOnly {
false};
253 bool m_completeOnly {
true};
254 bool m_keepChannelNumbers {
true};
255 bool m_fullChannelSearch {
false};
256 bool m_removeDuplicates {
false};
257 bool m_success {
false};
258 int m_functorRetval {0};
265 #endif // CHANNEL_IMPORTER_H