diff options
Diffstat (limited to 'WebInterface/wasm/webhogg/src/app.rs')
-rw-r--r-- | WebInterface/wasm/webhogg/src/app.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/WebInterface/wasm/webhogg/src/app.rs b/WebInterface/wasm/webhogg/src/app.rs deleted file mode 100644 index 7931418..0000000 --- a/WebInterface/wasm/webhogg/src/app.rs +++ /dev/null @@ -1,22 +0,0 @@ -use crate::webhogg_exception::WebhoggException; -use crate::page::Page; -use crate::canvas::Canvas; - -pub(crate) struct WebhoggApplication { - page: Page, - canvas: Canvas, -} - -impl WebhoggApplication { - pub fn new() -> Result<Self, WebhoggException> { - let page = Page::obtain()?; - let canvas = Canvas::from_existing("canvas", &page)?; - Ok(Self { - page, canvas, - }) - } - - pub fn run(self) -> Result<(), WebhoggException> { - Ok(()) - } -} |