QuasarEngine
Cross-platform 3D engine and editor
Loading...
Searching...
No Matches
UserDataDirectory.h
Go to the documentation of this file.
1#pragma once
2
7
8#include <filesystem>
9#include <optional>
10#include <string_view>
11
12namespace Quasar
13{
20 bool IsValidUserDataName(std::string_view name);
21
36 std::optional<std::filesystem::path> GetUserDataDirectory(std::string_view organization, std::string_view application);
37}
Contains all the engine code.
std::optional< std::filesystem::path > GetUserDataDirectory(std::string_view organization, std::string_view application)
Returns the folder where an application stores the files of the current user, such as its settings or...
bool IsValidUserDataName(std::string_view name)
Tells if a name can be used as the organization or the application name of a user data folder.