summaryrefslogtreecommitdiffstats
path: root/divesite.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-08-31 21:35:17 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 18:43:09 -0700
commite36e4d1faa95439a1806935de6dcbd04d2283d20 (patch)
tree47a54f026cb0be6084d47ebff250b798df91591e /divesite.h
parent560426bf82ef7cb163d8046b722c12b76604006c (diff)
downloadsubsurface-e36e4d1faa95439a1806935de6dcbd04d2283d20.tar.gz
UI code to merge dive sites
Get the Qt data structures and convert to something that we can use in our C - core. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesite.h')
-rw-r--r--divesite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/divesite.h b/divesite.h
index b0d56f1d1..154788460 100644
--- a/divesite.h
+++ b/divesite.h
@@ -66,10 +66,12 @@ void copy_dive_site(struct dive_site *orig, struct dive_site *copy);
void clear_dive_site(struct dive_site *ds);
unsigned int get_distance(degrees_t lat1, degrees_t lon1, degrees_t lat2, degrees_t lon2);
uint32_t find_or_create_dive_site_with_name(const char *name, timestamp_t divetime);
+void merge_dive_sites(uint32_t *uuids, int count);
#define INVALID_DIVE_SITE_NAME "development use only - not a valid dive site name"
#ifdef __cplusplus
}
#endif
+
#endif // DIVESITE_H