Core: Add EnvironmentVariables
This commit is contained in:
21
include/Nazara/Core/EnvironmentVariables.hpp
Normal file
21
include/Nazara/Core/EnvironmentVariables.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CORE_ENVIRONMENTVARIABLES_HPP
|
||||
#define NAZARA_CORE_ENVIRONMENTVARIABLES_HPP
|
||||
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
NAZARA_CORE_API const char* GetEnvironmentVariable(const char* envVar);
|
||||
NAZARA_CORE_API bool TestEnvironmentVariable(const char* envVar);
|
||||
}
|
||||
|
||||
#include <Nazara/Core/EnvironmentVariables.inl>
|
||||
|
||||
#endif // NAZARA_CORE_ENVIRONMENTVARIABLES_HPP
|
||||
Reference in New Issue
Block a user