summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-04-24 14:29:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-24 09:35:51 -0700
commit98ae7b1f8657d153dd3b431638ff0110429b9d5f (patch)
treee0118971ab7d5b7601660fd65e50038a0098239d /dive.h
parenta0a3c6ec1507c86d49d7851b54d781321e3d4ef6 (diff)
downloadsubsurface-98ae7b1f8657d153dd3b431638ff0110429b9d5f.tar.gz
Don't load images too often
Factor out image load to find timestamp from loop over dives. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index c80e84128..7e6ce2cf6 100644
--- a/dive.h
+++ b/dive.h
@@ -383,7 +383,7 @@ struct picture {
for (struct picture *picture = (_divestruct).picture_list; picture; picture = picture->next)
extern struct picture *alloc_picture();
-extern bool dive_check_picture_time(struct dive *d, char *filename, int shift_time);
+extern bool dive_check_picture_time(struct dive *d, char *filename, int shift_time, timestamp_t timestamp);
extern void dive_create_picture(struct dive *d, char *filename, int shift_time);
extern void dive_add_picture(struct dive *d, struct picture *newpic);
extern void dive_remove_picture(char *filename);