blob: e54b65e16b5c9e46bca781b60f9a6640e57c1f30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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");
}
|