![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <glib.h>
Include dependency graph for import.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef enum dt_import_filter_type_t | dt_import_filter_type_t |
Enumerations | |
| enum | dt_import_filter_type_t { DT_IMPORT_FILTER_ALL = 0 , DT_IMPORT_FILTER_RAW , DT_IMPORT_FILTER_RASTER } |
Functions | |
| void | dt_images_import () |
| void | dt_gui_import_init_handlers (void) |
| Register the GUI-side import handlers (the discarded-files recap dialog). | |
| gboolean | dt_import_passes_filter (const dt_import_filter_type_t filter_type, const gchar *pathname) |
| typedef enum dt_import_filter_type_t dt_import_filter_type_t |
Mirrors the 3 GtkFileFilter entries built by _file_filters() in gui/import.c: the file-type choice offered by the Import dialog, and reused wherever else the app needs to ask the same question (e.g. importing a dropped folder via drag-and-drop).
Mirrors the 3 GtkFileFilter entries built by _file_filters() in gui/import.c: the file-type choice offered by the Import dialog, and reused wherever else the app needs to ask the same question (e.g. importing a dropped folder via drag-and-drop).
| Enumerator | |
|---|---|
| DT_IMPORT_FILTER_ALL | |
| DT_IMPORT_FILTER_RAW | |
| DT_IMPORT_FILTER_RASTER | |
Register the GUI-side import handlers (the discarded-files recap dialog).
Definition at line 1789 of file import.c.
References _import_discarded_files_schedule(), and dt_control_import_set_discarded_files_handler().
Referenced by dt_gui_gtk_init().
| void dt_images_import | ( | ) |
Definition at line 1634 of file import.c.
References _init(), d, and gui_init().
Referenced by append_file().
| gboolean dt_import_passes_filter | ( | const dt_import_filter_type_t | filter_type, |
| const gchar * | pathname | ||
| ) |
TRUE if pathname is a supported image file matching filter_type. The single source of truth for that question – shared with the Import dialog's own recursive scan – so a caller adding a second filtered folder-scan (e.g. drag-and-drop) can never drift from what the dialog itself considers a match.
Definition at line 203 of file import.c.
References dt_image_ext_is_gui_raster(), dt_image_ext_is_gui_raw(), DT_IMPORT_FILTER_ALL, DT_IMPORT_FILTER_RAW, dt_supported_image(), extension(), FALSE, IS_NULL_PTR, and TRUE.
Referenced by _dnd_recurse_folder(), and _filter_document().