add more checks on unsaved documents

This commit is contained in:
2018-07-31 22:46:07 +02:00
parent 1a7677a727
commit 5c2264ba8b
3 changed files with 120 additions and 15 deletions

View File

@@ -144,7 +144,8 @@ public:
void export_equirectangular_thread(std::string file_path);
void export_anim(std::string data_path);
void export_cubes(std::string data_path);
void project_save(std::string file_path);
void project_save(std::function<void()> on_complete = nullptr);
void project_save(std::string file_path, std::function<void()> on_complete = nullptr);
void project_save_thread(std::string file_path);
void project_open(std::string file_path, std::function<void()> on_complete = nullptr);
void project_open_thread(std::string file_path);