#ifndef slic3r_GUI_Init_hpp_ #define slic3r_GUI_Init_hpp_ #include #include namespace Slic3r { namespace GUI { struct OpenGLVersions { static const std::vector core_str; static const std::vector precore_str; static const std::vector> core; static const std::vector> precore; }; struct GUI_InitParams { int argc; char **argv; // Substitutions of unknown configuration values done during loading of user presets. PresetsConfigSubstitutions preset_substitutions; std::vector load_configs; DynamicPrintConfig extra_config; std::vector input_files; bool start_as_gcodeviewer; bool start_downloader; bool delete_after_load; std::string download_url; #if ENABLE_GL_CORE_PROFILE std::pair opengl_version; #if ENABLE_OPENGL_DEBUG_OPTION bool opengl_debug; #endif // ENABLE_OPENGL_DEBUG_OPTION #endif // ENABLE_GL_CORE_PROFILE }; int GUI_Run(GUI_InitParams ¶ms); } // namespace GUI } // namespace Slic3r #endif // slic3r_GUI_Init_hpp_