19#define DT_FOLDER_SURVEY_STYLES_CONF_KEY "studio_capture/styles"
20#define DT_FOLDER_SURVEY_STYLES_SEPARATOR "\x1f"
int dt_folder_survey_start()
Validate the persisted configuration and start monitoring.
void dt_folder_survey_cleanup()
Release folder survey state after control workers have stopped.
gboolean dt_folder_survey_session_was_active()
TRUE when the previous application session quit while monitoring.
char * dt_folder_survey_destination_preview()
Build the expanded destination path of a sample file from the current configuration,...
gboolean dt_folder_survey_is_active()
TRUE while the periodic folder scan is running.
void dt_folder_survey_stop()
Stop new scans before control workers begin shutting down.
void dt_folder_survey_absorb_new_files()
Record every file currently in the surveyed folder as already handled, so restarting the survey will ...
gboolean dt_folder_survey_can_start(const char **message)
Check, without any side effect, whether the persisted configuration has everything dt_folder_survey_s...
void dt_folder_survey_init()
Initialize the folder survey state from the persisted configuration.
void dt_folder_survey_halt()
User-requested stop: end monitoring and clear the persisted session marker so the next application st...
gboolean dt_folder_survey_propose_resume()
Propose to resume an interrupted studio session at application start.
int dt_folder_survey_count_new_files()
Count files in the surveyed folder that are unknown to the persisted baseline, i.e....