#ifndef NCMPC_H #define NCMPC_H #ifndef PACKAGE #include "config.h" #endif #ifdef DEBUG #define D(x, args...) fprintf(stderr, x, ##args) #else #define D(x,...) #endif /* i18n */ #ifdef HAVE_LOCALE_H #include #endif #ifdef ENABLE_NLS #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 /* time in milliseconds before trying to reconnect (int) */ #define MPD_RECONNECT_TIME 1000 /* song format - list window */ #define LIST_FORMAT "%name%|[%artist% - ]%title%|%file%" /* song format - status window */ #define STATUS_FORMAT "[%artist% - ]%title%|%basename%" #endif /* NCMPC_H */