|
KiCad PCB EDA Suite
|
#include <common_settings.h>
Public Attributes | |
| bool | enabled |
| Automatically back up the project when files are saved. | |
| BACKUP_FORMAT | format |
| Backup format (incremental git history vs zip archives) | |
| BACKUP_LOCATION | location |
| Where backups, history, and autosave files live. | |
| bool | backup_on_autosave |
| Trigger a backup on autosave. | |
| int | limit_total_files |
| Maximum number of backup archives to retain. | |
| int | limit_daily_files |
| Maximum files to keep per day, 0 for unlimited. | |
| int | min_interval |
| Minimum time, in seconds, between subsequent backups. | |
| unsigned long long | limit_total_size |
| Maximum total size of backups (bytes), 0 for unlimited. | |
Definition at line 76 of file common_settings.h.
| bool COMMON_SETTINGS::AUTO_BACKUP::backup_on_autosave |
Trigger a backup on autosave.
Definition at line 81 of file common_settings.h.
| bool COMMON_SETTINGS::AUTO_BACKUP::enabled |
Automatically back up the project when files are saved.
Definition at line 78 of file common_settings.h.
Referenced by PANEL_COMMON_SETTINGS::applySettingsToPanel(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PANEL_COMMON_SETTINGS::TransferDataFromWindow(), and SETTINGS_MANAGER::TriggerBackupIfNeeded().
| BACKUP_FORMAT COMMON_SETTINGS::AUTO_BACKUP::format |
Backup format (incremental git history vs zip archives)
Definition at line 79 of file common_settings.h.
Referenced by PANEL_COMMON_SETTINGS::applySettingsToPanel(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EDA_BASE_FRAME::CheckForAutosaveFiles(), EDA_BASE_FRAME::doAutoSave(), formatUsesIncrementalHistory(), PCB_EDIT_FRAME::ProjectChanged(), SCHEMATIC::SaveToHistory(), PANEL_COMMON_SETTINGS::TransferDataFromWindow(), and SETTINGS_MANAGER::TriggerBackupIfNeeded().
| int COMMON_SETTINGS::AUTO_BACKUP::limit_daily_files |
Maximum files to keep per day, 0 for unlimited.
Definition at line 83 of file common_settings.h.
Referenced by SETTINGS_MANAGER::TriggerBackupIfNeeded().
| int COMMON_SETTINGS::AUTO_BACKUP::limit_total_files |
Maximum number of backup archives to retain.
Definition at line 82 of file common_settings.h.
Referenced by SETTINGS_MANAGER::TriggerBackupIfNeeded().
| unsigned long long COMMON_SETTINGS::AUTO_BACKUP::limit_total_size |
Maximum total size of backups (bytes), 0 for unlimited.
Definition at line 87 of file common_settings.h.
Referenced by PANEL_COMMON_SETTINGS::applySettingsToPanel(), KICAD_MANAGER_FRAME::CloseProject(), PANEL_COMMON_SETTINGS::TransferDataFromWindow(), and SETTINGS_MANAGER::TriggerBackupIfNeeded().
| BACKUP_LOCATION COMMON_SETTINGS::AUTO_BACKUP::location |
Where backups, history, and autosave files live.
Definition at line 80 of file common_settings.h.
Referenced by PANEL_COMMON_SETTINGS::applySettingsToPanel(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EDA_BASE_FRAME::doAutoSave(), findAutosaveFilePairs(), SETTINGS_MANAGER::GetAutosaveRootForProject(), SETTINGS_MANAGER::GetBackupRootForProject(), SETTINGS_MANAGER::GetLocalHistoryDirForProject(), LOCAL_HISTORY::RunRegisteredSaversAsAutosaveFiles(), and PANEL_COMMON_SETTINGS::TransferDataFromWindow().
| int COMMON_SETTINGS::AUTO_BACKUP::min_interval |
Minimum time, in seconds, between subsequent backups.
Definition at line 84 of file common_settings.h.
Referenced by SETTINGS_MANAGER::TriggerBackupIfNeeded().