From ef821b9bc294efc17272cd94ed1b05c2b6831a73 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 24 Sep 2019 10:38:07 +0200 Subject: Skeleton GTK3 program --- crystfel-demo.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 crystfel-demo.c (limited to 'crystfel-demo.c') 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 + * + * 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 + + +int main(int argc, char *argv[]) +{ + gtk_init(&argc, &argv); + + gtk_main(); + + return 0; +} -- cgit v1.2.3