Code

2708aac50873b1d3a5539707cc1ec8d804550d12
[ncmpc.git] / src / ncmpc.h
1 #ifndef NCMPC_H
2 #define NCMPC_H
4 #ifndef PACKAGE
5 #include "config.h"
6 #endif
8 #ifdef DEBUG
9 #define D(x) x
10 #else
11 #define D(x)
12 #endif
14 /* i18n */
15 #ifdef HAVE_LOCALE_H
16 #include <locale.h>
17 #endif
18 #ifdef ENABLE_NLS
19 #include <libintl.h>
20 #include <glib/gi18n.h>
21 #else
22 #define  _(x) x
23 #define N_(x) x
24 #endif
26 /* welcome message time [s] */
27 #define SCREEN_WELCOME_TIME 10
29 /* getch() timeout for non blocking read [ms] */
30 #define SCREEN_TIMEOUT 500
32 /* time in seconds between mpd updates (double) */
33 #define MPD_UPDATE_TIME        0.5
35 /* timout in seconds before trying to reconnect (int) */
36 #define MPD_RECONNECT_TIMEOUT  3
39 #endif /* NCMPC_H */