summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 13:25:05 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 13:25:05 -0700
commit42f627b8b1cf7e929a30c0a07a5fb44a4cec9e1f (patch)
tree0e42e51ce46d386a8366478fcc3d66ad5b19ce1f /divelist.h
parentaa416e3c96dfa53db5ae277e72f6a03821c45cac (diff)
downloadsubsurface-42f627b8b1cf7e929a30c0a07a5fb44a4cec9e1f.tar.gz
Libdivecomputer: start actually importing the dive data
So this actually reports the dive data that libdivecomputer generates. It doesn't import special events etc, but neither do we for the xml importer. It is also slow as heck, since it doesn't try to do the "hey, I already have this dive" logic and always imports everything, but the basics are definitely there. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 797a89641..c046a879a 100644
--- a/divelist.h
+++ b/divelist.h
@@ -10,6 +10,7 @@ struct DiveList {
GtkTreeViewColumn *date, *depth, *duration;
};
+extern struct DiveList dive_list;
extern struct DiveList dive_list_create(void);
extern void dive_list_update_dives(struct DiveList);
extern void update_dive_list_units(struct DiveList *);