#ifndef LIGHTMEDIASCANNER_H
#define LIGHTMEDIASCANNER_H
+#include <QtCore/QDir>
+#include <QtCore/QUrl>
+#include <QtCore/QFileInfo>
#include <QtCore/QDebug>
+#include <QtCore/QStandardPaths>
#include <QtCore/QString>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlRecord>
class LightMediaScanner {
public:
LightMediaScanner(const QString& path);
+ ~LightMediaScanner();
bool next(QString& item);
+ static QVariantList processLightMediaScanner();
private:
QSqlDatabase lms;
QSqlQuery query;