diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:02:17 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:02:17 -0300 |
commit | a542b25bde597b7bfe189f14a6868f711f879516 (patch) | |
tree | 5ec29dcafb9da0cc5470e5a5889aca29b54008ec /libdivecomputer.h | |
parent | c7a5d0490fa5f4e8579e6a8e0fbdc7baf7c34145 (diff) | |
download | subsurface-a542b25bde597b7bfe189f14a6868f711f879516.tar.gz |
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>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 996037c8c..3cc8bd4b3 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -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 |