From f7cef79ae1c8db2770f067735698850ef88da04e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 22 Feb 2021 15:56:40 +0100 Subject: Read job progress from written log files, even for local BE This simplifies the backends somewhat, and makes them look more similar - e.g. there is now only one routine to find out how far along a merging job is. It has the added bonus of adding a log file for local jobs, which we would've had to add soon anyway. --- src/crystfel_gui.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/crystfel_gui.h') diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h index fd80c9d1..61d39f60 100644 --- a/src/crystfel_gui.h +++ b/src/crystfel_gui.h @@ -38,6 +38,15 @@ struct gui_job_notes_page }; +enum gui_job_type +{ + GUI_JOB_INDEXING, + GUI_JOB_PROCESS_HKL, + GUI_JOB_PROCESS_HKL_SCALE, + GUI_JOB_PARTIALATOR, + GUI_JOB_AMBIGATOR, +}; + extern void add_running_task(struct crystfelproject *proj, const char *task_desc, struct crystfel_backend *backend, -- cgit v1.2.3