Files
iZo/include/izo/Paths.hpp

24 lines
367 B
C++

#pragma once
#include <filesystem>
#include <string>
namespace izo {
enum class KnownPath {
AppData,
LocalAppData,
Config,
Cache,
Documents,
Downloads,
Desktop,
Temporary,
ExecutableDirectory,
CurrentDirectory,
};
std::filesystem::path GetKnownPath(KnownPath path, std::string* errorMessage = nullptr);
} // namespace izo