Yoda/src/main.rs

16 lines
254 B
Rust
Raw Normal View History

2024-10-02 02:14:00 +03:00
mod app;
mod profile;
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() {
Ok(_) => App::new(Rc::new(Profile::new())).run(),
Err(_) => ExitCode::FAILURE,
}
2024-09-20 18:02:10 +03:00
}