diff options
author | Thomas White <taw@physics.org> | 2020-08-25 11:42:21 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-25 12:31:32 +0200 |
commit | 30a11737e799faa335d049cc9018ada08cf3442e (patch) | |
tree | 4eddb2413ac29d26f05b6cfafa6fb829da7a859e /src/crystfel_gui.h | |
parent | 16d605d60a11b8513bb19829a6e3e851fa46c26a (diff) |
Final (?) version of backend API
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r-- | src/crystfel_gui.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h deleted file mode 100644 index 4d2dcf06..00000000 --- a/src/crystfel_gui.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * crystfel_gui.h - * - * CrystFEL's main graphical user interface - * - * 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/>. - * - */ - -#ifndef CRYSTFEL_GUI_H -#define CRYSTFEL_GUI_H - -#include "gui_project.h" - -struct crystfel_backend { - const char *name; - const char *friendly_name; - GtkWidget *(*make_parameters)(void); - void *(*run_indexing)(struct crystfelproject *proj, - const char *algo); - void (*cancel)(struct crystfelproject *proj); -}; - -extern const struct crystfel_backend *backends[]; - -#endif |