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

61 lines
1.5 KiB
C++

#include <hex/plugin.hpp>
#include <hex/api/imhex_api.hpp>
namespace hex::plugin::builtin {
void registerViews();
void registerDataInspectorEntries();
void registerToolEntries();
void registerPatternLanguageFunctions();
void registerCommandPaletteCommands();
void registerSettings();
void registerDataProcessorNodes();
void registerProviders();
void registerDataFormatters();
void registerLayouts();
void registerMainMenuEntries();
void createWelcomeScreen();
void addFooterItems();
void addToolbarItems();
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();
registerViews();
registerDataInspectorEntries();
registerToolEntries();
registerPatternLanguageFunctions();
registerCommandPaletteCommands();
registerSettings();
registerDataProcessorNodes();
registerProviders();
registerDataFormatters();
createWelcomeScreen();
addFooterItems();
addToolbarItems();
registerLayouts();
registerMainMenuEntries();
}
// This is the default plugin
// DO NOT USE THIS IN ANY OTHER PLUGIN
extern "C" bool isBuiltinPlugin() { return true; }