1 #ifndef slic3r_GUI_Init_hpp_
2 #define slic3r_GUI_Init_hpp_
3 
4 #include <libslic3r/Preset.hpp>
5 #include <libslic3r/PrintConfig.hpp>
6 
7 namespace Slic3r {
8 
9 namespace GUI {
10 
11 struct GUI_InitParams
12 {
13 	int		                    argc;
14 	char	                  **argv;
15 
16 	// Substitutions of unknown configuration values done during loading of user presets.
17 	PresetsConfigSubstitutions  preset_substitutions;
18 
19     std::vector<std::string>    load_configs;
20     DynamicPrintConfig          extra_config;
21     std::vector<std::string>    input_files;
22 
23 	bool	                    start_as_gcodeviewer;
24 };
25 
26 int GUI_Run(GUI_InitParams &params);
27 
28 } // namespace GUI
29 } // namespace Slic3r
30 
31 #endif // slic3r_GUI_Init_hpp_
32