aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-02-13 13:02:06 +0000
committerGitHub <[email protected]>2023-02-13 05:02:06 -0800
commit1639507f8d3831322d7da5cfa0c63cd374695ddf (patch)
tree3760a70cdf9fdf749fc38db55ae754e21b050f95 /zencore/include
parentno sentry report on port conflict (#228) (diff)
downloadzen-1639507f8d3831322d7da5cfa0c63cd374695ddf.tar.xz
zen-1639507f8d3831322d7da5cfa0c63cd374695ddf.zip
Move knowledge of UE env variable from zenserver to zen command line tool (#227)
* move knowledge of UE env variable from zenserver to zen command line tool * move env-fetching code to GetEnvVariable
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/filesystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h
index f49135687..fa5f94170 100644
--- a/zencore/include/zencore/filesystem.h
+++ b/zencore/include/zencore/filesystem.h
@@ -181,6 +181,8 @@ struct DirectoryContent
void GetDirectoryContent(const std::filesystem::path& RootDir, uint8_t Flags, DirectoryContent& OutContent);
+std::string GetEnvVariable(std::string_view VariableName);
+
//////////////////////////////////////////////////////////////////////////
void filesystem_forcelink(); // internal