diff options
author | Thomas White <taw@physics.org> | 2020-08-21 16:07:02 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-21 16:07:02 +0200 |
commit | 9c57e7d61658fb79967e1b1a46c98995a1fed020 (patch) | |
tree | a75e25d5ec05d9c50cdf9657a4eff4455272be1b /src/crystfel_gui.h | |
parent | 0f0ff14be48f5e4d9679f30286614db3d9c062d3 (diff) |
Framework for backend parameters via GUI
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r-- | src/crystfel_gui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h index 683c9261..27b2e8b6 100644 --- a/src/crystfel_gui.h +++ b/src/crystfel_gui.h @@ -33,6 +33,8 @@ struct crystfel_backend { const char *name; + const char *friendly_name; + GtkWidget *(*make_parameters)(void); int (*run_unitcell)(struct crystfelproject *proj, const char *algo); void (*cancel)(struct crystfelproject *proj); @@ -40,6 +42,8 @@ struct crystfel_backend { void (*shutdown)(struct crystfelproject *proj); }; +extern const struct crystfel_backend *backends[]; + extern void remove_infobar(struct crystfelproject *proj); |