diff options
author | Thomas White <taw@physics.org> | 2019-09-24 10:38:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-24 10:38:07 +0200 |
commit | ef821b9bc294efc17272cd94ed1b05c2b6831a73 (patch) | |
tree | 6031f14fbd2b64462754d3a161ec7fb3ee1a9071 /crystfel-demo.c |
Skeleton GTK3 program
Diffstat (limited to 'crystfel-demo.c')
-rw-r--r-- | crystfel-demo.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crystfel-demo.c b/crystfel-demo.c new file mode 100644 index 0000000..64d5a15 --- /dev/null +++ b/crystfel-demo.c @@ -0,0 +1,40 @@ +/* + * crystfel-demo.c + * + * CrystFEL demo program + * + * Copyright © 2019 Deutsches Elektronen-Synchrotron DESY, + * a research centre of the Helmholtz Association. + * + * Authors: + * 2019 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 <gtk/gtk.h> + + +int main(int argc, char *argv[]) +{ + gtk_init(&argc, &argv); + + gtk_main(); + + return 0; +} |