Add reloadConfig() to ICoreInterface
Lets commands reach Core's config reload through the service registry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2b68dea2f
commit
222aee8889
1 file changed
+3
@@ -93,6 +93,9 @@ namespace Echoion::Api
|
||||
updateConfigJson(const std::string& configJson) = 0;
|
||||
[[nodiscard]] virtual Result<std::string> getConfigJson() const = 0;
|
||||
|
||||
// Reload configuration from the config file on disk.
|
||||
virtual Result<void> reloadConfig() = 0;
|
||||
|
||||
// Hot reload - using serialization instead of HotReloadState
|
||||
// Returns opaque handle that Plugin just passes back
|
||||
[[nodiscard]] virtual Result<std::string> prepareForHotReload() = 0;
|
||||
|
||||
Reference in new issue
Block a user