36 lines
816 B
C++
36 lines
816 B
C++
/***
|
|
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
|
|
{
|
|
/**
|
|
* @brief Fetches the applications current working directory
|
|
* @param path
|
|
* @return
|
|
*/
|
|
AUKN_SYM bool GetWorkingDirectory(AuString &path);
|
|
|
|
/**
|
|
* @brief Fetches the applications binary or package directory
|
|
* @return
|
|
*/
|
|
AUKN_SYM const AuString *GetProcessDirectory();
|
|
|
|
/**
|
|
* @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();
|
|
} |