NDEVR
API Documentation
FileAndFolderOptions

Stores ApplicationOptions related to user preferences for paths and program behavior relating to directories. More...

Collaboration diagram for FileAndFolderOptions:
[legend]

Static Public Member Functions

static File DefaultPath ()
 Returns the default base path used for file and folder operations.
static void ResetOptionsToDefaults ()
 Resets all options in this group to their factory default values.
static void SetFolderSettingsToDefaults ()
 Resets all folder path settings to their default values using the default project path.
static void SetFolderSettingsToDefaults (const File &project_path)
 Resets all folder path settings to their default values, deriving paths from the given project path.

Static Public Attributes

static ApplicationOption< TimeSpanautosave_checkpoint_duration
 The time interval between autosave checkpoint saves.
static ApplicationOption< TimeSpanautosave_duration
 The time interval between regular autosaves.
static ApplicationOption< bool > autosave_enabled
 Whether the autosave feature is enabled.
static ApplicationOption< bool > create_ascii_logs
 Whether to write log output as ASCII text files.
static ApplicationOption< Stringdefault_backup_path
 The default directory path for storing project backups.
static ApplicationOption< Stringdefault_export_path
 The default directory path for exported files.
static ApplicationOption< Stringdefault_image_path
 The default directory path for image files.
static ApplicationOption< bool > default_import_georeference
 Whether to apply georeferencing by default when importing files.
static ApplicationOption< Stringdefault_log_path
 The default directory path for log files.
static ApplicationOption< Stringdefault_project_path
 The default directory path for saving and loading projects.
static ApplicationOption< Stringdefault_video_path
 The default directory path for video files.
static TranslatedString options_label
 The translated display label for this options group.
static ApplicationOption< bool > use_project_folders
 Whether to organize files into project-specific subdirectories.
static ApplicationOption< bool > use_temp_project_folders
 Whether to use temporary folders for project data before final save.

Detailed Description

Stores ApplicationOptions related to user preferences for paths and program behavior relating to directories.


Definition at line 11 of file FileAndFolderOptions.h.

Member Function Documentation

◆ DefaultPath()

File FileAndFolderOptions::DefaultPath ( )
static

Returns the default base path used for file and folder operations.

Returns
The default File path.

◆ SetFolderSettingsToDefaults()

void FileAndFolderOptions::SetFolderSettingsToDefaults ( const File & project_path)
static

Resets all folder path settings to their default values, deriving paths from the given project path.

Parameters
[in]project_pathThe base project directory from which other default paths are derived.

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