2021-05-29 19:52:18 +00:00
|
|
|
#include <hex/plugin.hpp>
|
|
|
|
|
2022-02-01 17:09:40 +00:00
|
|
|
#include <hex/api/content_registry.hpp>
|
|
|
|
|
2021-05-29 19:52:18 +00:00
|
|
|
#include "views/view_tty_console.hpp"
|
|
|
|
|
2021-06-06 16:19:17 +00:00
|
|
|
namespace hex::plugin::windows {
|
|
|
|
|
|
|
|
void registerLanguageEnUS();
|
2022-02-01 23:36:25 +00:00
|
|
|
void registerLanguageDeDE();
|
2021-09-20 16:41:22 +00:00
|
|
|
void registerLanguageZhCN();
|
2021-06-06 16:19:17 +00:00
|
|
|
|
2021-06-06 17:17:51 +00:00
|
|
|
void addFooterItems();
|
2022-02-01 23:36:09 +00:00
|
|
|
void addTitleBarButtons();
|
2021-10-31 15:28:10 +00:00
|
|
|
void registerSettings();
|
2021-06-06 16:19:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-05-29 19:52:18 +00:00
|
|
|
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
|
2021-06-06 16:19:17 +00:00
|
|
|
using namespace hex::plugin::windows;
|
|
|
|
|
2022-01-23 22:28:56 +00:00
|
|
|
hex::ContentRegistry::Views::add<ViewTTYConsole>();
|
2021-06-06 16:19:17 +00:00
|
|
|
|
|
|
|
registerLanguageEnUS();
|
2022-02-01 23:36:25 +00:00
|
|
|
registerLanguageDeDE();
|
2021-09-20 16:41:22 +00:00
|
|
|
registerLanguageZhCN();
|
2021-06-06 17:17:51 +00:00
|
|
|
|
|
|
|
addFooterItems();
|
2022-02-01 23:36:09 +00:00
|
|
|
addTitleBarButtons();
|
2021-10-31 15:28:10 +00:00
|
|
|
registerSettings();
|
2021-05-29 19:52:18 +00:00
|
|
|
}
|