2021-01-22 17:01:39 +00:00
|
|
|
#include <hex/plugin.hpp>
|
|
|
|
|
2021-12-23 14:11:38 +00:00
|
|
|
#include <hex/api/imhex_api.hpp>
|
|
|
|
|
2021-01-22 17:01:39 +00:00
|
|
|
namespace hex::plugin::builtin {
|
|
|
|
|
2021-12-07 21:47:41 +00:00
|
|
|
void registerViews();
|
2021-01-22 17:01:39 +00:00
|
|
|
void registerDataInspectorEntries();
|
|
|
|
void registerToolEntries();
|
|
|
|
void registerPatternLanguageFunctions();
|
|
|
|
void registerCommandPaletteCommands();
|
|
|
|
void registerSettings();
|
2021-01-30 21:39:06 +00:00
|
|
|
void registerDataProcessorNodes();
|
2021-12-07 21:47:41 +00:00
|
|
|
void registerProviders();
|
2022-01-12 23:27:31 +00:00
|
|
|
void registerDataFormatters();
|
2022-01-17 23:10:10 +00:00
|
|
|
void registerLayouts();
|
|
|
|
void registerMainMenuEntries();
|
2021-01-22 17:01:39 +00:00
|
|
|
|
2021-06-07 16:13:54 +00:00
|
|
|
void addFooterItems();
|
2021-08-20 22:52:11 +00:00
|
|
|
void addToolbarItems();
|
2021-06-07 16:13:54 +00:00
|
|
|
|
2021-02-13 14:15:32 +00:00
|
|
|
void registerLanguageEnUS();
|
2021-03-03 21:26:17 +00:00
|
|
|
void registerLanguageDeDE();
|
2021-03-04 12:52:35 +00:00
|
|
|
void registerLanguageItIT();
|
2021-09-20 16:41:22 +00:00
|
|
|
void registerLanguageZhCN();
|
2021-02-13 14:15:32 +00:00
|
|
|
|
2021-01-22 17:01:39 +00:00
|
|
|
}
|
|
|
|
|
2021-02-19 12:22:12 +00:00
|
|
|
IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
2021-01-22 17:01:39 +00:00
|
|
|
|
|
|
|
using namespace hex::plugin::builtin;
|
|
|
|
|
2021-12-07 21:47:41 +00:00
|
|
|
registerViews();
|
2021-01-22 17:01:39 +00:00
|
|
|
registerDataInspectorEntries();
|
|
|
|
registerToolEntries();
|
|
|
|
registerPatternLanguageFunctions();
|
|
|
|
registerCommandPaletteCommands();
|
|
|
|
registerSettings();
|
2021-01-30 21:39:06 +00:00
|
|
|
registerDataProcessorNodes();
|
2021-12-07 21:47:41 +00:00
|
|
|
registerProviders();
|
2022-01-12 23:27:31 +00:00
|
|
|
registerDataFormatters();
|
2021-02-13 14:15:32 +00:00
|
|
|
|
2021-06-07 16:13:54 +00:00
|
|
|
addFooterItems();
|
2021-08-20 22:52:11 +00:00
|
|
|
addToolbarItems();
|
2022-01-17 23:10:10 +00:00
|
|
|
registerLayouts();
|
|
|
|
registerMainMenuEntries();
|
2021-06-07 16:13:54 +00:00
|
|
|
|
2021-02-13 14:15:32 +00:00
|
|
|
registerLanguageEnUS();
|
2021-03-03 21:26:17 +00:00
|
|
|
registerLanguageDeDE();
|
2021-03-04 12:52:35 +00:00
|
|
|
registerLanguageItIT();
|
2021-09-20 16:41:22 +00:00
|
|
|
registerLanguageZhCN();
|
2021-01-22 17:01:39 +00:00
|
|
|
}
|