1
0
mirror of synced 2024-12-02 11:17:19 +01:00
ImHex/plugins/builtin/source/plugin_builtin.cpp
gnuhead-chieb 949d036a81
lang: Add Japanese Translation (#418)
* Add Japanese Translation

* Add files via upload

* Update plugin_builtin.cpp

* Added Japanese translation to build script

Co-authored-by: WerWolv <werwolv98@gmail.com>
2022-02-07 15:42:38 +01:00

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;
registerViews();
registerDataInspectorEntries();
registerToolEntries();
registerPatternLanguageFunctions();
registerCommandPaletteCommands();
registerSettings();
registerDataProcessorNodes();
registerProviders();
registerDataFormatters();
createWelcomeScreen();
addFooterItems();
addToolbarItems();
registerLayouts();
registerMainMenuEntries();
registerLanguageEnUS();
registerLanguageDeDE();
registerLanguageItIT();
registerLanguageJaJP();
registerLanguageZhCN();
}
// This is the default plugin
// DO NOT USE THIS IN ANY OTHER PLUGIN
extern "C" bool isBuiltinPlugin() { return true; }