mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added code to cancel the thread.
I think it's self explanatory - When user clicks on 'Cancel', the interface will wait for the trhead to quit then will close itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
c7a5d0490f
commit
a542b25bde
4 changed files with 24 additions and 13 deletions
|
@ -29,6 +29,10 @@ typedef struct device_data_t {
|
|||
|
||||
const char *do_libdivecomputer_import(device_data_t *data);
|
||||
|
||||
extern int import_thread_cancelled;
|
||||
extern const char *progress_bar_text;
|
||||
extern double progress_bar_fraction;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue