Check for librt earlier
[openal-soft.git] / alc / alconfig.h
blobffc7adad7d358a40ebb4c3b9337d3941af342dee
1 #ifndef ALCONFIG_H
2 #define ALCONFIG_H
4 #include <string>
6 #include "aloptional.h"
8 void ReadALConfig();
10 int ConfigValueExists(const char *devName, const char *blockName, const char *keyName);
11 const char *GetConfigValue(const char *devName, const char *blockName, const char *keyName, const char *def);
12 int GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def);
14 al::optional<std::string> ConfigValueStr(const char *devName, const char *blockName, const char *keyName);
15 al::optional<int> ConfigValueInt(const char *devName, const char *blockName, const char *keyName);
16 al::optional<unsigned int> ConfigValueUInt(const char *devName, const char *blockName, const char *keyName);
17 al::optional<float> ConfigValueFloat(const char *devName, const char *blockName, const char *keyName);
18 al::optional<bool> ConfigValueBool(const char *devName, const char *blockName, const char *keyName);
20 #endif /* ALCONFIG_H */