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
|
|
|
|
*/
|
2024-02-14 04:05:32 +00:00
|
|
|
AUKN_SYM AuOptional<const AuString &> 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
|
|
|
|
*/
|
2024-02-14 04:05:32 +00:00
|
|
|
AUKN_SYM AuOptional<const AuString &> GetProcessFullPath();
|
2023-12-13 18:11:35 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Fetches the applications primary module name
|
|
|
|
* @return
|
|
|
|
*/
|
2024-02-14 04:05:32 +00:00
|
|
|
AUKN_SYM AuOptional<const AuString &> GetProcessName();
|
2021-06-27 21:25:29 +00:00
|
|
|
}
|