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,
113 kDVBNonConflicting = 1,
114 kSCTENonConflicting = 2,
115 kMPEGNonConflicting = 3,
116 kNTSCNonConflicting = 4,
117 kChannelTypeNonConflictingLast = kNTSCNonConflicting,
119 kChannelTypeConflictingFirst = 5,
120 kATSCConflicting = kChannelTypeConflictingFirst,
122 kSCTEConflicting = 7,
123 kMPEGConflicting = 8,
124 kNTSCConflicting = 9,
125 kChannelTypeConflictingLast = kNTSCConflicting,
126 kChannelTypeLast = kChannelTypeConflictingLast,
141 uint DeleteUnusedTransports(
uint sourceid);
163 DeleteAction QueryUserDelete(
const QString &msg);
166 InsertAction QueryUserInsert(
const QString &msg);
169 UpdateAction QueryUserUpdate(
const QString &msg);
181 static QString ComputeSuggestedChannelNum(
185 const QString& title,
186 const QString& message, QString &text);
189 const QString& title,
190 const QString& message, QString &text);
201 static QString FormatChannels(
205 static QString FormatChannel(
210 static QString SimpleFormatChannel(
214 static QString FormatTransport(
217 static QString FormatTransports(
220 static QString GetSummary(
228 static void CountChannels(
233 static int SimpleCountChannels(
236 static bool CheckChannelNumber(
240 static void AddChanToCopy(
248 bool m_useWeb {
false};
254 bool m_ftaOnly {
true};
255 bool m_lcnOnly {
false};
256 bool m_completeOnly {
true};
257 bool m_keepChannelNumbers {
true};
258 bool m_fullChannelSearch {
false};
259 bool m_removeDuplicates {
false};
260 bool m_success {
false};
262 int m_functorRetval {0};
269 #endif // CHANNEL_IMPORTER_H