mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
build: Updated libwolv
This commit is contained in:
@@ -42,11 +42,13 @@ namespace hex {
|
||||
this->m_functions.setImGuiContextFunction = getPluginFunction<PluginFunctions::SetImGuiContextFunc>("setImGuiContext");
|
||||
this->m_functions.isBuiltinPluginFunction = getPluginFunction<PluginFunctions::IsBuiltinPluginFunc>("isBuiltinPlugin");
|
||||
this->m_functions.getSubCommandsFunction = getPluginFunction<PluginFunctions::GetSubCommandsFunc>("getSubCommands");
|
||||
|
||||
log::info("Loaded plugin '{}'", wolv::util::toUTF8String(path.filename()));
|
||||
}
|
||||
|
||||
Plugin::Plugin(hex::PluginFunctions functions) {
|
||||
this->m_handle = 0;
|
||||
this->m_functions = std::move(functions);
|
||||
this->m_functions = functions;
|
||||
}
|
||||
|
||||
|
||||
@@ -97,6 +99,8 @@ namespace hex {
|
||||
return false;
|
||||
}
|
||||
|
||||
log::info("Plugin '{}' initialized successfully", pluginName);
|
||||
|
||||
this->m_initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user