From 3f05b72cc22473fbd84535ee99983469ca316b55 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Sun, 13 Nov 2022 00:30:26 +0100 Subject: [PATCH] change internal setting names to set apart categories --- include/Common.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/Common.h b/include/Common.h index 4a932d8..968cc54 100644 --- a/include/Common.h +++ b/include/Common.h @@ -46,20 +46,20 @@ constexpr std::string_view StrAuthKey = "AuthKey"; constexpr std::string_view StrLogChat = "LogChat"; // Misc -constexpr std::string_view StrSendErrors = "SendErrors"; -constexpr std::string_view StrSendErrorsMessageEnabled = "SendErrorsShowMessage"; -constexpr std::string_view StrHideUpdateMessages = "ImScaredOfUpdates"; +constexpr std::string_view StrSendErrors = "Misc.SendErrors"; +constexpr std::string_view StrSendErrorsMessageEnabled = "Misc.SendErrorsShowMessage"; +constexpr std::string_view StrHideUpdateMessages = "Misc.ImScaredOfUpdates"; // HTTP -constexpr std::string_view StrHTTPServerEnabled = "HTTPServerEnabled"; -constexpr std::string_view StrHTTPServerUseSSL = "UseSSL"; -constexpr std::string_view StrSSLKeyPath = "SSLKeyPath"; -constexpr std::string_view StrSSLCertPath = "SSLCertPath"; -constexpr std::string_view StrHTTPServerPort = "HTTPServerPort"; -constexpr std::string_view StrHTTPServerIP = "HTTPServerIP"; +constexpr std::string_view StrHTTPServerEnabled = "HTTP.HTTPServerEnabled"; +constexpr std::string_view StrHTTPServerUseSSL = "HTTP.UseSSL"; +constexpr std::string_view StrSSLKeyPath = "HTTP.SSLKeyPath"; +constexpr std::string_view StrSSLCertPath = "HTTP.SSLCertPath"; +constexpr std::string_view StrHTTPServerPort = "HTTP.HTTPServerPort"; +constexpr std::string_view StrHTTPServerIP = "HTTP.HTTPServerIP"; // Unused -constexpr std::string_view StrCustomIP = "CustomIP"; +constexpr std::string_view StrCustomIP = "Unused.CustomIP"; struct Version { uint8_t major;