aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncu.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-22 10:04:39 +0200
committerMax Kellermann <max@duempel.org>2008-09-22 10:04:39 +0200
commit07632841df4ff1d8fcfac33bd93e06ee43a4498e (patch)
treecadb859c1ae63041fbc774528974283a2b1635bf /src/ncu.h
parentd28a7d463b62412e2d075b834db20baf93dcaeba (diff)
downloadmpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.tar.gz
mpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.tar.xz
mpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.zip
screen: moved code to ncu.c
Moved basic libncurses initialization to ncu.c and ncu.h. Keep generic code out of screen.c.
Diffstat (limited to 'src/ncu.h')
-rw-r--r--src/ncu.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ncu.h b/src/ncu.h
new file mode 100644
index 000000000..0a2ce5edf
--- /dev/null
+++ b/src/ncu.h
@@ -0,0 +1,31 @@
+/* ncmpc
+ * Copyright (C) 2008 Max Kellermann <max@duempel.org>
+ *
+ * This program 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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 General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/*
+ * Basic libnucrses initialization.
+ */
+
+#ifndef NCU_H
+#define NCU_H
+
+void
+ncu_init(void);
+
+void
+ncu_deinit(void);
+
+#endif