mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
refactor: Move the builtin plugin specific init tasks to the plugin
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user