Classes | |
| class | Snapshot |
| class | SnapshotDB |
| struct | Version |
| class | Index |
Functions | |
| static std::string | reason_string (const Snapshot::Reason reason) |
| static void | copy_config_dir_single_level (const boost::filesystem::path &path_src, const boost::filesystem::path &path_dst) |
| static void | delete_existing_ini_files (const boost::filesystem::path &path) |
| const Snapshot * | take_config_snapshot_report_error (const AppConfig &app_config, Snapshot::Reason reason, const std::string &comment) |
| bool | take_config_snapshot_cancel_on_error (const AppConfig &app_config, Snapshot::Reason reason, const std::string &comment, const std::string &message) |
| static int | compare_prerelease (const char *p1, const char *p2) |
| char * | left_trim (char *c) |
| char * | right_trim (char *start) |
| std::string | unquote_value (char *value, char *end, const std::string &path, int idx_line) |
| std::string | unquote_version_comment (char *value, char *end, const std::string &path, int idx_line) |
Variables | |
| static constexpr auto | snapshot_subdirs = { PRESET_PRINT_NAME, PRESET_SLA_PRINT_NAME, PRESET_FILAMENT_NAME, PRESET_SLA_MATERIALS_NAME, PRESET_PRINTER_NAME, "physical_printer", PRESET_SYSTEM_DIR } |
|
static |
Referenced by Slic3r::GUI::Config::Version::is_slic3r_supported().
|
static |
References Slic3r::copy_file(), Slic3r::GUI::format(), Slic3r::is_ini_file(), and Slic3r::SUCCESS.
Referenced by Slic3r::GUI::Config::SnapshotDB::restore_snapshot(), and Slic3r::GUI::Config::SnapshotDB::take_snapshot().
|
static |
Referenced by Slic3r::GUI::Config::SnapshotDB::restore_snapshot().
|
inline |
Referenced by Slic3r::GUI::Config::Index::load().
|
static |
References Slic3r::GUI::Config::Snapshot::SNAPSHOT_BEFORE_ROLLBACK, Slic3r::GUI::Config::Snapshot::SNAPSHOT_DOWNGRADE, Slic3r::GUI::Config::Snapshot::SNAPSHOT_UNKNOWN, Slic3r::GUI::Config::Snapshot::SNAPSHOT_UPGRADE, and Slic3r::GUI::Config::Snapshot::SNAPSHOT_USER.
Referenced by Slic3r::GUI::Config::Snapshot::save_ini().
|
inline |
Referenced by Slic3r::GUI::Config::Index::load().
| bool Slic3r::GUI::Config::take_config_snapshot_cancel_on_error | ( | const AppConfig & | app_config, |
| Snapshot::Reason | reason, | ||
| const std::string & | comment, | ||
| const std::string & | message ) |
References _L, Slic3r::GUI::from_u8(), Slic3r::GUI::RichMessageDialog::SetYesNoLabels(), Slic3r::GUI::RichMessageDialog::ShowModal(), Slic3r::GUI::Config::SnapshotDB::singleton(), and Slic3r::GUI::Config::SnapshotDB::take_snapshot().
| const Snapshot * Slic3r::GUI::Config::take_config_snapshot_report_error | ( | const AppConfig & | app_config, |
| Snapshot::Reason | reason, | ||
| const std::string & | comment ) |
References _L, Slic3r::GUI::from_u8(), Slic3r::GUI::show_error(), Slic3r::GUI::Config::SnapshotDB::singleton(), and Slic3r::GUI::Config::SnapshotDB::take_snapshot().
|
inline |
References Slic3r::unescape_string_cstyle().
Referenced by Slic3r::GUI::Config::Index::load().
|
inline |
References Slic3r::unescape_string_cstyle().
Referenced by Slic3r::GUI::Config::Index::load().
|
staticconstexpr |
Referenced by Slic3r::GUI::Config::Snapshot::equal_to_active(), Slic3r::GUI::Config::SnapshotDB::restore_snapshot(), and Slic3r::GUI::Config::SnapshotDB::take_snapshot().