1
0
Fork 0
forked from wry/wry

wire: remove unused user client layer

This commit is contained in:
kossLAN 2026-05-29 18:24:36 -04:00
parent ce03990ea4
commit 5f02f22c8b
No known key found for this signature in database
54 changed files with 11 additions and 3753 deletions

View file

@ -11,33 +11,6 @@ macro_rules! efrom {
};
}
macro_rules! usr_object_base {
($self:ident = $oname:ident = $iname:ident; version = $version:expr;) => {
impl crate::wl_usr::usr_object::UsrObjectBase for $oname {
fn id(&$self) -> crate::object::ObjectId {
$self.id.into()
}
fn version(&$self) -> crate::object::Version {
$version
}
fn handle_event(
$self: std::rc::Rc<Self>,
con: &crate::wl_usr::UsrCon,
event: u32,
parser: crate::utils::buffd::MsgParser<'_, '_>,
) -> Result<(), crate::wl_usr::UsrConError> {
$self.handle_event_impl(con, event, parser)
}
fn interface(&$self) -> crate::object::Interface {
crate::wire::$iname
}
}
};
}
macro_rules! object_base {
($self:ident = $oname:ident; version = $version:expr;) => {
impl crate::object::ObjectBase for $oname {