From ba43745c2b8a764088a3bf39485849c0ec64a1ac Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Tue, 8 May 2018 23:56:30 +0300 Subject: server: add an initial GTK UI front-end. --- src/server/gtk.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/server/gtk.h (limited to 'src/server/gtk.h') diff --git a/src/server/gtk.h b/src/server/gtk.h new file mode 100644 index 0000000..d2b716a --- /dev/null +++ b/src/server/gtk.h @@ -0,0 +1,27 @@ +/* + * Hot Beverage Companion – desktop application gtk ui + * + * Copyright (C) 2018 Gediminas Jakutis + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; version 2.1 + * of the License. + * + * This program 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef GTK_H_INCLUDED +#define GTK_H_INCLUDED + +int gtkui_init(int *argc, char ***argv, int nd, struct timespec period); +int gtkui_loop(void); + +#endif /* GTK_H_INCLUDED */ -- cgit v1.2.3