mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-05-04 11:00:09 -05:00
refactor: Move the builtin plugin specific init tasks to the plugin
This commit is contained in:
@@ -44,6 +44,7 @@ namespace hex::plugin::builtin {
|
||||
void addTitleBarButtons();
|
||||
void addToolbarItems();
|
||||
void addGlobalUIItems();
|
||||
void addInitTasks();
|
||||
|
||||
void handleBorderlessWindowMode();
|
||||
|
||||
@@ -74,6 +75,8 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
||||
for (auto &path : romfs::list("lang"))
|
||||
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
|
||||
|
||||
addInitTasks();
|
||||
|
||||
registerEventHandlers();
|
||||
registerDataVisualizers();
|
||||
registerDataInspectorEntries();
|
||||
|
||||
Reference in New Issue
Block a user