aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-22 15:56:40 +0100
committerThomas White <taw@physics.org>2021-02-22 15:56:40 +0100
commitf7cef79ae1c8db2770f067735698850ef88da04e (patch)
treed4891f091ffb1051a917559f9d365d6e97023f0e /src/crystfel_gui.h
parent32ee8110102b2c939c3fcc966a41587d1bb9d316 (diff)
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.
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r--src/crystfel_gui.h9
1 files changed, 9 insertions, 0 deletions
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,