2022-01-20 21:57:15 +03:00
|
|
|
use crate::core::{Clash, Profiles, Verge};
|
2022-01-07 18:29:20 +03:00
|
|
|
use std::sync::{Arc, Mutex};
|
|
|
|
|
|
|
|
#[derive(Default)]
|
2022-01-20 21:57:15 +03:00
|
|
|
pub struct ProfilesState(pub Arc<Mutex<Profiles>>);
|
2022-01-07 18:29:20 +03:00
|
|
|
|
|
|
|
#[derive(Default)]
|
|
|
|
pub struct ClashState(pub Arc<Mutex<Clash>>);
|
|
|
|
|
|
|
|
#[derive(Default)]
|
|
|
|
pub struct VergeState(pub Arc<Mutex<Verge>>);
|