summaryrefslogtreecommitdiffstats
path: root/uemis.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2015-09-19 21:09:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-19 21:30:33 -0700
commite4d2092f339008b2a0180e57501e85683f20aba0 (patch)
tree0b18b46846523f40b79cdaa30a85aff805baf464 /uemis.h
parentad0806406b724b4d0007698e4cca208d90cf650f (diff)
downloadsubsurface-e4d2092f339008b2a0180e57501e85683f20aba0.tar.gz
Uemis downloader: start downloading using the correct dive ID
The logic to pick the initial dive ID for the uemis downloader was very confused, and did not work at all when restarting a download when the Uemis filled up, and the "Force download all dives" flag was set. It also required a rather odd Uemis-specific callback from the download UI because of how it picked the initial ID. This changes the logic to just look at the list of downloaded dives when restarting, which simplifies the logic a lot, gets rid of the odd special callback, and also means that the whole "Force download" issue just goes away. It seems to work now. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis.h')
-rw-r--r--uemis.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/uemis.h b/uemis.h
index 90ae99028..5f32fe76c 100644
--- a/uemis.h
+++ b/uemis.h
@@ -16,7 +16,6 @@ void uemis_parse_divelog_binary(char *base64, void *divep);
int uemis_get_weight_unit(int diveid);
void uemis_mark_divelocation(int diveid, int divespot, uint32_t dive_site_uuid);
void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude);
-void uemis_set_max_diveid_from_dialog(int diveid);
int uemis_get_divespot_id_by_diveid(uint32_t diveid);
typedef struct