mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 08:35:43 +00:00
17 lines
428 B
C++
17 lines
428 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "ISearchPath.h"
|
|
|
|
class SearchPathFilesystem final : public ISearchPath
|
|
{
|
|
std::string m_path;
|
|
|
|
public:
|
|
explicit SearchPathFilesystem(std::string path);
|
|
|
|
SearchPathOpenFile Open(const std::string& fileName) override;
|
|
std::string GetPath() override;
|
|
void Find(const SearchPathSearchOptions& options, const std::function<void(const std::string&)>& callback) override;
|
|
}; |