This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#pragma once
#include "FastLog.h"
#include <string>
#include <boost/filesystem.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/system/error_code.hpp>
DYNAMIC_LOGGROUP(FileSystem)
namespace RBX
{
enum FileSystemDir
{
DirAppData = 0,
DirPicture,
DirVideo,
DirExe
};
namespace FileSystem
{
boost::filesystem::path getUserDirectory(bool create, FileSystemDir dir, const char *subDirectory = 0);
boost::filesystem::path getCacheDirectory(bool create, const char* subDirectory);
boost::filesystem::path getTempFilePath();
boost::filesystem::path getLogsDirectory();
void clearCacheDirectory(const char* subDirectory);
};
} // namespace RBX