diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-10-13 15:29:06 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-10-13 15:29:06 +1100 |
| commit | ceba508593fbb2f897dfa6ba38ec3839e62d85a8 (patch) | |
| tree | f59acafa65e3acababa154c04a4a36870ea57857 /src/database/include/file_gatherer.hpp | |
| parent | afbf3c31f4d1a605c264f719531f4183ee5a3022 (diff) | |
| download | tangara-fw-ceba508593fbb2f897dfa6ba38ec3839e62d85a8.tar.gz | |
Add modified time to TrackData
Diffstat (limited to 'src/database/include/file_gatherer.hpp')
| -rw-r--r-- | src/database/include/file_gatherer.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/database/include/file_gatherer.hpp b/src/database/include/file_gatherer.hpp index 133cf81a..378727f7 100644 --- a/src/database/include/file_gatherer.hpp +++ b/src/database/include/file_gatherer.hpp @@ -19,15 +19,17 @@ class IFileGatherer { public: virtual ~IFileGatherer(){}; - virtual auto FindFiles(const std::pmr::string& root, - std::function<void(const std::pmr::string&)> cb) + virtual auto FindFiles( + const std::pmr::string& root, + std::function<void(const std::pmr::string&, const FILINFO&)> cb) -> void = 0; }; class FileGathererImpl : public IFileGatherer { public: - virtual auto FindFiles(const std::pmr::string& root, - std::function<void(const std::pmr::string&)> cb) + virtual auto FindFiles( + const std::pmr::string& root, + std::function<void(const std::pmr::string&, const FILINFO&)> cb) -> void override; }; |
