#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 "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; hex::prv::Provider *dataProvider = nullptr; // Create views window.addView(dataProvider, patternData); window.addView(dataProvider, patternData); window.addView(dataProvider, patternData); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(dataProvider); window.addView(); window.loop(); return 0; }