yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
file_util.h
Go to the documentation of this file.
1#ifndef YAZE_APP_CORE_UTILS_FILE_UTIL_H
2#define YAZE_APP_CORE_UTILS_FILE_UTIL_H
3
4#include <string>
5
6namespace yaze {
7namespace app {
8namespace core {
9
11
12std::string GetFileExtension(const std::string &filename);
13std::string GetFileName(const std::string &filename);
14std::string LoadFile(const std::string &filename, Platform platform);
15std::string GetConfigDirectory(Platform platform);
16
17void SaveFile(const std::string &filename, const std::string &data,
18 Platform platform);
19
20} // namespace core
21} // namespace app
22} // namespace yaze
23
24#endif // YAZE_APP_CORE_UTILS_FILE_UTIL_H
std::string GetFileName(const std::string &filename)
Definition file_util.cc:25
std::string GetFileExtension(const std::string &filename)
Definition file_util.cc:17
std::string LoadFile(const std::string &filename, Platform platform)
Definition file_util.cc:33
std::string GetConfigDirectory(Platform platform)
Definition file_util.cc:56
void SaveFile(const std::string &filename, const std::string &contents, Platform platform)
Definition file_util.cc:46
Definition common.cc:22