h2-mod/src/client/component/filesystem.hpp

14 lines
369 B
C++
Raw Normal View History

2022-03-19 18:06:00 -04:00
#pragma once
2022-07-16 18:31:15 -04:00
#include "updater.hpp"
2022-03-19 18:06:00 -04:00
namespace filesystem
{
std::string read_file(const std::string& path);
2022-04-28 16:41:29 -04:00
bool read_file(const std::string& path, std::string* data, std::string* real_path = nullptr);
2022-07-14 20:02:50 -04:00
void register_path(const std::filesystem::path& path);
void unregister_path(const std::filesystem::path& path);
std::vector<std::string> get_search_paths();
2022-03-19 18:06:00 -04:00
}