Open Save in the project folder and offer the last name with a number counted on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Si
2026-09-26 20:24:10 +02:00
co-authored by Claude Opus 5.5
parent ac8b62208c
commit 8537a3cf0a
6 changed files with 68 additions and 2 deletions
+5
View File
@@ -54,4 +54,9 @@ Project projectFromJson(const std::string& text, const std::string& directory =
void saveProject(const std::string& path, const Project& project);
Project loadProject(const std::string& path);
// The name to offer for the next export after `previous`: its stem with the
// trailing `-N` counted on (`city.png` → `city-1.png`, `city-4.png` →
// `city-5.png`), skipping any that already exist in its folder.
std::string nextExportPath(const std::string& previous);
} // namespace effector