33#ifndef DT_COMMON_IMAGE_NOTIFY_H
34#define DT_COMMON_IMAGE_NOTIFY_H
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
G_BEGIN_DECLS typedef void(* dt_image_imported_handler_t)(const int32_t imgid)
Receives the id of one freshly imported image. Raised on the thread that did the import; a handler th...
void dt_image_notify_imported(const int32_t imgid)
Raise it. Internal to common/image.c.
void dt_image_notify_set_imported_handler(dt_image_imported_handler_t handler)
Install the handler, or NULL to remove it.