summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h10
1 files changed, 3 insertions, 7 deletions
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 <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 */