Mercurial > minori
comparison include/core/filesystem.h @ 230:2f5a9247e501
torrents: implement download button
erg
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:42:02 -0500 |
parents | 0a458cb26ff4 |
children | 862d0d8619f6 |
comparison
equal
deleted
inserted
replaced
229:adc20fa321c1 | 230:2f5a9247e501 |
---|---|
4 #include <filesystem> | 4 #include <filesystem> |
5 | 5 |
6 namespace Filesystem { | 6 namespace Filesystem { |
7 | 7 |
8 void CreateDirectories(const std::filesystem::path& path); | 8 void CreateDirectories(const std::filesystem::path& path); |
9 std::filesystem::path GetDotPath(); // %APPDATA%/minori, ~/Library/Application Support/minori, ~/.config/minori... | 9 std::filesystem::path GetDotPath(); // %APPDATA%/minori/, ~/Library/Application Support/minori/, ~/.config/minori/... |
10 std::filesystem::path GetConfigPath(); // (dotpath)/config.json | 10 std::filesystem::path GetConfigPath(); // (dotpath)/config.json |
11 std::filesystem::path GetAnimeDBPath(); // (dotpath)/anime/db.json | 11 std::filesystem::path GetAnimeDBPath(); // (dotpath)/anime/db.json |
12 std::filesystem::path GetPlayersPath(); // (dotpath)/player.json | 12 std::filesystem::path GetTorrentsPath(); // (dotpath)/torrents/... |
13 std::filesystem::path GetExtensionsPath(); // (dotpath)/extensions.json | |
14 | 13 |
15 } // namespace Filesystem | 14 } // namespace Filesystem |
16 | 15 |
17 #endif // __core__filesystem_h | 16 #endif // __core__filesystem_h |