From db88777a2f63d7dcd31e5e0442839213784eeb82 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Sun, 6 May 2018 19:01:13 +0300 Subject: server: major refactor with preparations for switchable UIs. --- src/server/curses.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/server/curses.h (limited to 'src/server/curses.h') diff --git a/src/server/curses.h b/src/server/curses.h new file mode 100644 index 0000000..7c63ea5 --- /dev/null +++ b/src/server/curses.h @@ -0,0 +1,29 @@ +/* + * Hot Beverage Companion – desktop application curses 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 CURSES_H_INCLUDED +#define CURSES_H_INCLUDED + +#include + +int curses_init(int nd, struct timespec period); +int curses_loop(void); + +#endif /* CURSES_H_INCLUDED */ -- cgit v1.2.3