aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 01:49:53 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 01:49:53 +0200
commitf0aa88e5c18de0b1e4f5d85dd5c3ae5d9be76bc3 (patch)
treeead2fd90d2a19b39c5e1a7a0942df9be77c02831 /src/command.h
parente54533bd1fad95b149e87918dffca06b0afb5074 (diff)
downloadmpd-f0aa88e5c18de0b1e4f5d85dd5c3ae5d9be76bc3.tar.gz
mpd-f0aa88e5c18de0b1e4f5d85dd5c3ae5d9be76bc3.tar.xz
mpd-f0aa88e5c18de0b1e4f5d85dd5c3ae5d9be76bc3.zip
use the glib main event loop
This big patch replaces our custom main loop with the event based glib main loop. This has several advantages: we can make all the tiny code bits in the main loop independent from each others, we can add additional file descriptors for polling (e.g. the mpdclient socket). We don't need the ncurses timeout() anymore, because glib will poll stdin for us.
Diffstat (limited to '')
-rw-r--r--src/command.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 9e3b8394b..4b20a592c 100644
--- a/src/command.h
+++ b/src/command.h
@@ -100,6 +100,5 @@ int assign_keys(command_t command, int keys[MAX_COMMAND_KEYS]);
int my_wgetch(WINDOW *w);
command_t get_keyboard_command(void);
-command_t get_keyboard_command_with_timeout(int milliseconds);
#endif