From: Kalle Wallin Date: Sat, 5 Jun 2004 18:58:37 +0000 (+0000) Subject: git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1347 09075e82-0dd4-0310-85a5-a0d7c8717e4f X-Git-Tag: v0.12_alpha1~550 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=156229d9a0dda8ec38daf689462638eca3c25497;p=ncmpc.git git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1347 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/src/ncmpc.h b/src/ncmpc.h new file mode 100644 index 0000000..bc6c913 --- /dev/null +++ b/src/ncmpc.h @@ -0,0 +1,37 @@ +#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 +#include +#include +#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 */