/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/include/util/FileSystem.h
32 строки
684 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#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