aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-01-20 16:25:14 +0100
committerThomas White <taw@physics.org>2021-01-20 16:25:14 +0100
commitb1ad534716b532a54103200fb0749aa82b929fde (patch)
treec8c3a46a0065a9fd739abf9263d7d0957d904dbc /src/gui_project.h
parentb3c159fc276c3c8032b05a010495d0a255f06dda (diff)
GUI: Implement merge results
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index bb85be43..62503e6f 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -123,6 +123,12 @@ struct gui_indexing_result
StreamIndex **indices;
};
+struct gui_merge_result
+{
+ char *name;
+ char *hkl;
+};
+
struct crystfelproject;
struct crystfel_backend {
@@ -256,6 +262,9 @@ struct crystfelproject {
struct gui_indexing_result *results;
int n_results;
+
+ struct gui_merge_result *merge_results;
+ int n_merge_results;
};
extern enum match_type_id decode_matchtype(const char *type_id);
@@ -287,4 +296,8 @@ extern struct image *find_indexed_image(struct crystfelproject *proj,
extern struct gui_indexing_result *find_indexing_result_by_name(struct crystfelproject *proj,
const char *name);
+extern int add_merge_result(struct crystfelproject *proj,
+ char *name,
+ char *hkl);
+
#endif