From 43a5b52f414eb6591ba8533435ae61c0a2fcd7e7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 16 Mar 2020 11:31:47 +0100 Subject: Skeleton indexing and backend stuff --- src/gui_backend_local.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/gui_backend_local.c (limited to 'src/gui_backend_local.c') diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c new file mode 100644 index 00000000..4c81c35c --- /dev/null +++ b/src/gui_backend_local.c @@ -0,0 +1,44 @@ +/* + * gui_backend_local.c + * + * GUI backend for running jobs on the local machine + * + * Copyright © 2020 Deutsches Elektronen-Synchrotron DESY, + * a research centre of the Helmholtz Association. + * + * Authors: + * 2020 Thomas White + * + * This file is part of CrystFEL. + * + * CrystFEL is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * CrystFEL is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with CrystFEL. If not, see . + * + */ + + +#include "crystfel_gui.h" + +static int run_unitcell(struct crystfelproject *proj) +{ + STATUS("run unit cell!\n"); + return 0; +} + + +struct crystfel_backend _backend_local = + { + .run_unitcell = run_unitcell, + }; + +struct crystfel_backend *backend_local = &_backend_local; -- cgit v1.2.3