1 #ifndef VIDEO_SCANNER_H 2 #define VIDEO_SCANNER_H 11 #include <QCoreApplication> 27 void doScan(
const QStringList &dirs);
45 QList<int>dels) : QEvent(kEventType),
46 additions(adds), moved(movs),
66 void SetDirs(QStringList dirs);
67 void SetHosts(
const QStringList &hosts);
72 void ResetCounts() { m_addList.clear(); m_movList.clear(); m_delList.clear(); };
82 typedef std::vector<std::pair<unsigned int, QString> >
PurgeList;
85 void removeOrphans(
unsigned int id,
const QString &filename);
89 bool buildFileList(
const QString &directory,
90 const QStringList &imageExtensions,
94 QString messsage = QString());
This is a wrapper around QThread that does several additional things.
virtual void run(void)
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
class VideoScannerThread * m_scanThread
MythUIProgressDialog * m_dialog
VideoScanChanges(QList< int > adds, QList< int > movs, QList< int >dels)
QStringList m_liveSGHosts
std::vector< std::pair< unsigned int, QString > > PurgeList
std::map< QString, CheckStruct > FileCheckList
QStringList GetOfflineSGHosts(void)
VideoMetadataListManager * m_dbmetadata
QStringList m_directories
QStringList m_offlineSGHosts
void SetProgressDialog(MythUIProgressDialog *dialog)