| #pragma once | |
| #include <cstdint> | |
| #include <string> | |
| #include <vector> | |
| #include "engine/file.hpp" | |
| void setup_base_path(); | |
| int32_t open_file(std::string file); | |
| int32_t read_file(uint32_t fh, uint32_t offset, uint32_t length, char *buffer); | |
| int32_t close_file(uint32_t fh); | |
| uint32_t get_file_length(uint32_t fh); | |
| std::vector<blit::FileInfo> list_files(std::string path); |