wire: remove unused user client layer
This commit is contained in:
parent
ce03990ea4
commit
5f02f22c8b
54 changed files with 11 additions and 3753 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue