remove obsolete events and callbacks

This commit is contained in:
Henrik Friedrichsen
2019-03-17 22:14:59 +01:00
parent 2d5fa1e67f
commit 9842b89457
6 changed files with 7 additions and 35 deletions

View File

@@ -1,14 +1,11 @@
use crossbeam_channel::{unbounded, Receiver, Sender, TryIter};
use cursive::{CbFunc, Cursive};
use playlists::PlaylistEvent;
use spotify::PlayerEvent;
pub enum Event {
Player(PlayerEvent),
Playlist(PlaylistEvent),
Command(String),
ScreenChange(String),
}
pub type EventSender = Sender<Event>;