diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..4f4688e --- /dev/null +++ b/src/main.rs @@ -0,0 +1,19 @@ +use adw::prelude::GtkWindowExt; +use relm4::{ComponentParts, ComponentSender, RelmApp, Component, ComponentController}; + +use bowl::PostComposerModel; + +const APPLICATION_ID: &str = "xyz.vikanezrimaya.kittybox.Bowl"; + +static GLIB_LOGGER: glib::GlibLogger = glib::GlibLogger::new( + glib::GlibLoggerFormat::Plain, + glib::GlibLoggerDomain::CrateTarget, +); + +fn main() { + log::set_logger(&GLIB_LOGGER).unwrap(); + log::set_max_level(log::LevelFilter::Debug); + + let app = RelmApp::new(APPLICATION_ID); + app.run::<PostComposerModel>( () ); +} |