/* * Copyright 2023 jacqueline * * SPDX-License-Identifier: GPL-3.0-only */ #pragma once #include #include #include #include #include "ff.h" namespace database { class IFileGatherer { public: virtual ~IFileGatherer(){}; virtual auto FindFiles( const std::string& root, std::function cb) -> void = 0; }; class FileGathererImpl : public IFileGatherer { public: virtual auto FindFiles( const std::string& root, std::function cb) -> void override; }; } // namespace database