2018-03-13 11:39:57 +00:00
|
|
|
#ifndef slic3r_ConfigWizard_hpp_
|
|
|
|
#define slic3r_ConfigWizard_hpp_
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
class PresetBundle;
|
2018-04-16 14:52:11 +00:00
|
|
|
class PresetUpdater;
|
2018-03-13 11:39:57 +00:00
|
|
|
|
|
|
|
namespace GUI {
|
|
|
|
|
|
|
|
|
|
|
|
class ConfigWizard: public wxDialog
|
|
|
|
{
|
|
|
|
public:
|
2018-04-18 09:40:43 +00:00
|
|
|
ConfigWizard(wxWindow *parent, bool startup, bool empty_datadir);
|
2018-03-13 11:39:57 +00:00
|
|
|
ConfigWizard(ConfigWizard &&) = delete;
|
|
|
|
ConfigWizard(const ConfigWizard &) = delete;
|
|
|
|
ConfigWizard &operator=(ConfigWizard &&) = delete;
|
|
|
|
ConfigWizard &operator=(const ConfigWizard &) = delete;
|
|
|
|
~ConfigWizard();
|
|
|
|
|
2018-04-16 14:52:11 +00:00
|
|
|
void run(PresetBundle *preset_bundle, PresetUpdater *updater);
|
2018-04-17 09:54:59 +00:00
|
|
|
|
|
|
|
static const wxString& name();
|
2018-03-13 11:39:57 +00:00
|
|
|
private:
|
|
|
|
struct priv;
|
|
|
|
std::unique_ptr<priv> p;
|
|
|
|
|
|
|
|
friend class ConfigWizardPage;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|