Core: finalize plugin services after discovery
This commit is contained in:
1 parent
dfbbdaaf01
commit
a277f2102b
3 files changed
+15
-9
No files matched your search
@@ -47,6 +47,9 @@ namespace Echoion::Core
|
||||
|
||||
void loadDirectory(const std::filesystem::path& directory);
|
||||
void loadManagedDirectory(const std::filesystem::path& directory);
|
||||
// Bind and validate cross-plugin services after every startup
|
||||
// directory has been loaded.
|
||||
[[nodiscard]] bool finalizeLoading();
|
||||
[[nodiscard]] Api::Result<std::string>
|
||||
manage(const std::string& requestJson);
|
||||
void setChangeCallback(std::function<void()> callback);
|
||||
|
||||
Reference in new issue
Block a user