mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			794 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			794 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef slic3r_GUI_Init_hpp_
 | |
| #define slic3r_GUI_Init_hpp_
 | |
| 
 | |
| #include <libslic3r/Preset.hpp>
 | |
| #include <libslic3r/PrintConfig.hpp>
 | |
| 
 | |
| namespace Slic3r {
 | |
| 
 | |
| namespace GUI {
 | |
| 
 | |
| struct GUI_InitParams
 | |
| {
 | |
| 	int		                    argc;
 | |
| 	char	                  **argv;
 | |
| 
 | |
| 	// Substitutions of unknown configuration values done during loading of user presets.
 | |
| 	PresetsConfigSubstitutions  preset_substitutions;
 | |
| 
 | |
|     std::vector<std::string>    load_configs;
 | |
|     DynamicPrintConfig          extra_config;
 | |
|     std::vector<std::string>    input_files;
 | |
| 
 | |
|     //BBS: remove start_as_gcodeviewer logic
 | |
| 	//bool	                    start_as_gcodeviewer;
 | |
| 	bool                        input_gcode { false };
 | |
| };
 | |
| 
 | |
| int GUI_Run(GUI_InitParams ¶ms);
 | |
| 
 | |
| } // namespace GUI
 | |
| } // namespace Slic3r
 | |
| 
 | |
| #endif // slic3r_GUI_Init_hpp_
 | 
