diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-01-06 16:25:40 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-02-02 16:48:53 +0100 |
commit | ce8503f859345990a14be90bf89dadf7f73d7613 (patch) | |
tree | 6a2c7b572ba76bdbda3bbe4bff21f484e848f0e5 /src/main.h | |
parent | 58398e4b2a9666a94aacced30453c1fc46b4a2e8 (diff) | |
download | pianobar-ce8503f859345990a14be90bf89dadf7f73d7613.tar.gz pianobar-ce8503f859345990a14be90bf89dadf7f73d7613.tar.bz2 pianobar-ce8503f859345990a14be90bf89dadf7f73d7613.zip |
BarReadline rewrite
Doesn't use c streams any more, allows multiplexing of fifo/stdin in all
situations.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2010 +Copyright (c) 2008-2011 Lars-Dominik Braun <lars@6xq.net> Permission is hereby granted, free of charge, to any person obtaining a copy @@ -27,10 +27,9 @@ THE SOFTWARE. #include <piano.h> #include <waitress.h> -#include <sys/select.h> - #include "player.h" #include "settings.h" +#include "ui_readline.h" typedef struct { PianoHandle_t ph; @@ -42,10 +41,7 @@ typedef struct { PianoSong_t *songHistory; PianoStation_t *curStation; char doQuit; - fd_set readSet; - int maxFd; - int selectFds[2]; - FILE *ctlFd; + BarReadlineFds_t input; } BarApp_t; #endif /* _MAIN_H */ |