summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorMichał Cichoń <michcic@gmail.com>2015-08-25 06:47:41 +0200
committerMichał Cichoń <michcic@gmail.com>2015-08-25 06:47:41 +0200
commit4f43140468cefba39573d1efbded5258fcc56c93 (patch)
tree7aa850b6252c1773ba33e9efa985f712709ea5af /src/main.h
parenta3bae55d41f5159df3a0125f02a8fa322e81bbe3 (diff)
downloadpianobar-windows-4f43140468cefba39573d1efbded5258fcc56c93.tar.gz
pianobar-windows-4f43140468cefba39573d1efbded5258fcc56c93.tar.bz2
pianobar-windows-4f43140468cefba39573d1efbded5258fcc56c93.zip
Port pianobar to Windows:
- use newly introduced console.h instead of terminal.h which emulate some behavior of VT terminals - replace ffmpeg/libov player with more abstract one with DirectShow implementation
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.h b/src/main.h
index c8134ae..41413d9 100644
--- a/src/main.h
+++ b/src/main.h
@@ -28,21 +28,21 @@ THE SOFTWARE.
#include <piano.h>
-#include "player.h"
+#include "player2.h"
#include "settings.h"
#include "ui_readline.h"
typedef struct {
PianoHandle_t ph;
CURL *http;
- player_t player;
+ player2_t player;
BarSettings_t settings;
/* first item is current song */
PianoSong_t *playlist;
PianoSong_t *songHistory;
PianoStation_t *curStation;
char doQuit;
- BarReadlineFds_t input;
+ BarReadline_t rl;
unsigned int playerErrors;
} BarApp_t;