lqr_progress_new(3)

lqr_progress_new3

The lqrprogress object constructor

Usage

#include <lqr.h>

LqrProgress* lqr_progress_new(void);

Overview

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.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From liblqr-1-0-dev 0.4.1-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.