Mercurial > minori
view include/core/filesystem.h @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | 0a458cb26ff4 |
children | 2f5a9247e501 |
line wrap: on
line source
#ifndef __core__filesystem_h #define __core__filesystem_h #include <string> #include <filesystem> 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 GetPlayersPath(); // (dotpath)/player.json std::filesystem::path GetExtensionsPath(); // (dotpath)/extensions.json } // namespace Filesystem #endif // __core__filesystem_h