🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
750 B

  1. #ifndef ALCONFIG_H
  2. #define ALCONFIG_H
  3. #include <string>
  4. #include "aloptional.h"
  5. void ReadALConfig();
  6. bool GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, bool def);
  7. al::optional<std::string> ConfigValueStr(const char *devName, const char *blockName, const char *keyName);
  8. al::optional<int> ConfigValueInt(const char *devName, const char *blockName, const char *keyName);
  9. al::optional<unsigned int> ConfigValueUInt(const char *devName, const char *blockName, const char *keyName);
  10. al::optional<float> ConfigValueFloat(const char *devName, const char *blockName, const char *keyName);
  11. al::optional<bool> ConfigValueBool(const char *devName, const char *blockName, const char *keyName);
  12. #endif /* ALCONFIG_H */