From 222aee8889a810cac9d95dea892fc64cbfe6b451 Mon Sep 17 00:00:00 2001 From: faumaray Date: Wed, 24 Jun 2026 21:11:20 +0300 Subject: [PATCH] Add reloadConfig() to ICoreInterface Lets commands reach Core's config reload through the service registry. Co-Authored-By: Claude Opus 4.8 --- include/echoion/api/interfaces/CoreInterface.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/echoion/api/interfaces/CoreInterface.hpp b/include/echoion/api/interfaces/CoreInterface.hpp index e1546e6..db68a18 100644 --- a/include/echoion/api/interfaces/CoreInterface.hpp +++ b/include/echoion/api/interfaces/CoreInterface.hpp @@ -93,6 +93,9 @@ namespace Echoion::Api updateConfigJson(const std::string& configJson) = 0; [[nodiscard]] virtual Result getConfigJson() const = 0; + // Reload configuration from the config file on disk. + virtual Result reloadConfig() = 0; + // Hot reload - using serialization instead of HotReloadState // Returns opaque handle that Plugin just passes back [[nodiscard]] virtual Result prepareForHotReload() = 0;