32 namespace CrossPlatform
35 const char PATH_SEPARATOR =
'\\';
37 const char PATH_SEPARATOR =
'/';
61 std::string
endPath(
const std::string &path);
63 std::vector<std::string>
getFolderContents(
const std::string &path,
const std::string &ext =
"");
75 std::string
noExt(
const std::string &file);
77 std::string
getExt(
const std::string &file);
79 bool compareExt(
const std::string &file,
const std::string &extension);
87 std::pair<std::string, std::string>
timeToString(time_t time);
89 bool moveFile(
const std::string &src,
const std::string &dest);
95 void setWindowIcon(
int winResource,
const std::string &unixPath);
101 void crashDump(
void *ex,
const std::string &err);
Definition: BaseInfoState.cpp:40