#ifndef ALCONFIG_H #define ALCONFIG_H #include #include #include void ReadALConfig(); bool GetConfigValueBool(const std::string_view devName, const std::string_view blockName, const std::string_view keyName, bool def); std::optional ConfigValueStr(const std::string_view devName, const std::string_view blockName, const std::string_view keyName); std::optional ConfigValueInt(const std::string_view devName, const std::string_view blockName, const std::string_view keyName); std::optional ConfigValueUInt(const std::string_view devName, const std::string_view blockName, const std::string_view keyName); std::optional ConfigValueFloat(const std::string_view devName, const std::string_view blockName, const std::string_view keyName); std::optional ConfigValueBool(const std::string_view devName, const std::string_view blockName, const std::string_view keyName); #endif /* ALCONFIG_H */