AuroraRuntime/Include/Aurora/IO/FS/Resources.hpp

44 lines
1.4 KiB
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Resources.hpp
Date: 2021-6-10
Author: Reece
***/
#pragma once
namespace Aurora::IO::FS
{
/**
* @brief Provides an application specific storage path for sharing data amongst Aurora applications sharing the same branding info (defer to the init structure)
*/
AUKN_SYM bool GetSystemDomain(AuString &path);
2021-06-27 21:25:29 +00:00
/**
* @brief Provides an application specific storage path for local application data, isolated for your Aurora application brand info (defer to the init structure)
2021-06-27 21:25:29 +00:00
*/
AUKN_SYM bool GetProfileDomain(AuString &path);
2021-06-27 21:25:29 +00:00
AUKN_SYM bool GetSystemResourcePath(const AuString &fileName, AuString &path);
2021-06-27 21:25:29 +00:00
/**
* @brief Pulls the application directory as defined by the operating system standard file system hierarchy
*/
AUKN_SYM bool GetAppData(AuString &path);
2021-06-27 21:25:29 +00:00
/**
* @brief Pulls the users home directory, untouched
*/
AUKN_SYM bool GetUserHome(AuString &path);
/**
* @brief Global application data that requires no special permissions to access
*/
AUKN_SYM bool GetWritableAppdata(AuString &path);
/**
* @brief Global application data that requires special permissions to access, usually configured by a system account during installation
*/
AUKN_SYM bool GetRootAppdata(AuString &path);
2021-06-27 21:25:29 +00:00
}