mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename 'cylinder.c' as 'equipment.c'
Make it about general equipment management, and start hooking up functions to show new equipment information when changing dives (and to flush changes to equipment information for the previously active dive). Nothing is hooked up yet, and it's now showing just one (really big) cylinder choice, so this is all broken. But it should make it possible to at least get somewhere some day. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
41bce9e5f4
commit
067506038a
7 changed files with 47 additions and 31 deletions
7
dive.h
7
dive.h
|
|
@ -175,7 +175,12 @@ static inline struct dive *get_dive(unsigned int nr)
|
|||
extern void parse_xml_init(void);
|
||||
extern void parse_xml_file(const char *filename, GError **error);
|
||||
|
||||
extern void flush_dive_info_changes(void);
|
||||
extern void show_dive_info(struct dive *);
|
||||
extern void flush_dive_info_changes(struct dive *);
|
||||
|
||||
extern void show_dive_equipment(struct dive *);
|
||||
extern void flush_dive_equipment_changes(struct dive *);
|
||||
|
||||
extern void save_dives(const char *filename);
|
||||
|
||||
static inline unsigned int dive_size(int samples)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue