mirror of
https://github.com/Dangoware/dmp-core.git
synced 2025-04-19 17:42:56 -05:00
24 lines
441 B
Rust
24 lines
441 B
Rust
//! The [Controller] is the input and output for the entire
|
|
//! player. It manages queues, playback, library access, and
|
|
//! other functions
|
|
|
|
use crate::{
|
|
music_player::Player,
|
|
music_storage::library::Song,
|
|
config::config::Config
|
|
};
|
|
|
|
struct Queue {
|
|
player: Player,
|
|
name: String,
|
|
songs: Vec<Song>,
|
|
}
|
|
|
|
pub struct Controller {
|
|
queues: Vec<Queue>,
|
|
config: Config,
|
|
}
|
|
|
|
impl Controller {
|
|
// more stuff to come
|
|
}
|