X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fncmpc.h;h=d7d15e2e5781b6750a9c01a204aaaf061de7ca30;hb=844bc26c63e8a0b448a7da6ee89acdcc4585924a;hp=ca4af160df546a3d96be341841b87d4a14987728;hpb=45ff31548dc68c27e1af6fdf37945de97579f5f9;p=ncmpc.git diff --git a/src/ncmpc.h b/src/ncmpc.h index ca4af16..d7d15e2 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -1,26 +1,32 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + #ifndef NCMPC_H #define NCMPC_H -/* welcome message time [s] */ -#define SCREEN_WELCOME_TIME 10 - -/* status message time [s] */ -#define SCREEN_STATUS_MESSAGE_TIME 3 - -/* getch() timeout for non blocking read [ms] */ -#define SCREEN_TIMEOUT 500 - -/* minumum window size */ -#define SCREEN_MIN_COLS 14 -#define SCREEN_MIN_ROWS 5 - -/* time between mpd updates [s] */ -#define MPD_UPDATE_TIME 0.5 - -/* time before trying to reconnect [ms] */ -#define MPD_RECONNECT_TIME 1500 +#include "command.h" void sigstop(void); +void begin_input_event(void); +void end_input_event(void); +int do_input_event(command_t cmd); + #endif /* NCMPC_H */