1991afb87b
* sys: Initial refactoring of the SharedData class * sys/pattern: More refactoring, make every provider have its own patterns * sys: Finished up refactoring. No more SharedData! * sys: Fixed compile on Unix * tests: Fixed unit tests * sys: Moved view and lang files * pattern: Added assignment operator support to for loops * tests: Fixed compile issue
58 lines
1.4 KiB
C++
58 lines
1.4 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 registerLanguageZhCN();
|
|
|
|
}
|
|
|
|
IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
|
|
|
using namespace hex::plugin::builtin;
|
|
|
|
registerViews();
|
|
registerDataInspectorEntries();
|
|
registerToolEntries();
|
|
registerPatternLanguageFunctions();
|
|
registerCommandPaletteCommands();
|
|
registerSettings();
|
|
registerDataProcessorNodes();
|
|
registerProviders();
|
|
registerDataFormatters();
|
|
createWelcomeScreen();
|
|
|
|
addFooterItems();
|
|
addToolbarItems();
|
|
registerLayouts();
|
|
registerMainMenuEntries();
|
|
|
|
registerLanguageEnUS();
|
|
registerLanguageDeDE();
|
|
registerLanguageItIT();
|
|
registerLanguageZhCN();
|
|
}
|
|
|
|
// This is the default plugin
|
|
// DO NOT USE THIS IN ANY OTHER PLUGIN
|
|
extern "C" bool isBuiltinPlugin() { return true; } |