Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
pipeline_notify.c File Reference
#include "develop/pipeline_notify.h"
#include "system/mem_alloc.h"
#include <stdarg.h>
+ Include dependency graph for pipeline_notify.c:

Go to the source code of this file.

Functions

void dt_pipeline_set_message_handler (dt_pipeline_message_handler_t handler)
 Install the handler, or NULL to remove it. Messages raised with none installed are dropped.
 
void dt_pipeline_message (const char *format,...)
 
void dt_pipeline_set_busy_handler (dt_pipeline_busy_handler_t handler)
 
void dt_pipeline_busy_printf (const char *format,...)
 
void dt_pipeline_busy_clear (void)
 Processing finished; clear the banner.
 

Variables

static dt_pipeline_message_handler_t _message_handler = NULL
 
static dt_pipeline_busy_handler_t _busy_handler = NULL
 

Function Documentation

◆ dt_pipeline_busy_clear()

void dt_pipeline_busy_clear ( void  )

Processing finished; clear the banner.

Definition at line 74 of file pipeline_notify.c.

References _busy_handler, and dt_pipeline_busy_handler_t.

Referenced by dt_dev_pixelpipe_process_rec().

◆ dt_pipeline_busy_printf()

void dt_pipeline_busy_printf ( const char *  format,
  ... 
)

Definition at line 57 of file pipeline_notify.c.

References _busy_handler, dt_free, and dt_pipeline_busy_handler_t.

Referenced by dt_dev_pixelpipe_process_rec().

◆ dt_pipeline_message()

◆ dt_pipeline_set_busy_handler()

void dt_pipeline_set_busy_handler ( dt_pipeline_busy_handler_t  handler)

Definition at line 52 of file pipeline_notify.c.

References _busy_handler.

Referenced by dt_init().

◆ dt_pipeline_set_message_handler()

void dt_pipeline_set_message_handler ( dt_pipeline_message_handler_t  handler)

Install the handler, or NULL to remove it. Messages raised with none installed are dropped.

Definition at line 30 of file pipeline_notify.c.

References _message_handler.

Referenced by dt_init().

Variable Documentation

◆ _busy_handler

dt_pipeline_busy_handler_t _busy_handler = NULL
static

◆ _message_handler

dt_pipeline_message_handler_t _message_handler = NULL
static

Definition at line 27 of file pipeline_notify.c.

Referenced by dt_pipeline_message(), and dt_pipeline_set_message_handler().