SimPaM/patient-monitor-simulation/src/main.rs
GABRIEL Sebastian f0267f5493 v0.6.12 — Application icon and desktop metadata
Added the supplied CCCA SVG as a square, scalable application icon. GTK embeds
it for local Cargo launches, and Flatpak assets include a matching desktop
entry and AppStream metadata under `at.criticalcare.SimPaM`. Added a small
Flatpak asset installer and packaging instructions; the physiological
simulation and audio backend are unchanged.
2026-11-13 20:49:07 +01:00

24 lines
651 B
Rust

mod actions;
mod audio_backend;
mod alarm;
mod model;
mod nibp;
mod render;
mod simulation;
mod ui;
use gtk::prelude::*;
fn main() -> gtk::glib::ExitCode {
// GTK finds the icon for Cargo launches without a system-wide install.
gtk::gio::resources_register_include!("simpam.gresource")
.expect("failed to register SimPaM icon resources");
let application = gtk::Application::builder()
.application_id("at.criticalcare.SimPaM")
.build();
application.connect_activate(|app| {
gtk::Window::set_default_icon_name("at.criticalcare.SimPaM");
ui::create_windows(app);
});
application.run()
}