From c6ba961faa9324512ff811f269319d2b76985d55 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sun, 20 Oct 2024 19:44:47 -0700 Subject: [PATCH] floem, gpui --- src/floem.rs | 7 +++++++ src/gpui.rs | 7 +++++++ src/main.rs | 6 ++++++ 3 files changed, 20 insertions(+) create mode 100644 src/floem.rs create mode 100644 src/gpui.rs diff --git a/src/floem.rs b/src/floem.rs new file mode 100644 index 0000000..77ab7c0 --- /dev/null +++ b/src/floem.rs @@ -0,0 +1,7 @@ +use anyhow::Result; + + +pub(crate) fn main() -> Result<()> { + + Ok(()) +} diff --git a/src/gpui.rs b/src/gpui.rs new file mode 100644 index 0000000..3996052 --- /dev/null +++ b/src/gpui.rs @@ -0,0 +1,7 @@ + +use anyhow::Result; + +pub(crate) fn main() -> Result<()> { + + Ok(()) +} diff --git a/src/main.rs b/src/main.rs index c475e9c..69e882c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +mod floem; +mod gpui; mod iced; use anyhow::{anyhow, Result}; @@ -15,6 +17,8 @@ enum Command { IcedTetris, Egui, Druid, + Gpui, + Floem } fn main() -> Result<()> { @@ -25,6 +29,8 @@ fn main() -> Result<()> { Command::IcedTetris => iced_tetris::tetris_main().map_err(|err| anyhow!(err)), Command::Egui => egui_main(), Command::Druid => druid_main(), + Command::Gpui => gpui::main(), + Command::Floem => floem::main(), } }