Nui
Loading...
Searching...
No Matches
environment_variables.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <nui/core.hpp>
4
5#include <unordered_map>
6#include <string>
7#ifdef NUI_FRONTEND
8# include <functional>
9#endif
10
11namespace Nui
12{
13#ifdef NUI_BACKEND
14 std::unordered_map<std::string, std::string> getEnvironmentVariables();
15#else
16 void getEnvironmentVariables(std::function<void(std::unordered_map<std::string, std::string>&&)> callback);
17#endif
18}
Definition file_dialog.hpp:6
std::unordered_map< std::string, std::string > getEnvironmentVariables()
Definition environment_variables_nix.cpp:9