build/plugin: Make plugins no longer depend on their file name

This commit is contained in:
WerWolv
2022-01-23 23:28:56 +01:00
parent b3a8d02d19
commit 541c0d7547
6 changed files with 85 additions and 53 deletions

View File

@@ -15,7 +15,7 @@ namespace hex::plugin::windows {
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
using namespace hex::plugin::windows;
ContentRegistry::Views::add<ViewTTYConsole>();
hex::ContentRegistry::Views::add<ViewTTYConsole>();
registerLanguageEnUS();
registerLanguageZhCN();