Download kernel/src/apps/mod.rs from Jaswanth-2008/AeroOS: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/Jaswanth-2008/AeroOS/resolve/main/kernel/src/apps/mod.rs
- Command line
-
hf download hf://Jaswanth-2008/AeroOS/kernel/src/apps/mod.rs
-
curl -L -o mod.rs https://huggingface.co/Jaswanth-2008/AeroOS/resolve/main/kernel/src/apps/mod.rs
646 Bytes
| pub mod apt; | |
| pub mod calculator; | |
| pub mod editor; | |
| pub mod file_manager; | |
| pub mod net_manager; | |
| pub mod settings; | |
| pub mod snapstore; | |
| pub mod snake; | |
| pub mod sysinfo; | |
| pub mod terminal; | |
| pub mod wifi_app; | |
| pub enum AppType { | |
| Terminal, | |
| NetManager, | |
| SysInfo, | |
| FileManager, | |
| Calculator, | |
| Editor, | |
| Settings, | |
| Snake, | |
| SnapStore, | |
| WifiManager, | |
| } | |
| static LAUNCH_QUEUE: spin::Mutex<Option<AppType>> = spin::Mutex::new(None); | |
| pub fn queue_app_launch(app: AppType) { | |
| *LAUNCH_QUEUE.lock() = Some(app); | |
| } | |
| pub fn pop_app_launch() -> Option<AppType> { | |
| LAUNCH_QUEUE.lock().take() | |
| } | |