From 5c0ad5780401fd6b69f9396c4364f062e87b3acc Mon Sep 17 00:00:00 2001 From: pointer-to-bios Date: Tue, 24 Sep 2024 09:30:03 +0000 Subject: [PATCH] add --- src/application.rs | 3 +++ src/lib.rs | 7 +++++++ src/main.rs | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/application.rs create mode 100644 src/lib.rs diff --git a/src/application.rs b/src/application.rs new file mode 100644 index 0000000..b538973 --- /dev/null +++ b/src/application.rs @@ -0,0 +1,3 @@ +pub struct Application { + windows: Window, +} \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..e566fe7 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,7 @@ +pub mod application; + +use application::Application; + +pub fn run() { + let app = Application::new(); +} \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index e7a11a9..283a1fb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,3 @@ fn main() { - println!("Hello, world!"); + crate::run(); }