Make SpricManager cloneable to simplify for clients.

This commit is contained in:
Simon Persson 2016-02-17 20:47:55 +01:00
parent 906241b92e
commit c98ff9bd54

View file

@ -14,6 +14,7 @@ use std::collections::HashMap;
use protocol;
pub use protocol::spirc::{PlayStatus, MessageType};
#[derive(Clone)]
pub struct SpircManager(Arc<Mutex<SpircInternal>>);
struct SpircInternal {