AuroraRuntime/Include/Aurora/Process/Paths.hpp

36 lines
837 B
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: Paths.hpp
Date: 2021-6-10
Author: Reece
***/
#pragma once
namespace Aurora::Process
{
/**
2023-12-13 18:11:35 +00:00
* @brief Fetches the applications current working directory
* @param path
* @return
*/
2021-06-27 21:25:29 +00:00
AUKN_SYM bool GetWorkingDirectory(AuString &path);
2023-12-13 18:11:35 +00:00
/**
* @brief Fetches the applications binary or package directory
* @return
*/
AUKN_SYM AuOptional<AuROString> GetProcessDirectory();
2021-06-27 21:25:29 +00:00
2023-12-13 18:11:35 +00:00
/**
* @brief Fetches the full-path of the applications binary, if known
* @return
*/
AUKN_SYM AuOptional<AuROString> GetProcessFullPath();
2023-12-13 18:11:35 +00:00
/**
* @brief Fetches the applications primary module name
* @return
*/
AUKN_SYM AuOptional<AuROString> GetProcessName();
2021-06-27 21:25:29 +00:00
}