Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
15 lines
592 B
Rust
Vendored
15 lines
592 B
Rust
Vendored
// Copyright 2023 The AccessKit Authors. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0 (found in
|
|
// the LICENSE-APACHE file) or the MIT license (found in
|
|
// the LICENSE-MIT file), at your option.
|
|
|
|
use accesskit_consumer::NodeId;
|
|
use atspi_common::InterfaceSet;
|
|
|
|
use crate::{Adapter, Event};
|
|
|
|
pub trait AdapterCallback {
|
|
fn register_interfaces(&self, adapter: &Adapter, id: NodeId, interfaces: InterfaceSet);
|
|
fn unregister_interfaces(&self, adapter: &Adapter, id: NodeId, interfaces: InterfaceSet);
|
|
fn emit_event(&self, adapter: &Adapter, event: Event);
|
|
}
|