CamelMimeFilterProgress

CamelMimeFilterProgress

Synopsis

struct              CamelMimeFilterProgress;
CamelMimeFilter *   camel_mime_filter_progress_new      (GCancellable *cancellable,
                                                         gsize total);

Object Hierarchy

  GObject
   +----CamelObject
         +----CamelMimeFilter
               +----CamelMimeFilterProgress

Description

Details

struct CamelMimeFilterProgress

struct CamelMimeFilterProgress;

Since 2.24


camel_mime_filter_progress_new ()

CamelMimeFilter *   camel_mime_filter_progress_new      (GCancellable *cancellable,
                                                         gsize total);

Create a new CamelMimeFilterProgress object that will report streaming progress. While the function will silently accept cancellable being NULL or a plain GCancellable for convenience sake, no progress will be reported unless cancellable is a CamelOperation.

cancellable :

a CamelOperation cast as a GCancellable

total :

total number of bytes to report progress on

Returns :

a new CamelMimeFilter object

Since 2.24