pub(crate) mod river_protocols { use wayland_client; // import objects from the core protocol if needed use wayland_client::protocol::{wl_output, wl_seat}; // This module hosts a low-level representation of the protocol objects // you will not need to interact with it yourself, but the code generated // by the generate_client_code! macro will use it // import the interfaces from the core protocol if needed #[allow(non_upper_case_globals)] pub(crate) mod __status { use wayland_client::backend as wayland_backend; use wayland_client::protocol::__interfaces::{ wl_output_interface, wl_seat_interface, WL_OUTPUT_INTERFACE, WL_SEAT_INTERFACE, }; wayland_scanner::generate_interfaces!("./resources/river-status-unstable-v1.xml"); } use self::__status::{ ZRIVER_OUTPUT_STATUS_V1_INTERFACE, ZRIVER_SEAT_STATUS_V1_INTERFACE, ZRIVER_STATUS_MANAGER_V1_INTERFACE, }; // This macro generates the actual types that represent the wayland objects of // your custom protocol wayland_scanner::generate_client_code!("./resources/river-status-unstable-v1.xml"); }