From 4751409e51151ef0987720a321b0ca4a88a534a5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 4 Sep 2020 12:16:57 +0200 Subject: API for looking up results via gui_result --- src/gui_project.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/gui_project.h') diff --git a/src/gui_project.h b/src/gui_project.h index 36438517..c241b6f8 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -139,8 +139,10 @@ struct gui_task struct gui_result { char *name; - char **streams; + int n_streams; + char **streams; + StreamIndex **indices; }; struct crystfelproject { @@ -219,4 +221,9 @@ extern int add_result(struct crystfelproject *proj, char **streams, int n_streams); +extern struct image *find_result(struct crystfelproject *proj, + const char *result_name, + const char *filename, + const char *event); + #endif -- cgit v1.2.3