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