#include "window.hpp" #include #include #include #include #include "views/view_hexeditor.hpp" #include "views/view_pattern.hpp" #include "views/view_pattern_data.hpp" #include "views/view_hashes.hpp" #include "views/view_information.hpp" #include "views/view_help.hpp" #include "views/view_tools.hpp" #include "views/view_strings.hpp" #include "views/view_data_inspector.hpp" #include "views/view_disassembler.hpp" #include "views/view_bookmarks.hpp" #include "views/view_patches.hpp" #include "views/view_command_palette.hpp" #include "views/view_settings.hpp" #include int main(int argc, char **argv) { using namespace hex; Window window(argc, argv); // Shared Data std::vector patternData; // Create views ContentRegistry::Views::add(patternData); ContentRegistry::Views::add(patternData); ContentRegistry::Views::add(patternData); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); ContentRegistry::Views::add(); if (argc > 1) View::postEvent(Events::FileDropped, argv[1]); window.initPlugins(); window.loop(); return EXIT_SUCCESS; }