Mercurial > minori
view include/core/filesystem.h @ 368:6d37a998cf91
gui/dialog: consolidate win32 dark theme cruft into a single class
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Jul 2025 10:05:23 -0400 |
parents | 3ec7804abf17 |
children | 47c9f8502269 |
line wrap: on
line source
#ifndef MINORI_CORE_FILESYSTEM_H_ #define MINORI_CORE_FILESYSTEM_H_ #include <filesystem> #include <string> namespace Filesystem { void CreateDirectories(const std::filesystem::path& path); std::filesystem::path GetDotPath(); // %APPDATA%/minori/, ~/Library/Application Support/minori/, ~/.config/minori/... std::filesystem::path GetConfigPath(); // (dotpath)/config.json std::filesystem::path GetAnimeDBPath(); // (dotpath)/anime/db.json std::filesystem::path GetTorrentsPath(); // (dotpath)/torrents/... } // namespace Filesystem #endif // MINORI_CORE_FILESYSTEM_H_