ImHex/plugins/builtin/source/plugin_builtin.cpp

61 lines
1.5 KiB
C++
Raw Normal View History

#include <hex/plugin.hpp>
#include <hex/api/imhex_api.hpp>
namespace hex::plugin::builtin {
2021-12-07 21:47:41 +00:00
void registerViews();
void registerDataInspectorEntries();
void registerToolEntries();
void registerPatternLanguageFunctions();
void registerCommandPaletteCommands();
void registerSettings();
void registerDataProcessorNodes();
2021-12-07 21:47:41 +00:00
void registerProviders();
void registerDataFormatters();
void registerLayouts();
void registerMainMenuEntries();
void createWelcomeScreen();
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
void registerLanguageEnUS();
void registerLanguageDeDE();
void registerLanguageItIT();
void registerLanguageJaJP();
void registerLanguageZhCN();
}
IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
using namespace hex::plugin::builtin;
registerLanguageEnUS();
registerLanguageDeDE();
registerLanguageItIT();
registerLanguageJaJP();
registerLanguageZhCN();
2021-12-07 21:47:41 +00:00
registerViews();
registerDataInspectorEntries();
registerToolEntries();
registerPatternLanguageFunctions();
registerCommandPaletteCommands();
registerSettings();
registerDataProcessorNodes();
2021-12-07 21:47:41 +00:00
registerProviders();
registerDataFormatters();
createWelcomeScreen();
2021-06-07 16:13:54 +00:00
addFooterItems();
2021-08-20 22:52:11 +00:00
addToolbarItems();
registerLayouts();
registerMainMenuEntries();
}
// This is the default plugin
// DO NOT USE THIS IN ANY OTHER PLUGIN
extern "C" bool isBuiltinPlugin() { return true; }