summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-19 16:41:56 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-19 16:41:56 -0700
commit87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728 (patch)
treed1f03a840246adae27d1e48e42e008d3dc2dbd8f /divelist.h
parentdfacb5e124125e0e864509459d9ffef73495a3cd (diff)
downloadsubsurface-87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728.tar.gz
Update the divelist when dive info changes
This flushes the dive changes to the dive list, the way the old dive info frame would update as you update dive fields. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index e0ab1137c..46598b14f 100644
--- a/divelist.h
+++ b/divelist.h
@@ -11,9 +11,12 @@ struct DiveList {
GtkTreeViewColumn *temperature, *nitrox, *sac;
};
+struct dive;
+
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 *);
+extern void flush_divelist(struct DiveList *, struct dive *);
#endif