From be0404975291ea8a71bbc6405f6551d234d1c978 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Mon, 27 Dec 2021 13:26:43 -0500 Subject: [PATCH] =?UTF-8?q?Riparu=20problemojn=20por=20la=20konstrua=C4=B5?= =?UTF-8?q?o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gtk/src/elementoj/mod.rs | 2 ++ server/src/main.rs | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gtk/src/elementoj/mod.rs b/gtk/src/elementoj/mod.rs index d358215..461a55d 100644 --- a/gtk/src/elementoj/mod.rs +++ b/gtk/src/elementoj/mod.rs @@ -33,4 +33,6 @@ impl Elemento for RolulPaĝo { fn fenestraĵo(&self) -> gtk::Widget { self.fenestraĵo.clone().upcast::() } + + fn montru(&self) {} } diff --git a/server/src/main.rs b/server/src/main.rs index 1403614..f32cefd 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -21,9 +21,10 @@ fn with_auth( }) } +/* fn gm_routes( auth_ctx: Arc>, -) -> impl Filter + Clone { +) -> impl Filter + Clone { let base_route = with_auth(auth_ctx).and(warp::path("gm")); let character_sheet = { @@ -32,7 +33,9 @@ fn gm_routes( .and(warp::path!("gm" / "character" / String)) .map(|auth: Username, name| format!("name: {} {}", String::from(auth), name)) }; + unimplemented!() } +*/ #[tokio::main] pub async fn main() { @@ -56,7 +59,7 @@ pub async fn main() { .and(warp::path!("player" / "character" / String)) .map(|authentication: String, name: String| format!("name: {}", name)); - let filter = character_sheet.or(send_item).or(send_resource).or(pc_sheet); + let filter = pc_sheet.or(send_item).or(send_resource).or(pc_sheet); let server = warp::serve(filter); server