11 lines
326 B
Rust
11 lines
326 B
Rust
use std::sync::Arc;
|
|
|
|
use crate::state_variables::StateVariable;
|
|
use crate::variable_types::StateVarType;
|
|
use once_cell::sync::Lazy;
|
|
|
|
pub static CURRENTTRACKDURATION: Lazy<Arc<StateVariable>> = Lazy::new(|| -> Arc<StateVariable> {
|
|
Arc::new(StateVariable::new(StateVarType::String, "CurrentTrackDuration".to_string()))
|
|
});
|
|
|