Nui
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 
11 namespace 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
void getEnvironmentVariables(std::function< void(std::unordered_map< std::string, std::string > &&)> callback)
Definition: environment_variables.cpp:7