2#include <NDEVR/QTModelManager.h>
37 virtual bool moveProject(
const SaveOptions& options);
38 virtual bool copyProject(
const SaveOptions& options);
39 virtual void userDiscardProject(
QTModelManager* manager,
bool is_blocking);
42 void updateLastBackupTime();
43 File previousBackupFile()
const;
44 void clearBackupInformation();
45 void update(
Time current_time);
46 void readINIOptions();
47 void saveINIOptions();
50 virtual void updateActiveProjectFolder(PathChangeMode mode,
Log* log =
nullptr);
52#if NDEVR_SUPPORTS_THREADING
53 Thread* autoSaveThread();
55 virtual String projectName()
const;
56 virtual File projectFile()
const;
57 virtual File projectDirectory()
const;
58 virtual File projectParentDirectory()
const;
59 virtual File activeBackupFile()
const;
60 virtual File activeLogFolder()
const;
61 virtual File activeScreenshotFolder()
const;
62 virtual File activeVideoFolder()
const;
63 virtual File defaultBrowseDirectory(
bool is_project)
const;
Definition INIReader.h:57
Definition ProjectFileManager.h:25
Time lastSaveTime() const
Definition ProjectFileManager.h:49
void exportPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
void exportPathChangedSignal(const File &path)
PathChangeMode
Definition ProjectFileManager.h:29
File m_last_save_file
Definition ProjectFileManager.h:86
bool m_is_last_save_backup
Definition ProjectFileManager.h:87
Time m_last_save_time
Definition ProjectFileManager.h:84
String m_project_name
Definition ProjectFileManager.h:81
Time m_last_project_file_check_time
Definition ProjectFileManager.h:85
void videoPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
void projectSavedSignal()
File m_project_parent_directory
Definition ProjectFileManager.h:80
void videoPathChangedSignal(const File &path)
void imagePathChangedSignal(const File &path)
void logPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
BasicThread * m_auto_save_thread
Definition ProjectFileManager.h:79
QTModelManager * m_manager
Definition ProjectFileManager.h:78
String m_runtime_log_folder
Definition ProjectFileManager.h:82
void logPathChangedSignal(const File &path)
void imagePathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
Time m_last_backup_time
Definition ProjectFileManager.h:83
Definition QTModelManager.h:94
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition ProjectFileManager.h:9
PopupInfo origin
Definition ProjectFileManager.h:16
std::function< void(bool, File)> finished_callback
Definition ProjectFileManager.h:22
SaveOptions(const File &destination)
Definition ProjectFileManager.h:12
bool path_includes_new_project_name
Definition ProjectFileManager.h:19
SaveOptions()
Definition ProjectFileManager.h:10
bool is_temp
Definition ProjectFileManager.h:20
bool is_blocking
Definition ProjectFileManager.h:18
bool write_image
Definition ProjectFileManager.h:21
Log * log
Definition ProjectFileManager.h:15
File destination
Definition ProjectFileManager.h:17