Code

po: update Chinese translation
[ncmpc.git] / src / ncmpc.h
index bc6c9136a08be15395b82ada5eec47accabc28d2..5f57611f76cb888fac5bb2a5ad877314d11da5bc 100644 (file)
@@ -1,37 +1,32 @@
+/* ncmpc (Ncurses MPD Client)
+ * (c) 2004-2010 The Music Player Daemon Project
+ * Project homepage: http://musicpd.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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
 #ifndef NCMPC_H
 #define NCMPC_H
 
-#ifndef PACKAGE
-#include "config.h"
-#endif
-
-#ifdef DEBUG
-#define D(x) x
-#else
-#define D(x)
-#endif
-
-/* i18n */
-#ifdef ENABLE_NLS
-#include <locale.h>
-#include <libintl.h>
-#include <glib/gi18n.h>
-#else
-#define  _(x) x
-#define N_(x) x
-#endif
-
-/* welcome message time [s] */
-#define SCREEN_WELCOME_TIME 10
-
-/* getch() timeout for non blocking read [ms] */
-#define SCREEN_TIMEOUT 500
-
-/* time in seconds between mpd updates (double) */
-#define MPD_UPDATE_TIME        0.5
+#include "command.h"
 
-/* timout in seconds before trying to reconnect (int) */
-#define MPD_RECONNECT_TIMEOUT  3
+void
+sigstop(void);
 
+void begin_input_event(void);
+void end_input_event(void);
+int do_input_event(command_t cmd);
 
 #endif /* NCMPC_H */