diff options
Diffstat (limited to 'src/config/shared/parserUtils/ParserUtils.hpp')
| -rw-r--r-- | src/config/shared/parserUtils/ParserUtils.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/shared/parserUtils/ParserUtils.hpp b/src/config/shared/parserUtils/ParserUtils.hpp new file mode 100644 index 00000000..9dfe37f4 --- /dev/null +++ b/src/config/shared/parserUtils/ParserUtils.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include <expected> +#include <cstdint> +#include <string> + +namespace Config::ParserUtils { + std::expected<int64_t, std::string> parseColor(std::string_view val); + std::expected<int64_t, std::string> parseInt(std::string_view val); +};
\ No newline at end of file |
