mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 01:22:37 -07:00
Implemented try/catch blocks for Slic3r exceptions and std::exceptions with GUI error reporting. This is extremely important to report corruption of PrusaSlicer.ini.
25 lines
482 B
C++
25 lines
482 B
C++
#ifndef slic3r_GUI_Init_hpp_
|
|
#define slic3r_GUI_Init_hpp_
|
|
|
|
namespace Slic3r {
|
|
namespace GUI {
|
|
|
|
struct GUI_InitParams
|
|
{
|
|
int argc;
|
|
char **argv;
|
|
|
|
std::vector<std::string> load_configs;
|
|
DynamicPrintConfig extra_config;
|
|
std::vector<std::string> input_files;
|
|
|
|
bool start_as_gcodeviewer;
|
|
};
|
|
|
|
int GUI_Run(GUI_InitParams ¶ms);
|
|
|
|
} // namespace GUI
|
|
} // namespace Slic3r
|
|
|
|
#endif slic3r_GUI_Init_hpp_
|