diff options
Diffstat (limited to 'src/gui_project.h')
-rw-r--r-- | src/gui_project.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui_project.h b/src/gui_project.h index 34aa6f61..458ff547 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -136,6 +136,13 @@ struct gui_task void *job_priv; }; +struct gui_result +{ + char *name; + char **streams; + int n_streams; +}; + struct crystfelproject { GtkWidget *window; @@ -186,6 +193,9 @@ struct crystfelproject { struct gui_task tasks[MAX_RUNNING_TASKS]; int n_running_tasks; + + struct gui_result *results; + int n_results; }; extern enum match_type_id decode_matchtype(const char *type_id); @@ -204,4 +214,9 @@ extern void add_file_to_project(struct crystfelproject *proj, extern void clear_project_files(struct crystfelproject *proj); +extern int add_result(struct crystfelproject *proj, + char *name, + char **streams, + int n_streams); + #endif |