mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 06:41:52 -05:00

subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
15 lines
362 B
C++
15 lines
362 B
C++
#include "Environment.h"
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
std::map<std::string, std::string> environmentVars;
|
|
|
|
namespace SohUtils {
|
|
void saveEnvironmentVar(const std::string& key, const std::string& value) {
|
|
environmentVars[key] = value;
|
|
}
|
|
std::string getEnvironmentVar(const std::string& key) {
|
|
return environmentVars[key];
|
|
}
|
|
} |