QuasarEngine
Cross-platform 3D engine and editor
Toggle main menu visibility
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
12
namespace
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
}
Quasar
Contains all the engine code.
Quasar::GetUserDataDirectory
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...
Quasar::IsValidUserDataName
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.
quasar
io
UserDataDirectory.h
Generated by
1.18.0