config.h (310B)
1 #pragma once 2 3 #include <cstdint> 4 #include <string> 5 6 namespace bridgeServer 7 { 8 struct Config 9 { 10 Config(int _argc, char** _argv); 11 12 uint32_t portTcp; 13 uint32_t portUdp; 14 uint32_t deviceStateRefreshMinutes; 15 std::string pluginsPath; 16 std::string romsPath; 17 18 static std::string getDefaultDataPath(); 19 }; 20 }