This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
donten/src/system/query.rs
2024-12-12 01:07:40 -08:00

31 lines
450 B
Rust

use super::*;
pub struct Query {
pub resp:Option<Sender<Query>>,
pub data:QueryData,
}
impl Query {
pub fn new(resp:Option<Sender<Query>>, data:QueryData) -> Self
{
Self {
resp,
data,
}
}
}
pub enum QueryData {
Notify,
Supervisor(SupervisorQuery),
API,
Audio,
Control,
Input,
Network,
Scene,
Storage,
Video(VideoQuery),
Window(WindowQuery),
}