aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-08 12:03:00 +0200
committerThomas White <taw@physics.org>2020-09-08 16:16:48 +0200
commitc5abcd75f237c3fc03e13a9550404a3a391b31c6 (patch)
tree775cd12819b1eb2b7c512aa14bf5eb2a6659b8cb /src/gui_project.h
parent1501d5ff2d0eb6d485beed579d5e1051682d5cc5 (diff)
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.
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h10
1 files changed, 2 insertions, 8 deletions
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);