From b94f1498542be0e83fe8060a50bce5ff2d5a1c39 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 8 May 2026 15:31:02 +0100 Subject: config: allow hashes for parsing colors (#14337) --- src/config/shared/parserUtils/ParserUtils.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/config/shared/parserUtils/ParserUtils.hpp (limited to 'src/config/shared/parserUtils/ParserUtils.hpp') 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 +#include +#include + +namespace Config::ParserUtils { + std::expected parseColor(std::string_view val); + std::expected parseInt(std::string_view val); +}; \ No newline at end of file -- cgit v1.2.3