diff options
author | Gehad <gehadelrobey@gmail.com> | 2014-03-20 22:57:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-21 21:26:09 -0700 |
commit | 8ca4437624ad84b9bec934436cc42182e96f359a (patch) | |
tree | ff84eba5c3adc66307509904fb47071f5b828707 /dive.h | |
parent | cc2369c5f9dbaebb8fae2e652e27f189d0454fc1 (diff) | |
download | subsurface-8ca4437624ad84b9bec934436cc42182e96f359a.tar.gz |
Add current time and adjusted time to gui when adjusting dive's timestamp
This patch adds the current dive time and the adjusted time to the time
shift window. I added a function to dive.c to get the timestamp of the
first selected dive.
This will view the time of the first selected dive only even when multi
dives are selected but it does change the times for multiple dives
properly.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -722,6 +722,7 @@ extern struct zip *subsurface_zip_open_readonly(const char *path, int flags, int extern int subsurface_zip_close(struct zip *zip); extern void shift_times(const timestamp_t amount); +extern timestamp_t get_times(); extern xsltStylesheetPtr get_stylesheet(const char *name); |