#ifndef slic3r_GUI_ConfigSnapshotDialog_hpp_ #define slic3r_GUI_ConfigSnapshotDialog_hpp_ #include "GUI.hpp" #include #include #include namespace Slic3r { namespace GUI { namespace Config { class SnapshotDB; } class ConfigSnapshotDialog : public wxDialog { public: ConfigSnapshotDialog(const Config::SnapshotDB &snapshot_db, const std::string &id); const std::string& snapshot_to_activate() const { return m_snapshot_to_activate; } private: void onLinkClicked(wxHtmlLinkEvent &event); void onCloseDialog(wxEvent &); // If set, it contains a snapshot ID to be restored after the dialog closes. std::string m_snapshot_to_activate; }; } // namespace GUI } // namespace Slic3r #endif /* slic3r_GUI_ConfigSnapshotDialog_hpp_ */