diff options
author | Thomas White <taw@physics.org> | 2020-08-21 16:30:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-21 16:30:09 +0200 |
commit | 16d605d60a11b8513bb19829a6e3e851fa46c26a (patch) | |
tree | 6b2245ff462ba5e46ef94db5d380caaadfe2065d /src/crystfel_gui.h | |
parent | 9c57e7d61658fb79967e1b1a46c98995a1fed020 (diff) |
Redefine backend interface functions
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r-- | src/crystfel_gui.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h index 27b2e8b6..4d2dcf06 100644 --- a/src/crystfel_gui.h +++ b/src/crystfel_gui.h @@ -35,20 +35,11 @@ struct crystfel_backend { const char *name; const char *friendly_name; GtkWidget *(*make_parameters)(void); - int (*run_unitcell)(struct crystfelproject *proj, - const char *algo); + void *(*run_indexing)(struct crystfelproject *proj, + const char *algo); void (*cancel)(struct crystfelproject *proj); - void (*init)(struct crystfelproject *proj); - void (*shutdown)(struct crystfelproject *proj); }; extern const struct crystfel_backend *backends[]; - -extern void remove_infobar(struct crystfelproject *proj); - -extern GtkWidget *create_infobar(struct crystfelproject *proj, const char *task, - const char *extra_button, - void (*cbfunc)(struct crystfelproject *proj)); - #endif |