refactor: Move the builtin plugin specific init tasks to the plugin

This commit is contained in:
WerWolv
2023-11-28 00:19:42 +01:00
parent 8e7716ebcc
commit 284f8534ab
10 changed files with 411 additions and 376 deletions

View File

@@ -713,6 +713,10 @@ namespace hex {
return true;
}
void addStartupTask(const std::string &name, bool async, const std::function<bool()> &function) {
EventManager::post<RequestAddInitTask>(name, async, function);
}
}
namespace ImHexApi::Messaging {