summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/src/app.rs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-26 16:09:03 +0200
committernatrixaeria <janng@gmx.de>2019-05-26 16:09:03 +0200
commitfb31751fab32c8b67affd75603084e4f143bc758 (patch)
tree1f4ba292480c00e8935748a59b1c067c0c5126f1 /WebInterface/wasm/asm-paint/src/app.rs
parente2e4f0f698b95ca979e78ac12fa2395635321dd3 (diff)
Add basic project structure
Diffstat (limited to 'WebInterface/wasm/asm-paint/src/app.rs')
-rw-r--r--WebInterface/wasm/asm-paint/src/app.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/WebInterface/wasm/asm-paint/src/app.rs b/WebInterface/wasm/asm-paint/src/app.rs
new file mode 100644
index 0000000..d5d0e45
--- /dev/null
+++ b/WebInterface/wasm/asm-paint/src/app.rs
@@ -0,0 +1,16 @@
+use crate::site::Site;
+
+pub struct App {
+ site: Site,
+}
+
+impl App {
+ pub fn new() -> Option<Self> {
+ Some(Self {
+ site: Site::from_current()?,
+ })
+ }
+
+ pub fn run(&self) {
+ }
+}