From ce8503f859345990a14be90bf89dadf7f73d7613 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 6 Jan 2011 16:25:40 +0100 Subject: BarReadline rewrite Doesn't use c streams any more, allows multiplexing of fifo/stdin in all situations. --- src/main.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 2ef651c..14d1368 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2010 +Copyright (c) 2008-2011 Lars-Dominik Braun Permission is hereby granted, free of charge, to any person obtaining a copy @@ -27,10 +27,9 @@ THE SOFTWARE. #include #include -#include - #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 */ -- cgit v1.2.3