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