aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-25 15:53:34 +0200
committerThomas White <taw@physics.org>2020-08-25 15:56:25 +0200
commitc783ee20a9c3297f097429ac02595628981e1555 (patch)
tree4edb0adce674e16f76fc7dd856c4738fe70d1072 /src/crystfel_gui.h
parent0f96cae079fe8b278819c572dc56b4d40dc47c06 (diff)
Create a progress bar for each running job
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r--src/crystfel_gui.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h
new file mode 100644
index 00000000..d0a4efcb
--- /dev/null
+++ b/src/crystfel_gui.h
@@ -0,0 +1,39 @@
+/*
+ * crystfel_gui.h
+ *
+ * CrystFEL's main graphical user interface
+ *
+ * Copyright © 2020 Deutsches Elektronen-Synchrotron DESY,
+ * a research centre of the Helmholtz Association.
+ *
+ * Authors:
+ * 2020 Thomas White <taw@physics.org>
+ *
+ * This file is part of CrystFEL.
+ *
+ * CrystFEL is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CrystFEL is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CrystFEL. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef CRYSTFEL_GUI_H
+#define CRYSTFEL_GUI_H
+
+#include "gui_project.h"
+
+extern void add_running_task(struct crystfelproject *proj,
+ const char *task_desc,
+ struct crystfel_backend *backend,
+ void *job_priv);
+
+#endif