NDEVR
API Documentation
SaveOptions

Options for saving an NDEVR project. More...

Collaboration diagram for SaveOptions:
[legend]

Public Member Functions

 SaveOptions (const File &destination)
 Constructs save options with a destination file.

Public Attributes

File destination
 The destination file path for the save operation.
std::function< void(bool, File)> finished_callback
 Callback invoked when the save finishes, with success status and path.
bool is_blocking = false
 Whether the save should block the calling thread until complete.
bool is_temp = false
 Whether this is a temporary save (e.g., auto-save).
LogPtr log
 The log to write save progress and errors to.
PopupInfo origin
 Popup info for positioning save-related dialogs.
bool path_includes_new_project_name = false
 Whether the destination path already includes the new project name.
bool write_image = true
 Whether to write the project preview image.

Detailed Description

Options for saving an NDEVR project.


Definition at line 11 of file ProjectFileManager.h.

Constructor & Destructor Documentation

◆ SaveOptions()

SaveOptions::SaveOptions ( const File & destination)
inline

Constructs save options with a destination file.

Parameters
[in]destinationThe file path to save to.

Definition at line 19 of file ProjectFileManager.h.

References destination.


The documentation for this struct was generated from the following file: