lqr_progress_new(3) the LqrProgress object constructor

SYNOPSIS


#include <lqr.h>

LqrProgress* lqr_progress_new(void);

DESCRIPTION

The function lqr_progress_new is the constructor for LqrProgress objects. It can be used to setup a progress report indicator for rescale operations performed through lqr_carver_resize(3).

Newly created LqrProgress objects are inactive, and need to be set up using the functions lqr_progress_set_init(3), lqr_progress_set_update(3) and lqr_progress_set_end(3).

LqrProgress objects are associated to LqrCarver objects using the function lqr_carver_set_progress(3)

RETURN VALUE

The function returns the newly created LqrProgress if successful, or NULL in case of insufficient memory.

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi