diff options
author | Thomas White <taw@physics.org> | 2020-03-16 11:31:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | 43a5b52f414eb6591ba8533435ae61c0a2fcd7e7 (patch) | |
tree | 3f00ccfd0ddae866b0f2967cca4dba5d2d6796f5 /src/gui_backend_local.c | |
parent | 6ec178c76a4298680f497b3a043ec1198d3a66b2 (diff) |
Skeleton indexing and backend stuff
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 44 |
1 files changed, 44 insertions, 0 deletions
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 <taw@physics.org> + * + * 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 <http://www.gnu.org/licenses/>. + * + */ + + +#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; |