AuroraRuntime/Include/Aurora/Process/Paths.hpp

36 lines
816 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 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
*/
AUKN_SYM const AuString *GetProcessFullPath();
/**
* @brief Fetches the applications primary module name
* @return
*/
AUKN_SYM const AuString *GetProcessName();
2021-06-27 21:25:29 +00:00
}