mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 04:08:52 +01:00
18835c324e
This will allow DXVK to apply game-specific features or workarounds in the future.
28 lines
680 B
C++
28 lines
680 B
C++
#pragma once
|
|
|
|
#include "util_string.h"
|
|
|
|
namespace dxvk::env {
|
|
|
|
/**
|
|
* \brief Gets environment variable
|
|
*
|
|
* If the variable is not defined, this will return
|
|
* an empty string. Note that environment variables
|
|
* may be defined with an empty value.
|
|
* \param [in] name Name of the variable
|
|
* \returns Value of the variable
|
|
*/
|
|
std::string getEnvVar(const wchar_t* name);
|
|
|
|
/**
|
|
* \brief Gets the executable name
|
|
*
|
|
* Returns the base name (not the full path) of the
|
|
* program executable, including the file extension.
|
|
* This function should be used to identify programs.
|
|
* \returns Executable name
|
|
*/
|
|
std::string getExeName();
|
|
|
|
} |