List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
Subject: Re: Feature request: Abortable progress callbacks
Date: Mon, 13 Nov 2017 11:39:02 +0100

On Fri, Nov 10, 2017 at 10:07:53PM +0100, Andreas Falkenhahn wrote:
> So zip_register_progress_callback_with_state() allows me to implement some 
> kind
> of status bar visualizing writing progress. However, AFAICS, it's not 
> possible to
> implement an "Abort" or "Cancel" button because the callback doesn't provide
> any mechanism to tell zip_close() to stop its job. I think it would be nice 
> to have
> a mechanism that would allow the implementation of an "Abort" button, e.g. by
> having a progress callback that returns TRUE to abort or FALSE to continue
> or something like that....
> 
> Or is this already possible and I'm just not seeing it?

This is currently not supported. I've added it to the TODO file.

Cheers,
 Thomas

Made by MHonArc.