diff options
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index e485ed35..fc729a41 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -284,13 +284,21 @@ static void init_backend(struct crystfelproject *proj) } +static GtkWidget *make_parameters(void) +{ + return gtk_label_new("Local params"); +} + + struct crystfel_backend _backend_local = { .name = "local", + .friendly_name = "Local (run on this computer)", + .make_parameters = make_parameters, .init = init_backend, .shutdown = shutdown_backend, .run_unitcell = run_unitcell, .cancel = cancel, }; -struct crystfel_backend *backend_local = &_backend_local; +const struct crystfel_backend *backend_local = &_backend_local; |