aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-02 12:13:20 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commita9abdf26bcece9846fefd79497b16c4c24cf6772 (patch)
treea68c1b4eec832d82b4d7643ba1d685e2704ced2c /src/gui_project.h
parentcaaf96b2c39a0f3c39f6e87d67b628281410c858 (diff)
Add default_project (and add Stream to GUI project struct)
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index 5056e8b9..1b2e2525 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -32,6 +32,7 @@
#include <gtk/gtk.h>
#include <peaks.h>
+#include <stream.h>
enum match_type_id
{
@@ -85,6 +86,7 @@ struct crystfelproject {
* 'filenames' list should be complete */
enum match_type_id data_search_pattern;
+ Stream *stream;
int n_frames;
int max_frames;
char **filenames;
@@ -114,6 +116,8 @@ extern int match_filename(const char *fn, enum match_type_id mt);
extern int load_project(struct crystfelproject *proj);
+extern void default_project(struct crystfelproject *proj);
+
extern int save_project(struct crystfelproject *proj);
extern void add_file_to_project(struct crystfelproject *proj,