8 #pragma warning (disable: 4996) // This function or variable may be unsafe 9 #pragma warning (disable: 4244) // 'return': conversion from 'const int64_t' to 'float', possible loss of data 10 #pragma warning (disable: 4715) // configuru::Config::operator[]': not all control paths return a value 12 #include <configuru.hpp> 29 Config(
const std::string &fnamebase = std::string(
"Config"));
31 void save(
const std::string &path);
33 bool load(
const std::string &path);
35 std::string ConfigFileBase;
37 virtual configuru::Config WriteToJSON() = 0;
38 virtual bool ReadFromJSON(
const configuru::Config &pt) = 0;
41 const std::string getConfigPath();
Provides printf-style line logging via the vr::IVRDriverLog interface provided by SteamVR during init...
Definition: config.cpp:18