From d6f6658a29ed309b47a0b8fd0fc6bfdb023cb258 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 30 Nov 2020 16:43:17 +0100 Subject: Pass result to backend for merging --- src/gui_project.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/gui_project.h') diff --git a/src/gui_project.h b/src/gui_project.h index bb35eb0c..d892f7c3 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -114,6 +114,15 @@ struct merging_params { float push_res; }; +struct gui_result +{ + char *name; + + int n_streams; + char **streams; + StreamIndex **indices; +}; + struct crystfelproject; struct crystfel_backend { @@ -158,6 +167,7 @@ struct crystfel_backend { void *(*run_merging)(const char *job_title, const char *job_notes, struct crystfelproject *proj, + struct gui_result *input, void *opts_priv); /* Called to ask the backend to write its merging options */ @@ -183,15 +193,6 @@ struct gui_task void *job_priv; }; -struct gui_result -{ - char *name; - - int n_streams; - char **streams; - StreamIndex **indices; -}; - struct crystfelproject { GtkWidget *window; -- cgit v1.2.3