6 #include "aloptional.h"
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 */