blue-recorder/src/main.rs
2024-08-07 16:32:56 +02:00
Ask

21 lines
482 B
Rust

{8a64cf1a90068dd8e7f895ea157eb9f761b78ff7 true 482 main.rs 0xc001e00d20}

pub mod area_capture;
pub mod config_management;
pub mod fluent;
pub mod timer;
mod ui;
use libadwaita::Application;
use libadwaita::prelude::{ApplicationExt, ApplicationExtManual};
use ui::run_ui;
#[async_std::main]
async fn main() {
// Init GTK
libadwaita::gtk::init().expect("Failed to initialize GTK.");
// Create new application
let application = Application::new(None, Default::default());
application.connect_activate(run_ui);
application.run();
}