1
0
mirror of synced 2024-11-12 02:00:52 +01:00
ImHex/plugins/builtin/source/plugin_builtin.cpp

72 lines
1.8 KiB
C++

#include <hex/plugin.hpp>
namespace hex::plugin::builtin {
void registerEventHandlers();
void registerDataVisualizers();
void registerDataInspectorEntries();
void registerToolEntries();
void registerPatternLanguageFunctions();
void registerPatternLanguagePragmas();
void registerCommandPaletteCommands();
void registerSettings();
void registerDataProcessorNodes();
void registerHashes();
void registerProviders();
void registerDataFormatters();
void registerLayouts();
void registerMainMenuEntries();
void createWelcomeScreen();
void registerViews();
void addFooterItems();
void addToolbarItems();
void addGlobalUIItems();
void registerLanguageEnUS();
void registerLanguageDeDE();
void registerLanguageItIT();
void registerLanguageJaJP();
void registerLanguageZhCN();
void registerLanguagePtBR();
}
IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
using namespace hex::plugin::builtin;
registerLanguageEnUS();
registerLanguageDeDE();
registerLanguageItIT();
registerLanguageJaJP();
registerLanguageZhCN();
registerLanguagePtBR();
registerEventHandlers();
registerDataVisualizers();
registerDataInspectorEntries();
registerToolEntries();
registerPatternLanguageFunctions();
registerPatternLanguagePragmas();
registerCommandPaletteCommands();
registerSettings();
registerDataProcessorNodes();
registerHashes();
registerProviders();
registerDataFormatters();
createWelcomeScreen();
registerViews();
addFooterItems();
addToolbarItems();
addGlobalUIItems();
registerLayouts();
registerMainMenuEntries();
}
// This is the default plugin
// DO NOT USE THIS IN ANY OTHER PLUGIN
extern "C" bool isBuiltinPlugin() { return true; }