From c5abcd75f237c3fc03e13a9550404a3a391b31c6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 8 Sep 2020 12:03:00 +0200 Subject: Just use project structure in backends We have to pass the crystfelproject anyway, to add the new results to the list. It seems messy to pass everything else separately, when at this moment the values must be exactly what is in the project structure anyway. --- src/gui_project.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/gui_project.h') diff --git a/src/gui_project.h b/src/gui_project.h index af0335bb..d830473b 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -99,14 +99,8 @@ struct crystfel_backend { * It should return a void pointer representing this job */ void *(*run_indexing)(const char *job_title, const char *job_notes, - char **filenames, - char **events, - int n_frames, - char *geom_filename, - struct peak_params *peak_search_params, - struct index_params *indexing_params, - void *opts_priv, - struct crystfelproject *proj); + struct crystfelproject *proj, + void *opts_priv); /* Called to ask the backend to cancel the job */ void (*cancel_task)(void *job_priv); -- cgit v1.2.3