aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-22 18:12:30 +0300
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-22 18:12:30 +0300
commitf9cb526c969488e6a12d7fe2baf4a71417521460 (patch)
tree42d039682aebde284b602bb4d9dbc9990250ac41 /dive.h
parent567c945714e0f627b8b7fe638d925b91b8397a9a (diff)
downloadsubsurface-f9cb526c969488e6a12d7fe2baf4a71417521460.tar.gz
Add cylinder data to cylinder model as we record each dive
This way the cylinder model list will contain all the different cylinders that we have ever seen, rather than only containing the models that we have *edited*. That makes it much more practical to add new dives with the same cylinders that we've used before, because now those cylinders will show up as cylinder models even if we haven't looked and edited the old dives first. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index f29712e2c..824063bb4 100644
--- a/dive.h
+++ b/dive.h
@@ -259,6 +259,7 @@ extern void run_ui(void);
extern void report_error(GError* error);
+extern void add_cylinder_description(cylinder_type_t *);
extern void dive_list_update_dives(void);
extern void flush_divelist(struct dive *dive);