#pragma once #include "FastLog.h" #include #include #include #include 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