Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tangara-fw/src/database/include/file_gatherer.hpp

29 lines
563 B

2 years ago
#pragma once
#include <deque>
#include <functional>
#include <sstream>
#include <string>
#include "ff.h"
namespace database {
class IFileGatherer {
public:
virtual ~IFileGatherer(){};
virtual auto FindFiles(const std::string& root,
std::function<void(const std::string&)> cb)
-> void = 0;
};
class FileGathererImpl : public IFileGatherer {
public:
virtual auto FindFiles(const std::string& root,
std::function<void(const std::string&)> cb)
-> void override;
};
2 years ago
} // namespace database