Manages user data directories across different operating systems.
More...
#include <UserDataManager.h>
Manages user data directories across different operating systems.
◆ GetAppDataDirectory()
std::filesystem::path UserDataManager::GetAppDataDirectory |
( |
| ) |
|
|
static |
Get the main application data directory.
- Returns
- Path to the application data directory
◆ GetCacheDirectory()
std::filesystem::path UserDataManager::GetCacheDirectory |
( |
| ) |
|
|
static |
Get the cache directory.
- Returns
- Path to the cache directory
◆ GetGlobalAssetsDirectory()
std::filesystem::path UserDataManager::GetGlobalAssetsDirectory |
( |
| ) |
|
|
static |
Get the global assets directory (shared across all workspaces)
- Returns
- Path to the global assets directory
◆ GetSettingsDirectory()
std::filesystem::path UserDataManager::GetSettingsDirectory |
( |
| ) |
|
|
static |
Get the settings directory.
- Returns
- Path to the settings directory
◆ GetWorkspacesDirectory()
std::filesystem::path UserDataManager::GetWorkspacesDirectory |
( |
| ) |
|
|
static |
Get the workspaces directory.
- Returns
- Path to the workspaces directory
◆ Initialize()
bool UserDataManager::Initialize |
( |
| ) |
|
|
static |
Initialize the user data directory system.
- Returns
- true if successful, false otherwise
◆ InitializeDefaultGlobalAssets()
bool UserDataManager::InitializeDefaultGlobalAssets |
( |
| ) |
|
|
static |
Initialize default global assets (primitives like cube, sphere, etc.)
- Returns
- true if successful
◆ IsInitialized()
bool UserDataManager::IsInitialized |
( |
| ) |
|
|
static |
Check if the user data system is initialized.
- Returns
- true if initialized, false otherwise
The documentation for this class was generated from the following files: