Yoda/src/main.rs

17 lines
267 B
Rust
Raw Normal View History

2024-10-02 02:14:00 +03:00
mod app;
mod profile;
2025-01-14 04:53:08 +02:00
mod tool;
2024-09-18 20:33:29 +03:00
2024-10-02 02:14:00 +03:00
use app::App;
use profile::Profile;
use gtk::glib::ExitCode;
use std::rc::Rc;
2024-10-03 19:46:13 +03:00
2024-09-30 02:00:14 +03:00
fn main() -> ExitCode {
match gtk::init() {
2025-01-15 00:25:33 +02:00
Ok(_) => App::build(&Rc::new(Profile::new())).run(),
Err(_) => ExitCode::FAILURE,
}
2024-09-20 18:02:10 +03:00
}