mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
ime-plugin-api: use platform-neutral ux-api instead of graphics-server
This commit is contained in:
parent
ac673425da
commit
5864d0fbeb
2 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ version = "0.1.0"
|
||||||
|
|
||||||
# Dependency versions enforced by Cargo.lock.
|
# Dependency versions enforced by Cargo.lock.
|
||||||
[dependencies]
|
[dependencies]
|
||||||
graphics-server = { path = "../graphics-server" } # this is used by the IMEF portion of the API
|
ux-api = { path = "../../libs/ux-api" }
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
xous = "0.9.64"
|
xous = "0.9.64"
|
||||||
xous-ipc = "0.10.4"
|
xous-ipc = "0.10.4"
|
||||||
|
|
|
||||||
|
|
@ -263,8 +263,8 @@ pub enum ImefCallback {
|
||||||
|
|
||||||
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize, Clone)]
|
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize, Clone)]
|
||||||
pub struct ImefDescriptor {
|
pub struct ImefDescriptor {
|
||||||
pub input_canvas: Option<graphics_server::Gid>,
|
pub input_canvas: Option<ux_api::service::api::Gid>,
|
||||||
pub prediction_canvas: Option<graphics_server::Gid>,
|
pub prediction_canvas: Option<ux_api::service::api::Gid>,
|
||||||
pub predictor: Option<String>,
|
pub predictor: Option<String>,
|
||||||
pub token: [u32; 4], // token used to lookup our connected app inside the GAM
|
pub token: [u32; 4], // token used to lookup our connected app inside the GAM
|
||||||
pub predictor_token: Option<[u32; 4]>,
|
pub predictor_token: Option<[u32; 4]>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue