#include "helpers/utils.hpp" #include "window.hpp" #include "lang/pattern_data.hpp" #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 "providers/provider.hpp" #include int mainArgc; char **mainArgv; int main(int argc, char **argv) { mainArgc = argc; mainArgv = argv; hex::Window window; // Shared Data std::vector patternData; // Create views window.addView(patternData); window.addView(patternData); window.addView(patternData); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); window.addView(); if (argc > 1) hex::View::postEvent(hex::Events::FileDropped, argv[1]); window.loop(); return 0; }