mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 12:17:16 +00:00
15 lines
466 B
C++
15 lines
466 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
// Whole-file reading/writing
|
|
bool writeStringToFile(bool text_file, const std::string &str, const char *filename);
|
|
bool readFileToString(bool text_file, const char *filename, std::string &str);
|
|
|
|
// Beginnings of a directory utility system. TODO: Improve.
|
|
size_t getFilesInDir(const char *directory, std::vector<std::string> *files);
|
|
void deleteFile(const char *file);
|
|
|
|
std::string getDir(const std::string &path);
|