blob: 2708aac50873b1d3a5539707cc1ec8d804550d12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#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 HAVE_LOCALE_H
#include <locale.h>
#endif
#ifdef ENABLE_NLS
#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
/* timout in seconds before trying to reconnect (int) */
#define MPD_RECONNECT_TIMEOUT 3
#endif /* NCMPC_H */
|