mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Generate a default name for a dive, if it doesn't have one already
The name is a string containint date, time, depth and length. So it's useful even with nothing else going on. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0ca546b31e
commit
3aa02ccba9
2 changed files with 25 additions and 0 deletions
1
dive.h
1
dive.h
|
@ -101,6 +101,7 @@ struct sample {
|
|||
};
|
||||
|
||||
struct dive {
|
||||
const char *name;
|
||||
time_t when;
|
||||
depth_t maxdepth, meandepth;
|
||||
duration_t duration, surfacetime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue