From 004741b78140368e413321bb5a303c47a0c46f2f Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 1 Jul 2025 20:44:09 -0300 Subject: [PATCH] delete unused module from azalea-chat --- azalea-chat/src/events.rs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 azalea-chat/src/events.rs diff --git a/azalea-chat/src/events.rs b/azalea-chat/src/events.rs deleted file mode 100644 index a547169e..00000000 --- a/azalea-chat/src/events.rs +++ /dev/null @@ -1,26 +0,0 @@ -enum ClickAction { - OPEN_URL = Action::new("open_url", true), - OPEN_FILE = Action::new("open_file", false), - RUN_COMMAND = Action::new("run_command", true), - SUGGEST_COMMAND = Action::new("suggest_command", true), - CHANGE_PAGE = Action::new("change_page", true), - COPY_TO_CLIPBOARD = Action::new("copy_to_clipboard", true), -} - -struct ClickAction { - pub name: String, - pub allow_from_server: bool, -} - -impl ClickAction { - fn new(name: &str, allow_from_server: bool) -> Self { - Self { - name: name.to_string(), - allow_from_server, - } - } -} - -struct ClickEvent { - action: ClickAction, -}