2#include <NDEVR/QTModelManager.h>
59#if NDEVR_SUPPORTS_THREADING
A class that allows user to use a function inline to execute something.
Definition BasicThread.h:45
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Contains methods for easily reading and writing to an INI file including efficient casting,...
Definition INIReader.h:68
Serves as the primary program interface for processes to report issues and allows any number of LogSt...
Definition Log.h:48
Manages writing to the NDV file and any folder operations for projects. Also responsible for creating...
Definition ProjectFileManager.h:32
virtual void userDiscardProject(QTModelManager *manager, bool is_blocking)
virtual File projectParentDirectory() const
Thread * autoSaveThread()
Time lastSaveTime() const
Definition ProjectFileManager.h:56
virtual File activeLogFolder() const
void exportPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
void exportPathChangedSignal(const File &path)
PathChangeMode
Definition ProjectFileManager.h:36
virtual File activeScreenshotFolder() const
virtual File defaultBrowseDirectory(bool is_project) const
File m_last_save_file
Definition ProjectFileManager.h:93
bool m_is_last_save_backup
Definition ProjectFileManager.h:94
virtual bool moveProject(const SaveOptions &options)
virtual bool saveProject(const SaveOptions &options=SaveOptions())
Time m_last_save_time
Definition ProjectFileManager.h:91
virtual File activeVideoFolder() const
File previousBackupFile() const
virtual File projectDirectory() const
virtual String projectName() const
virtual INIFactory getINI()
virtual bool copyProject(const SaveOptions &options)
virtual File projectFile() const
String m_project_name
Definition ProjectFileManager.h:88
Time m_last_project_file_check_time
Definition ProjectFileManager.h:92
void videoPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
virtual void updateActiveProjectFolder(PathChangeMode mode, Log *log=nullptr)
void projectSavedSignal()
File m_project_parent_directory
Definition ProjectFileManager.h:87
void videoPathChangedSignal(const File &path)
virtual bool userSaveProject(const SaveOptions &options=SaveOptions())
void clearBackupInformation()
void imagePathChangedSignal(const File &path)
void logPathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
BasicThread * m_auto_save_thread
Definition ProjectFileManager.h:86
void update(Time current_time)
QTModelManager * m_manager
Definition ProjectFileManager.h:85
String m_runtime_log_folder
Definition ProjectFileManager.h:89
void updateLastBackupTime()
void logPathChangedSignal(const File &path)
virtual File activeBackupFile() const
ProjectFileManager(QTModelManager *manager)
void imagePathAboutToChangeSignal(const File &new_path, PathChangeMode mode)
Time m_last_backup_time
Definition ProjectFileManager.h:90
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
The core String class for the NDEVR API.
Definition String.h:69
A thread is a single sequence stream within the software.
Definition Thread.h:67
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Options for saving an NDEVR project.
Definition ProjectFileManager.h:12
PopupInfo origin
Definition ProjectFileManager.h:19
std::function< void(bool, File)> finished_callback
Definition ProjectFileManager.h:25
SaveOptions(const File &destination)
Definition ProjectFileManager.h:15
bool path_includes_new_project_name
Definition ProjectFileManager.h:22
SaveOptions()
Definition ProjectFileManager.h:13
bool is_temp
Definition ProjectFileManager.h:23
bool is_blocking
Definition ProjectFileManager.h:21
bool write_image
Definition ProjectFileManager.h:24
Log * log
Definition ProjectFileManager.h:18
File destination
Definition ProjectFileManager.h:20