mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
delete unused module from azalea-chat
This commit is contained in:
parent
63348dbbea
commit
004741b781
1 changed files with 0 additions and 26 deletions
|
@ -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,
|
||||
}
|
Loading…
Add table
Reference in a new issue