#ifndef DIRSCAN_H_
#define DIRSCAN_H_

#include "mythmetaexp.h"

class META_PUBLIC DirectoryHandler
{
  public:
    virtual ~DirectoryHandler() = default;
    virtual DirectoryHandler *newDir(const QString &dir_name,
                                     const QString &fq_dir_name) = 0;
    virtual void handleFile(const QString &file_name,
                            const QString &fq_file_name,
                            const QString &extension,
                            const QString &host) = 0;
};

META_PUBLIC bool ScanVideoDirectory(const QString &start_path, DirectoryHandler *handler,
        const FileAssociations::ext_ignore_list &ext_disposition,
        bool list_unknown_extensions);

#endif // DIRSCAN_H_
