Implement (un)saving tracks, albums; (un)following artists

This commit is contained in:
KoffeinFlummi
2019-04-18 15:43:51 +02:00
parent 4c974a83f7
commit 1e58ca9345
9 changed files with 241 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ pub trait ListItem: Sync + Send + 'static {
fn display_right(&self, library: Arc<Library>) -> String;
fn play(&mut self, queue: Arc<Queue>);
fn queue(&mut self, queue: Arc<Queue>);
fn toggle_saved(&mut self, library: Arc<Library>);
}
pub trait ViewExt: View {